Bug 1396883 - Unable to update the individual `hosts collection` with `content host` through hammer cli
Summary: Unable to update the individual `hosts collection` with `content host` throug...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer - Content
Version: 6.2.3
Hardware: Unspecified
OS: Linux
unspecified
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-21 05:13 UTC by vijsingh
Modified: 2016-11-22 10:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-22 10:42:33 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description vijsingh 2016-11-21 05:13:03 UTC
Description of problem:

Unable to update the individual `hosts collection` with `content host` through 
hammer cli

Version-Release number of selected component (if applicable):

hammer_cli-0.5.1.11-4


How reproducible:

each time.

Steps to Reproduce:

1.Remove all host collections through the GUI and execute below 

 # hammer content-host update --name `hostname` --organization `org_name` --host-collection-ids `2,4`    
     
2.Above command returns with "Content host updated" and if check GUI, all four host collections are attached to `content host`

Actual results:

Command returns with "Content host updated" and if check GUI, all four host collections are attached to `content host`

Expected results:

It should attached to individual `hosts collection` with `content host` instead of all attached.

Additional info:

Comment 1 Swapnil Abnave 2016-11-22 05:33:06 UTC
(In reply to vijsingh from comment #0)
> Description of problem:
> 
> Unable to update the individual `hosts collection` with `content host`
> through 
> hammer cli
> 
> Version-Release number of selected component (if applicable):
> 
> hammer_cli-0.5.1.11-4
> 
> 
> How reproducible:
> 
> each time.
> 
> Steps to Reproduce:
> 
> 1.Remove all host collections through the GUI and execute below 
> 
>  # hammer content-host update --name `hostname` --organization `org_name`
> --host-collection-ids `2,4`    
>      
> 2.Above command returns with "Content host updated" and if check GUI, all
> four host collections are attached to `content host`
> 
> Actual results:
> 
> Command returns with "Content host updated" and if check GUI, all four host
> collections are attached to `content host`
> 
> Expected results:
> 
> It should attached to individual `hosts collection` with `content host`
> instead of all attached.
> 
> Additional info:

Do you have a reproducer for this ?

I think it works as expected in Satellite 6.2.4.

Can you please try to on Satellite 6.2.4 ?

Comment 2 vijsingh 2016-11-22 07:34:45 UTC
Checked with Satellite 6.2.4 and working as expected.

Comment 3 Swapnil Abnave 2016-11-22 10:42:33 UTC
Issue has been fixed on Satellite 6.2.4. Hence closing the BZ ticket.

If this issue has been raised by any customer please suggest to upgrade to Satellite 6.2.4 or greater.


Note You need to log in before you can comment on or make changes to this bug.