Bug 1392760

Summary: "host-collection package install" does not work
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2.4CC: bbuckingham, dhlavacd, inecas, mhulan, tstrachota
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-08 19:38:37 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 Pavel Moravec 2016-11-08 07:42:55 UTC
Description of problem:
trying to install a package to a host collection via hammer:

hammer> host-collection package install --id=1 --packages=sysstat --organization-id=1
Could not schedule installation of package(s):
  Error: The server does not support such operation.
hammer> 


Version-Release number of selected component (if applicable):
Sat6.2.3
tfm-rubygem-hammer_cli-0.5.1.11-4.el7sat.noarch


How reproducible:
100%


Steps to Reproduce:
1. Create a host collection (with id 1) and add some content hosts in it
2. Run:
hammer -u admin -p redhat host-collection package install --id=1 --packages=sysstat --organization-id=1


Actual results:
Could not schedule installation of package(s):
  Error: The server does not support such operation.


Expected results:
Packages installed.


Additional info:
WebUI action for the same works fine.

Comment 1 Brad Buckingham 2016-11-08 19:38:37 UTC

*** This bug has been marked as a duplicate of bug 1372372 ***