Bug 893682 - Update rhevm-config to display additional note when using 3.0 style options to set password values (not just on --help).
Summary: Update rhevm-config to display additional note when using 3.0 style options t...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-config
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.2.0
Assignee: Yaniv Bronhaim
QA Contact: Ilanit Stein
URL:
Whiteboard: infra
Depends On:
Blocks: 917401
TreeView+ depends on / blocked
 
Reported: 2013-01-09 17:10 UTC by Stephen Gordon
Modified: 2016-02-10 19:33 UTC (History)
7 users (show)

Fixed In Version: sf9
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 12153 0 None None None Never

Description Stephen Gordon 2013-01-09 17:10:11 UTC
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).

Comment 1 Yaniv Bronhaim 2013-02-18 11:53:13 UTC
Added the same note when password validation fails as requested above.

Comment 3 Ilanit Stein 2013-03-20 11:43:58 UTC
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').
################################################################################

Comment 4 Itamar Heim 2013-06-11 08:28:07 UTC
3.2 has been released

Comment 5 Itamar Heim 2013-06-11 08:28:12 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 08:31:23 UTC
3.2 has been released


Note You need to log in before you can comment on or make changes to this bug.