| Summary: | Cannot add a host to the realm even if the host isn't available | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Valentin Bajrami <valentin.bajrami> | ||||||
| Component: | ipa | Assignee: | IPA Maintainers <ipa-maint> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | Kaleem <ksiddiqu> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 7.2 | CC: | ksiddiqu, pvoborni, rcritten, valentin.bajrami | ||||||
| Target Milestone: | rc | Flags: | valentin.bajrami:
needinfo-
|
||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-10-31 10:40:54 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Attachments: |
|
||||||||
Created attachment 1215023 [details]
ipa host-add log output
output of ipa host-add. This comes from debug=true in /etc/ipa/ipa.conf
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. clearing needinfo on me |
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