Bug 1098738
Summary: | add content host to host collection - error calling System.readable(org) | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tom McKay <tomckay> |
Component: | WebUI | Assignee: | Walden Raines <walden> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Ales Dujicek <adujicek> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.3 | CC: | adujicek, bbuckingham, cwelton, omaciel |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/5779 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-02 14:06:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tom McKay
2014-05-17 20:33:09 UTC
Created from redmine issue http://projects.theforeman.org/issues/5779 I cannot reproduce this and the code referenced in the trace is no longer present. no issues using API: $ curl -X PUT -u... .../katello/api/v2/host_collections/2/add_systems/ -d "system_ids=ced4206d-8f19-4f5f-acac-734a6161cb9b" {"displayMessages":{"success":["Successfully added 1 Content Host(s)."],"error":[]}} but cannot add host to collection using CLI: # hammer --csv content-host list --organization-id 1 ID,Name ca084bdf-ad39-495e-9a40-793580936b3f,cloud-qe-9.idm.lab.bos.redhat.com ced4206d-8f19-4f5f-acac-734a6161cb9b,intel-s5000phb-01.rhts.eng.bos.redhat.com # hammer host-collection add-content-host --organization-id 1 --id 2 --system-id ca084bdf-ad39-495e-9a40-793580936b3f Could not add content host: Couldn't find Katello::System with id=0 # hammer host-collection add-content-host --organization-id 1 --id 2 --system intel-s5000phb-01.rhts.eng.bos.redhat.com Could not add content host: Error: system found more than once version: Satellite-6.0.3-RHEL-6-20140529.0 (In reply to Ales Dujicek from comment #4) > no issues using API: > > $ curl -X PUT -u... .../katello/api/v2/host_collections/2/add_systems/ -d > "system_ids=ced4206d-8f19-4f5f-acac-734a6161cb9b" > {"displayMessages":{"success":["Successfully added 1 Content > Host(s)."],"error":[]}} > > > but cannot add host to collection using CLI: > > # hammer --csv content-host list --organization-id 1 > ID,Name > ca084bdf-ad39-495e-9a40-793580936b3f,cloud-qe-9.idm.lab.bos.redhat.com > ced4206d-8f19-4f5f-acac-734a6161cb9b,intel-s5000phb-01.rhts.eng.bos.redhat. > com > > # hammer host-collection add-content-host --organization-id 1 --id 2 > --system-id ca084bdf-ad39-495e-9a40-793580936b3f > Could not add content host: > Couldn't find Katello::System with id=0 > > # hammer host-collection add-content-host --organization-id 1 --id 2 > --system intel-s5000phb-01.rhts.eng.bos.redhat.com > Could not add content host: > Error: system found more than once > > > version: Satellite-6.0.3-RHEL-6-20140529.0 The issue mentioned here is not related to this bug. Please open a new bug against the CLI. This bug is fur the Web UI. Web UI works fine, verified. Satellite-6.0.3-RHEL-6-20140604.0 created bz1105547 for CLI This was delivered with 6.0.3, which is the Satellite 6 Beta. |