Bug 1476224
Summary: | Creating SSH Key in User Template functionality missing in hammer CLI | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
Component: | Users & Roles | Assignee: | Martin Bacovsky <mbacovsk> |
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.3.0 | CC: | bbuckingham, dhlavacd, egolov, ehelms, jcallaha, mhulan, sgraessl, tstrachota, zhunting |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | rubygem-hammer_cli_foreman-0.11.0.4 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 17:03:56 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: | 1473944, 1493109 |
Description
Jitendra Yejare
2017-07-28 10:38:33 UTC
Created redmine issue http://projects.theforeman.org/issues/20476 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20476 has been resolved. Failed QA! Satellite 6.3.0 snap 18.0 I don't see any ssh-key option either in: -> hammer user -> hammer user create -> hammer user update -> hammer ssh-key So, failing this bug. Upstream bug assigned to tstrachota Upstream bug assigned to tstrachota Upstream bug assigned to mbacovsk Upstream bug assigned to mbacovsk Upstream bug assigned to mbacovsk Upstream bug assigned to mbacovsk Verified ! @ Satellite 6.3 snap 25 Commands are available to add, delete, info and list the ssh-key: ``` # hammer user ssh-keys --help Usage: hammer user ssh-keys [OPTIONS] SUBCOMMAND [ARG] ... Parameters: SUBCOMMAND subcommand [ARG] ... subcommand arguments Subcommands: add Create an SSH key for a user delete Delete an SSH key for a user info Show an SSH key from a user list List all SSH keys for a user Options: -h, --help print help ``` Each option is tested thoroughly and all works nicely. The only gap I see in CLI compare to UI is, While creating an ssh-key in user UI automatically populates the ssh-key name from ssh-key. But CLI hammer doesn't and asks for name compulsory. It would be nice to drag that functionality from UI to CLI. But anyhow that doesn't block this bug from verification. 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:0336 |