Bug 1443804
Summary: | [RFE] Provide description for Hammer command to disable/enable notifications for a host. | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Amit Kumar Das <amdas> |
Component: | Hosts | Assignee: | Marek Hulan <mhulan> |
Status: | CLOSED ERRATA | QA Contact: | Ales Dujicek <adujicek> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 6.2.8 | CC: | adujicek, bkearney, bmidwood, dhlavacd, egolov, inecas, jcallaha, mhulan, rankumar, tstrachota |
Target Milestone: | 6.4.0 | Keywords: | FutureFeature |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-hammer_cli_foreman-0.13.2-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-10-16 15:27:32 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: | 260381 |
Description
Amit Kumar Das
2017-04-20 01:21:09 UTC
# hammer host update --help Usage: hammer host update [OPTIONS] Options: --id ID --enabled ENABLED One of true/false, yes/no, 1/0. # hammer host list ---|------------------------------------------|------------------|------------|---------------|------------------ ID | NAME | OPERATING SYSTEM | HOST GROUP | IP | MAC ---|------------------------------------------|------------------|------------|---------------|------------------ 8 | xxxxx-client1 | RedHat 7.3 | | 10.xx.yyy.199 | 00:9a:3a:01:00:1x 11 | xxxxx-client2 | RedHat 7.1 | | 10.xx.yyy.122 | 00:9a:3a:01:00:3x 10 | xxxxx-client2 | RedHat 7.1 | | 10.xx.yyy.122 | 00:9a:3a:01:00:3x 1 | xxxxx-sat62 | RedHat 7.3 | | 10.xx.yyy.174 | 00:9a:3a:01:00:2x ---|------------------------------------------|------------------|------------|---------------|------------------ # hammer host update --id 8 --enabled false Host updated # hammer host update --id 8 --enabled true Host updated This work fine for one host. Need to add more details in hammer help that following option is used for enable/disable notification. Options: --id ID --enabled ENABLED One of true/false, yes/no, 1/0. <<<---Used for host notification. Updated description per comment #2. Lowering priority and severity since the option exists, just needs better documentation. Created redmine issue http://projects.theforeman.org/issues/19383 from this bug Upstream bug assigned to mhulan Upstream bug assigned to mhulan Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/19383 has been resolved. Hi - Since upstream issue is resolved, can we set target release or include this in next satellite release (6.2.11)? Please let us know if its achievable. Thanks. 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/RHSA-2018:2927 |