Red Hat Bugzilla – Bug 1260166
Unable to log in as admin and unable to reset admin password after 3.6pre->3.6pre upgrade
Last modified: 2016-02-10 14:34:02 EST
Description of problem:
After upgrading to 3.6pre earlier in the week, I upgraded again and ran engine-setup. Afterward, I was unable to log in using admin@internal user. I tried to run "engine-config -s AdminPassword=interactive", but it doesn't work, saying there's no such entry.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upgrade from 3.5 to 3.6.0-0.0.master.20150819134454.gite6b79a7.el7.centos
2. Upgrade again to 3.6.0-0.0.master.20150901142419.git8df944a.el7.centos.noarch
3. Attempt to log in or set password
Unable to log in, getting message: "Cannot Login. User Password has expired, Please change your password."
"engine-config -s AdminPassword=interactive" returns "Error setting AdminPassword's value. No such entry."
I should be able to log in, and if I wanted to change my password, I should be able to.
FYI: engine-config is not used to set password any more, use ovirt-engine-extension-aaa-jdbc tool to do that.
not sure why the password expired though, leaving this for martin.
could you please attach your setup logs? They are located in /var/log/ovirt-engine/setup.
To fix 'password expired' issue, so you could log in using 'admin@internal', please execute following command:
ovirt-aaa-jdbc-tool user password-reset admin --password-valid-to="<DATE>"
where <DATE> should be future date in the format "yyyy-MM-dd HH:mm:ssX" (more info can be found at ).
Closing as duplicate, because reproduce steps are the same as in BZ1260573
*** This bug has been marked as a duplicate of bug 1260573 ***