RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1672238 - The ipa-replica-install command failed, exception: ValidationError: invalid 'dnszoneidnsname': only master zones can contain records [rhel-7.6.z]
Summary: The ipa-replica-install command failed, exception: ValidationError: invalid '...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.7
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On: 1533228
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-02-04 10:49 UTC by RAD team bot copy to z-stream
Modified: 2022-03-13 16:55 UTC (History)
5 users (show)

Fixed In Version: ipa-4.6.4-10.el7_6.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1533228
Environment:
Last Closed: 2019-03-13 18:45:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7582 0 None None None 2021-12-10 18:33:42 UTC
Red Hat Product Errata RHBA-2019:0508 0 None None None 2019-03-13 18:45:57 UTC

Description RAD team bot copy to z-stream 2019-02-04 10:49:06 UTC
This bug has been copied from bug #1533228 and has been proposed to be backported to 7.6 z-stream (EUS).

Comment 4 Mohammad Rizwan 2019-02-18 09:25:26 UTC
Version:
ipa-server-dns-4.6.4-10.el7_6.3.noarch
ipa-server-4.6.4-10.el7_6.3.x86_64

Steps:
1. Install IPA master and add dnsforward zone
   $ ipa dnsforwardzone-add forward.test --skip-overlap-check --forwarder xx.xx.xx.xx

2. Install ipa-client (on replica.forward.test) with dns zone added in step1
   $ ipa-client-install -U --domain testrelm.test --realm TESTRELM.TEST -p admin -w Secret123 --server master.testrelm.test --hostname replica.forward.test

3. Promote client to be a replica
   $ ipa-replica-install --principal admin --admin-password Secret123 --setup-dns --forwarder xx.xx.xx.xx -U

Actual result:

On master:
[root@master ~]# ipa dnsforwardzone-add forward.test --skip-overlap-check --forwarder xx.xx.xx.xx 
Server will check DNS forwarder(s).
This may take some time, please wait ...
ipa: WARNING: DNS server xx.xx.xx.xx: query 'forward.test. SOA': The DNS query name does not exist: forward.test..
  Zone name: forward.test.
  Active zone: TRUE
  Zone forwarders: xx.xx.xx.xx
  Forward policy: first

On replica:

[root@replica ~]# ipa-client-install -U --domain testrelm.test --realm TESTRELM.TEST -p admin -w Secret123 --server master.testrelm.test --hostname replica.forward.test
WARNING: ntpd time&date synchronization service will not be configured as
conflicting service (chronyd) is enabled
Use --force-ntpd option to disable it and force configuration of ntpd

Client hostname: replica.forward.test
Realm: TESTRELM.TEST
DNS Domain: testrelm.test
IPA Server: master.testrelm.test
BaseDN: dc=testrelm,dc=test

[..]
Configuring testrelm.test as NIS domain.
Client configuration complete.
The ipa-client-install command was successful

[root@replica ~]# ipa-replica-install --principal admin --admin-password Secret123 --setup-dns --forwarder xx.xx.xx.xx -U
WARNING: conflicting time&date synchronization service 'chronyd' will
be disabled in favor of ntpd

Checking DNS forwarders, please wait ...
Run connection check to master
Connection check OK
Configuring NTP daemon (ntpd)
  [1/4]: stopping ntpd
  [2/4]: writing configuration
  [3/4]: configuring ntpd to start on boot
  [4/4]: starting ntpd
Done configuring NTP daemon (ntpd).

[..]

Done configuring DNS key synchronization service (ipa-dnskeysyncd).
Restarting ipa-dnskeysyncd
Restarting named
Updating DNS system records

Global DNS configuration in LDAP server is empty
You can use 'dnsconfig-mod' command to set global DNS options that
would override settings in local named.conf files


Replica installation succeed. Based on above observation, marking the bug verified.

Comment 8 errata-xmlrpc 2019-03-13 18:45:54 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:0508


Note You need to log in before you can comment on or make changes to this bug.