#5278 realmdomains-mod --add-domain command throwing error when domain already is in forwardzone.
Closed: Fixed None Opened 8 years ago by pvoborni.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1258626

Description of problem:
realmdomains-mod --add-domain command throwing error when doamin already is in
forwardzone

Version-Release number of selected component (if applicable):
ipa-server-4.2.0-8.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.On IPA server, add conditional forwarder for domain.
2.try to add a domain to the list of IPA realmdomains (domain should already
setup as forwardzone)

Actual results:
ipa: ERROR: no modifications to be performed
and
ipa: ERROR: invalid 'dnszoneidnsname': only master zones can contain records
(after remove it and re-add it)


Additional info:
root@master72 ~]# ipa realmdomains-mod --add-domain=adlabs.com
ipa: ERROR: no modifications to be performed

[root@master72 ~]# ipa realmdomains-show
Domain: adlabs.com, ipa.adlabs.com

[root@master72 ~]# ipa realmdomains-mod --del-domain=adlabs.com
ipa: ERROR: invalid 'dnszoneidnsname': only master zones can contain records

[root@master72 ~]# ipa realmdomains-show
  Domain: ipa.adlabs.com

[root@master72 ~]# ipa realmdomains-mod --add-domain=adlabs.com
ipa: ERROR: invalid 'dnszoneidnsname': only master zones can contain records

[root@master72 ~]# ipa realmdomains-show
  Domain: adlabs.com, ipa.adlabs.com

Patches are on the list since September the 3rd.

FreeIPA 4.2.2 was released. Moving to next bug-fixing milestone.

master:

  • 4ceae03 util: Add detect_dns_zone_realm_type helper
  • fc6e1f0 realmdomains: Minor style and wording improvements
  • 6a2f47a realmdomains: Add validation that realmdomain being added is indeed from our realm
  • 1e1d6d1 realmdomains: Issue a warning when automated management of realmdomains failed
  • dae9c6c realmdomains: Do not fail due the ValidationError when adding _kerberos TXT record
  • 12840e0 tests: Amend result assertions in realmdomains tests

ipa-4-2:

  • 6248ae2 util: Add detect_dns_zone_realm_type helper
  • a593abd realmdomains: Minor style and wording improvements
  • 3bcd894 realmdomains: Add validation that realmdomain being added is indeed from our realm
  • 01a75c6 realmdomains: Issue a warning when automated management of realmdomains failed
  • 31e7a7e realmdomains: Do not fail due the ValidationError when adding _kerberos TXT record
  • 291aa25 tests: Amend result assertions in realmdomains tests

Metadata Update from @pvoborni:
- Issue assigned to tbabej
- Issue set to the milestone: FreeIPA 4.2.3

7 years ago

Login to comment on this ticket.

Metadata