Bug 1372372
Summary: | hammer host collection package/erratum subcommands are broken | |||
---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Andrii Balakhtar <abalakht> | |
Component: | Host Collections | Assignee: | Andrew Kofink <akofink> | |
Status: | CLOSED ERRATA | QA Contact: | Andrii Balakhtar <abalakht> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 6.2.0 | CC: | akofink, bbuckingham, bkearney, dlezzoum, ehelms, ktordeur, mmccune, nshaik, pmoravec, rankumar, rochacbruno, swadeley, wpinheir | |
Target Milestone: | Unspecified | Keywords: | Triaged | |
Target Release: | Unused | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | rubygem-katello-3.0.0.98-1 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1417115 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-06 08:44:46 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1377245, 1417115 |
Description
Andrii Balakhtar
2016-09-01 14:09:51 UTC
Upstream bug component is Host Collections Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15978 has been resolved. *** Bug 1376355 has been marked as a duplicate of this bug. *** *** Bug 1383985 has been marked as a duplicate of this bug. *** FAILEDQA on Sat 6.3.0 Snap 4 Commands were added, --help returns valid information and even validation like missing org/errata ids are working. However, if you try to use the commands they're still broken: hammer> host-collection erratum install --help Usage: host-collection erratum install [OPTIONS] Options: --errata ERRATA List of Errata to install Comma separated list of values. --id ID Id of the host collection --name NAME Host collection name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by -h, --help print help hammer> host-collection erratum install --id 1 --errata RHEA-2012:0055 Could not schedule installation of errata: Error: The server does not support such operation. hammer> host-collection package install --help Usage: host-collection package install [OPTIONS] Options: --id ID Id of the host collection --name NAME Host collection name to search by --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID organization ID --organization-label ORGANIZATION_LABEL Organization label to search by --packages PACKAGES comma-separated list of packages to install Comma separated list of values. -h, --help print help hammer> host-collection package install --id 1 --packages walrus-5.21-1.noarch Could not schedule installation of package(s): Error: The server does not support such operation. *** Bug 1392760 has been marked as a duplicate of this bug. *** *** Bug 1395698 has been marked as a duplicate of this bug. *** *** Bug 1405434 has been marked as a duplicate of this bug. *** *** Bug 1405428 has been marked as a duplicate of this bug. *** Verified on Sat 6.2.8 Snap3 Executed following commands: hammer> host-collection package install --id 9 --organization-id 128 --packages bear Successfully scheduled installation of package(s) hammer> host-collection erratum install --errata RHBA-2016:1503 --id 9 --organization-id 128 Successfully scheduled installation of errata hammer> host-collection package-group install --id 9 --organization-id 128 --package-groups birds Successfully scheduled installation of package-group(s) hammer> host-collection package-group remove --id 9 --organization-id 128 --package-groups birds Successfully scheduled removal of package-groups(s) And i'm able to see all the packages/package groups/errata installed/removed in all the hosts inside host-collection. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2017:0446 |