Bug #9669
need way to attach a subscription to a content host w/ hammer
Fixed in Releases:
Found in Releases:
Description
hammer subscription attach --content-host-id $id --subscription-id $id -or- hammer content-host subscription --attach --subscription-id $id
Although subscriptions are normally added to content hosts by running subscription-manager directly on the host itself, there are cases where being able to do it via scripting w/ hammer is better.
This would move towards parity between hammer and the UI
Related issues
Associated revisions
History
#1
Updated by Thomas McKay almost 6 years ago
- Bugzilla link set to 1199515
#2
Updated by Eric Helms almost 6 years ago
- Category set to Hammer
- Legacy Backlogs Release (now unused) set to 31
- Triaged changed from No to Yes
#3
Updated by Eric Helms over 5 years ago
- Legacy Backlogs Release (now unused) changed from 31 to 70
#4
Updated by Thomas McKay over 5 years ago
- Status changed from New to Assigned
- Assignee set to Thomas McKay
#5
Updated by The Foreman Bot over 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5323 added
- Pull request deleted (
)
#6
Updated by Eric Helms about 5 years ago
- Legacy Backlogs Release (now unused) changed from 70 to 86
#7
Updated by Eric Helms almost 5 years ago
- Legacy Backlogs Release (now unused) changed from 86 to 114
#8
Updated by Partha Aji over 4 years ago
- Blocked by Bug #16001: need way to attach a subscription to a content host - controller changes added
#9
Updated by The Foreman Bot over 4 years ago
- Legacy Backlogs Release (now unused) deleted (
114) - Pull request https://github.com/Katello/hammer-cli-katello/pull/437 added
#10
Updated by Partha Aji over 4 years ago
- Assignee changed from Thomas McKay to Partha Aji
- Pull request deleted (
https://github.com/Katello/katello/pull/5323)
#11
Updated by Anonymous over 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|14c967686b5ef466cd9f30f180cacd7db56507a5.
#12
Updated by Justin Sherrill over 4 years ago
- Legacy Backlogs Release (now unused) set to 162
- Difficulty set to medium
Fixes #9669 - Attach/Remove sub actions for host (#437)
This commit adds functionality for the following calls
hammer host subscription attach --subscription-id=1000 --quantity=333
--host-id=1000
hammer host subscription remove --subscription-id=1000 --host-id=1000
hammer host subscription auto-attach --host-id=1000