| Summary: | Unable to update content hosts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | jcallaha | ||||
| Component: | Hammer | Assignee: | Justin Sherrill <jsherril> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | jcallaha | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.2.0 | CC: | bbuckingham, bkearney | ||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||
| Target Release: | Unused | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2016-08-04 14:33:07 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: |
|
||||||
Not able to reproduce on the beta. [root@satellite ~]# hammer content-host update --name=web9.satlab.com --lifecycle-environment=Library --organization='Summit 2016' --release-ver=7.0 Content host updated Verified in Satellite 6.2 GA. [root@ibm-x3550m3-10 os]# hammer content-host info --id 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 --organization-id 1 Name: test1.lab.eng.brq.redhat.com ID: 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 Katello Agent Installed: yes Location: None Lifecycle Environment: Library Content View: rhel7 Entitlement Status: valid Release Version: Autoheal: true Security Errata: 0 Bugfix Errata: 0 Enhancement Errata: 0 [root@ibm-x3550m3-10 os]# hammer content-host update --release-ver 1.0 --id 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 --organization-id 1 Content host updated [root@ibm-x3550m3-10 os]# hammer content-host info --id 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 --organization-id 1 Name: test1.lab.eng.brq.redhat.com ID: 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 Katello Agent Installed: yes Location: None Lifecycle Environment: Library Content View: rhel7 Entitlement Status: valid Release Version: 1.0 Autoheal: true Security Errata: 0 Bugfix Errata: 0 Enhancement Errata: 0 [root@ibm-x3550m3-10 os]# hammer content-host update --release-ver 2.0 --name test1.lab.eng.brq.redhat.com --organization-id 1 Content host updated [root@ibm-x3550m3-10 os]# hammer content-host info --id 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 --organization-id 1 Name: test1.lab.eng.brq.redhat.com ID: 9e26b79f-9e37-44ec-8ba1-74a43f7379a6 Katello Agent Installed: yes Location: None Lifecycle Environment: Library Content View: rhel7 Entitlement Status: valid Release Version: 2.0 Autoheal: true Security Errata: 0 Bugfix Errata: 0 Enhancement Errata: 0 This was delivered with Satellite 6.2 which was released on 27 July, 2016. |
Created attachment 1137397 [details] scenario Description of problem: When attempting to update a content-host I am given an error stating: Could not update content host: Missing values for system. However, both a content host name and id were passed in separate requests. Version-Release number of selected component (if applicable): Satellite 6.2 Beta Snap 4 How reproducible: Always Steps to Reproduce: 1. Register a content host 2. Attempt to update the content host, referring to it by id or name 3. View results Actual results: An error is returned stating Could not update content host: Missing values for system. Expected results: The content host is updated appropriately. Alternatively, a more appropriate error is returned. Additional info: As you can see in the help output, nothing refers to "system". Maybe instead of "system" refer to something more specific to expected parameters.