Archive

Archive for April, 2014

oVirt: reset/change admin password

April 22nd, 2014 Comments off

UPDATE:
Starting with oVirt 3.6 there is a new method to change the passworf for user ‘admin’:

ovirt-aaa-jdbc-tool user password-reset admin –password-valid-to=’yyyy-MM-dd hh:mm:ssZ’


ORIGINAL POST:
In oVirt it is possible to change the password for user ‘admin’ from the command line:

# engine-config -s AdminPassword=interactive
Please enter a password:
Please reenter password:

Side note: Reasons for a password reset

Changes to oVirt CA may force you to reset the password. In this case your engine.log may contain messages like the following:

Failed to decrypt value for property LocalAdminPassword will be used encrypted value: javax.crypto.BadPaddingException: Decryption error

A similar error will be shown on the command line:

# engine-config -g AdminPassword
AdminPassword: Failed to decrypt the current value.
Failed to decrypt the current value.

The most simple fix is to reset the password in that case.

Categories: [EN] Tech Tags: , ,

oVirt: Change default console to NoVNC

April 14th, 2014 Comments off

If running with default configuration, oVirt uses a native VNC client:

# engine-config -g ClientModeVncDefault
ClientModeVncDefault: Native version: general

Change this setting to always use the NoVNC client:

# engine-config -s ClientModeVncDefault=NoVnc

You need to restart the ovirt-engine service for this change to take effect.

Categories: [EN] Snippets Tags: , ,
css.php