#5563 unattended ipa-replica-prepare is broken
Closed: Fixed Opened by ofayans.

When a master has the reverse zone for future replica, the replica preparation interactively asks for reverse zone configuration:

$ sudo ipa-replica-prepare -p <password> --ip-address 192.168.122.70  replica1.justfor.test
Do you want to configure the reverse zone? [yes]: yes

But if I explicitly provide the (existing) reverse zone via --reverse-zone=, the replica preparation fails:

$ sudo ipa-replica-prepare -p <password> --ip-address 192.168.122.70 --reverse-zone=122.168.192.in-addr.arpa. replica1.justfor.test
Values instance has no attribute 'allow_zone_overlap'

master:

  • f05bea5a12da1db6628d84dab6c99c6610c433d8 ipa-replica-prepare: Add '--auto-reverse' and '--allow-zone-overlap' options
  • da1b119663daa8a24d68b799cb97552924beac4b installer: Change reverse zones question to better reflect reality.
  • bc6543efae9bb1bf7c5e792e30b1ea396607f57e Fix: Use unattended parameter instead of options.unattended

ipa-4-3:

  • 9b02f86dc3fad75fa3b353b2a6c0a20c19cbc2ae ipa-replica-prepare: Add '--auto-reverse' and '--allow-zone-overlap' options
  • bad5c2b185b42b013db2a7c267a1ff471930ae85 installer: Change reverse zones question to better reflect reality.
  • 5e2abd332b1292504dcdcd41972db888eff7296c Fix: Use unattended parameter instead of options.unattended

Metadata Update from @ofayans:
- Issue assigned to dkupka
- Issue set to the milestone: FreeIPA 4.3.1

Metadata