Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionValentin Bajrami
2016-10-28 15:37:49 UTC
Created attachment 1215022[details]
ipa host-del log output
Description of problem:
Unable to add or remove a host to the realm using ipa host-add.
Version-Release number of selected component (if applicable):
ipa-client-4.2.0-15.sl7_2.19.x86_64
sssd-ipa-1.13.0-40.el7_2.12.x86_64
ipa-admintools-4.2.0-15.sl7_2.19.x86_64
ipa-python-4.2.0-15.sl7_2.19.x86_64
ipa-server-dns-4.2.0-15.sl7_2.19.x86_64
python-libipa_hbac-1.13.0-40.el7_2.12.x86_64
ipa-server-4.2.0-15.sl7_2.19.x86_64
libipa_hbac-1.13.0-40.el7_2.12.x86_64
389-ds-base-libs-1.3.4.0-33.el7_2.x86_64
389-ds-base-debuginfo-1.3.4.0-33.el7_2.x86_64
389-ds-base-1.3.4.0-33.el7_2.x86_64
How reproducible:
This is reproducible using:
ipa host-add campbell.intra.domain.tld --ip-address=10.0.6.179
Using --force or --no-reverse doesn't change anything
Actual results:
root# ipa host-add campbell.intra.domain.tld --ip-address=10.0.6.179
ipa: ERROR: IP address 10.0.6.179 is already assigned in domain intra.astro.rug.nl..
root# ipa host-del campbell.intra.astro.rug.nl
ipa: ERROR: campbell.intra.astro.rug.nl: host not found
root# ipa host-find campbell
---------------
0 hosts matched
---------------
----------------------------
Number of entries returned 0
Expected results:
root# ipa host-find fischer
--------------
1 host matched
--------------
Host name: fischer.intra.domain.tld
Location: 186
Principal name: host/fischer.intra.domain.tld.TLD
Password: False
Member of HBAC rule: allow_all
Keytab: True
Managed by: fischer.intra.domain.tld
SSH public key fingerprint: 12:6C:63:27:49:45:34:12:D8:17:42:90:29:37:BD:BD (ssh-rsa), A1:74:FF:12:FE:11:6B:A7:1C:FA:FF:DA:B4:32:BB:F6 (ssh-ed25519),
D1:A8:51:52:22:AD:36:FD:28:BE:BF:26:2A:26:86:29 (ecdsa-sha2-nistp256)
----------------------------
Number of entries returned 1
Additional info:
See attachment
It seems to be working properly to me.
You tried to add a host with a duplicate IP and the add was rejected.
When you tried to delete it, it wasn't there because it was never created.
What you need to do is find the host with IP 10.0.6.179.
Hi Rob,
My apologies. It seems that the host was not removed entirely from the DNS Zone record. It's such a pity that the '--updatedns' is broken in 4.2.x which is constantly causing problems.
Thank you for your reply. It made me have another check on the dns zones.
As far as I'm concerned, the status of this bug-report can be changed and marked as not being a bug.
Created attachment 1215022 [details] ipa host-del log output Description of problem: Unable to add or remove a host to the realm using ipa host-add. Version-Release number of selected component (if applicable): ipa-client-4.2.0-15.sl7_2.19.x86_64 sssd-ipa-1.13.0-40.el7_2.12.x86_64 ipa-admintools-4.2.0-15.sl7_2.19.x86_64 ipa-python-4.2.0-15.sl7_2.19.x86_64 ipa-server-dns-4.2.0-15.sl7_2.19.x86_64 python-libipa_hbac-1.13.0-40.el7_2.12.x86_64 ipa-server-4.2.0-15.sl7_2.19.x86_64 libipa_hbac-1.13.0-40.el7_2.12.x86_64 389-ds-base-libs-1.3.4.0-33.el7_2.x86_64 389-ds-base-debuginfo-1.3.4.0-33.el7_2.x86_64 389-ds-base-1.3.4.0-33.el7_2.x86_64 How reproducible: This is reproducible using: ipa host-add campbell.intra.domain.tld --ip-address=10.0.6.179 Using --force or --no-reverse doesn't change anything Actual results: root# ipa host-add campbell.intra.domain.tld --ip-address=10.0.6.179 ipa: ERROR: IP address 10.0.6.179 is already assigned in domain intra.astro.rug.nl.. root# ipa host-del campbell.intra.astro.rug.nl ipa: ERROR: campbell.intra.astro.rug.nl: host not found root# ipa host-find campbell --------------- 0 hosts matched --------------- ---------------------------- Number of entries returned 0 Expected results: root# ipa host-find fischer -------------- 1 host matched -------------- Host name: fischer.intra.domain.tld Location: 186 Principal name: host/fischer.intra.domain.tld.TLD Password: False Member of HBAC rule: allow_all Keytab: True Managed by: fischer.intra.domain.tld SSH public key fingerprint: 12:6C:63:27:49:45:34:12:D8:17:42:90:29:37:BD:BD (ssh-rsa), A1:74:FF:12:FE:11:6B:A7:1C:FA:FF:DA:B4:32:BB:F6 (ssh-ed25519), D1:A8:51:52:22:AD:36:FD:28:BE:BF:26:2A:26:86:29 (ecdsa-sha2-nistp256) ---------------------------- Number of entries returned 1 Additional info: See attachment