Bug 893682
| Summary: | Update rhevm-config to display additional note when using 3.0 style options to set password values (not just on --help). | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Stephen Gordon <sgordon> |
| Component: | ovirt-engine-config | Assignee: | Yaniv Bronhaim <ybronhei> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ilanit Stein <istein> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.2.0 | CC: | dyasny, iheim, oramraz, Rhev-m-bugs, sgrinber, ykaul, yzaslavs |
| Target Milestone: | --- | ||
| Target Release: | 3.2.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | sf9 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 917401 | ||
Added the same note when password validation fails as requested above. Verified on sf-10: [root@istein-32 ovirt-engine]# rhevm-config -s AdminPassword=myPassword Cannot set value myPassword to key AdminPassword. ### Notes: ### 1. Passwords: password can be set in interactive mode ie: ### engine-config -s AdminPassword=interactive ### or via file with one of the following options: ### engine-config -s AdminPassword --admin-pass-file=/tmp/mypass ### engine-config -s AdminPassword=/tmp/mypass ### 2. In order for your change(s) to take effect, ### restart the oVirt engine service (using: 'service ovirt-engine restart'). ################################################################################ 3.2 has been released 3.2 has been released 3.2 has been released |
Description of problem: The rhevm-config utility no longer accepts passwords provided via the command line as it did in 3.0 (good): $ rhevm-config -s AdminPassword=mysecretpassword 'mysecretpassword' is not a valid value for type Password. Users who read rhevm-config --help or the Admin Guide will discover the supported usage: ### Notes: ### 1. Passwords: password can be set in interacetive mode ie: ### engine-config -s PasswordEntry=interactive ### or via file with one of the following options: ### engine-config -s PasswordEntry --admin-pass-file=/tmp/mypass ### engine-config -s PasswordEntry=/tmp/mypass ### 2. In order for your change(s) to take effect, ### restart the oVirt engine service (using: 'service ovirt-engine restart'). ################################################################################ I think it would be more useful/helpful if the first note in particular were displayed if when setting a value of type password the user supplies anything other than one of the supported options (interactive, path, path combined with --admin-pass-file).