Bug 1392760 - "host-collection package install" does not work
Summary: "host-collection package install" does not work
Keywords:
Status: CLOSED DUPLICATE of bug 1372372
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.2.4
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-08 07:42 UTC by Pavel Moravec
Modified: 2016-11-08 19:38 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-08 19:38:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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