Bug 1335559
Summary: | hammer host-collection add-host/remove-host always return success | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Andrew Kofink <akofink> |
Component: | Hammer - Content | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Bruno Rocha <rochacbruno> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.2.0 | CC: | bbuckingham, bkearney, ehelms, jcallaha, mmccune, rochacbruno, tstrachota |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/15291 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:46:23 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: | |
Embargoed: |
Description
Andrew Kofink
2016-05-12 13:47:38 UTC
Created redmine issue http://projects.theforeman.org/issues/15291 from this bug Moving to POST since upstream bug http://projects.theforeman.org/issues/15291 has been closed Verified in: Conclusion: Still failing [root@ibm-x3550m3-09 ~]# hammer -u admin host-collection add-host --id 1 --host-ids 2354,34,899090,666 The host(s) has been added I can put any id in host ids even invalid values as [root@ibm-x3550m3-09 ~]# hammer -u admin -p changeme host-collection add-host --id 1 --host-ids 0 The host(s) has been added also accepts strings [root@ibm-x3550m3-09 ~]# hammer -u admin -p changeme host-collection add-host --id 1 --host-ids banana,ironmaiden,pythonrocks,thisisnotanid The host(s) has been added version: satellite-6.3.0-6.1.beta.el7sat.noarch - RHEL7 Upstream bug component is Hammer - Content Problem still exists in 6.2.10 [root@cloud-qe-09 ~]# hammer -u admin -p changeme host-collection add-host --id 1 --host-ids banana,ironmaiden,pythonrocks,thisisnotanid The host(s) has been added [root@cloud-qe-09 ~]# rpm -q satellite satellite-6.2.10-1.0.el7sat.noarch Problem still happening on 6.3 compose 16 [root@cloud-qe-15 ~]# rpm -q satellite satellite-6.3.0-18.0.beta.el7sat.noarch [root@cloud-qe-15 ~]# hammer -u admin -p changeme host-collection add-host --id 1 --host-ids CeciNestPasUneID The host(s) has been added [root@cloud-qe-15 ~]# hammer host-collection add-host --id 1 --host-ids 2354,34 The host(s) has been added [root@cloud-qe-15 ~]# hammer host-collection remove-host --id 1 --host-ids 2354,34 The host(s) has been removed [root@cloud-qe-15 ~]# hammer host-collection remove-host --id 1 --host-ids CeciNestPasUneID The host(s) has been removed [root@cloud-qe-19 ~]# rpm -q satellite satellite-6.3.0-21.0.beta.el7sat.noarch [root@cloud-qe-19 ~]# hammer host-collection add-host --id 1 --host-ids 2354,34 Could not add host(s) Host with ID 2354 not found. Host with ID 34 not found. [root@cloud-qe-19 ~]# hammer -u admin -p changeme host-collection add-host --id 1 --host-ids CeciNestPasUneID Could not add host(s) Host with ID 0 not found. [root@cloud-qe-19 ~]# hammer host-collection remove-host --id 1 --host-ids CeciNestPasUneID Could not remove host(s) Host with ID 0 not found. 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/RHSA-2018:0336 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/RHSA-2018:0336 |