
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.

Hi, could you please share the log produced by engine-setup after a rebase? Thanks Martin Perina ----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:41:38 AM Subject: [ovirt-devel] Login issue on master
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication profile 'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky <vered@redhat.com> wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.

Please share complete engine.log and server.log. ----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication profile 'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication profile 'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive to create new password, restart the engine and try..

----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" <ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore. If you want to change you admin@internal password, please do following: 1. Run ovirt-engine-crypto-tool to encode new password: ${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode --password=interactive: 2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password 3. Restart the engine
to create new password, restart the engine and try..

----- Original Message -----
From: "Martin Perina" <mperina@redhat.com> To: "Omer Frenkel" <ofrenkel@redhat.com> Cc: "Oved Ourfali" <ovedo@redhat.com>, "Vered Volansky" <vered@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 9:35:08 AM Subject: Re: [ovirt-devel] Login issue on master
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" <ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore. If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode --password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
$ PREFIX/bin/engine-setup --otopi-environment="OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD" will set your password in simpler manner.
to create new password, restart the engine and try..
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

I did what Alon suggested, replaced only MY_PASSWORD. engine setup was ok, but I still get the same error on login. On Wed, Aug 12, 2015 at 9:46 AM, Alon Bar-Lev <alonbl@redhat.com> wrote:
----- Original Message -----
From: "Martin Perina" <mperina@redhat.com> To: "Omer Frenkel" <ofrenkel@redhat.com> Cc: "Oved Ourfali" <ovedo@redhat.com>, "Vered Volansky" < vered@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 9:35:08 AM Subject: Re: [ovirt-devel] Login issue on master
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore. If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode --password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
$ PREFIX/bin/engine-setup --otopi-environment="OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD"
will set your password in simpler manner.
to create new password, restart the engine and try..
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

new setup log attached. On Wed, Aug 12, 2015 at 9:57 AM, Vered Volansky <vered@redhat.com> wrote:
I did what Alon suggested, replaced only MY_PASSWORD. engine setup was ok, but I still get the same error on login.
On Wed, Aug 12, 2015 at 9:46 AM, Alon Bar-Lev <alonbl@redhat.com> wrote:
From: "Martin Perina" <mperina@redhat.com> To: "Omer Frenkel" <ofrenkel@redhat.com> Cc: "Oved Ourfali" <ovedo@redhat.com>, "Vered Volansky" < vered@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 9:35:08 AM Subject: Re: [ovirt-devel] Login issue on master
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message ----- > From: "Vered Volansky" <vered@redhat.com> > To: devel@ovirt.org > Sent: Wednesday, August 12, 2015 8:48:00 AM > Subject: Re: [ovirt-devel] Login issue on master > > engine: > 2015-08-12 08:12:41,129 INFO > [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] > (default task-28) [] Can't login user 'admin' with
authentication
profile
> 'internal' because the authentication failed. > 2015-08-12 08:12:41,146 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > ID: -1, Message: User admin cannot login, please verify the username and > password. > 2015-08-12 08:12:41,154 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > ID: -1, Message: User admin@internal failed to log in. > 2015-08-12 08:12:41,154 WARN > [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] > CanDoAction of action 'LoginAdminUser' failed for user > admin@internal. > Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD > > > > > On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote: > > > > Can't login to engine after rebase and schema-dev execution. > Can't investigate more at the moment, just a heads up. > > > _______________________________________________ > Devel mailing list > Devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/devel _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved
(that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore. If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh
----- Original Message ----- password pbe-encode
--password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
$ PREFIX/bin/engine-setup --otopi-environment="OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD"
will set your password in simpler manner.
to create new password, restart the engine and try..
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

People, please DO NOT try to upgrade database not via engine-setup. Any manual changes of database will cause your system to be invalid, in this case the setup will not be able to upgrade between configuration admin user to new. Also, please remember to make install-dev= so that you have synced PREFIX with whatever version you are working on. In this case the PREFIX is out of date. ----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "Martin Perina" <mperina@redhat.com>, "Omer Frenkel" <ofrenkel@redhat.com>, "Oved Ourfali" <ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 10:25:17 AM Subject: Re: [ovirt-devel] Login issue on master
new setup log attached.
On Wed, Aug 12, 2015 at 9:57 AM, Vered Volansky <vered@redhat.com> wrote:
I did what Alon suggested, replaced only MY_PASSWORD. engine setup was ok, but I still get the same error on login.
On Wed, Aug 12, 2015 at 9:46 AM, Alon Bar-Lev <alonbl@redhat.com> wrote:
From: "Martin Perina" <mperina@redhat.com> To: "Omer Frenkel" <ofrenkel@redhat.com> Cc: "Oved Ourfali" <ovedo@redhat.com>, "Vered Volansky" < vered@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 9:35:08 AM Subject: Re: [ovirt-devel] Login issue on master
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message ----- > From: "Oved Ourfali" <ovedo@redhat.com> > To: "Vered Volansky" <vered@redhat.com> > Cc: devel@ovirt.org > Sent: Wednesday, August 12, 2015 7:51:14 AM > Subject: Re: [ovirt-devel] Login issue on master > > Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
> > ----- Original Message ----- > > From: "Vered Volansky" <vered@redhat.com> > > To: devel@ovirt.org > > Sent: Wednesday, August 12, 2015 8:48:00 AM > > Subject: Re: [ovirt-devel] Login issue on master > > > > engine: > > 2015-08-12 08:12:41,129 INFO > > [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] > > (default task-28) [] Can't login user 'admin' with
authentication
profile > > 'internal' because the authentication failed. > > 2015-08-12 08:12:41,146 ERROR > > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > > ID: -1, Message: User admin cannot login, please verify the username and > > password. > > 2015-08-12 08:12:41,154 ERROR > > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > > ID: -1, Message: User admin@internal failed to log in. > > 2015-08-12 08:12:41,154 WARN > > [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] > > CanDoAction of action 'LoginAdminUser' failed for user > > admin@internal. > > Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD > > > > > > > > > > On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com > wrote: > > > > > > > > Can't login to engine after rebase and schema-dev execution. > > Can't investigate more at the moment, just a heads up. > > > > > > _______________________________________________ > > Devel mailing list > > Devel@ovirt.org > > http://lists.ovirt.org/mailman/listinfo/devel > _______________________________________________ > Devel mailing list > Devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/devel > _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved
(that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore. If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh
----- Original Message ----- password pbe-encode
--password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
$ PREFIX/bin/engine-setup --otopi-environment="OVESETUP_CONFIG/adminPassword=str:MY_PASSWORD"
will set your password in simpler manner.
to create new password, restart the engine and try..
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com
wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore.
was this communicated anywhere? i missed that.. thanks for the update
If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode --password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
to create new password, restart the engine and try..

----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" <ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 11:25:37 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message -----
From: "Vered Volansky" <vered@redhat.com> To: devel@ovirt.org Sent: Wednesday, August 12, 2015 8:48:00 AM Subject: Re: [ovirt-devel] Login issue on master
engine: 2015-08-12 08:12:41,129 INFO [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] (default task-28) [] Can't login user 'admin' with authentication
profile
'internal' because the authentication failed. 2015-08-12 08:12:41,146 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin cannot login, please verify the username and password. 2015-08-12 08:12:41,154 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(default task-28) [] Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: User admin@internal failed to log in. 2015-08-12 08:12:41,154 WARN [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] CanDoAction of action 'LoginAdminUser' failed for user admin@internal. Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD
On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com
wrote:
Can't login to engine after rebase and schema-dev execution. Can't investigate more at the moment, just a heads up.
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved password (that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore.
was this communicated anywhere? i missed that.. thanks for the update
I'm going to send email about it, the aaa internal/jdbc changes were merged yesterday ...
If you want to change you admin@internal password, please do following:
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh pbe-encode --password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
to create new password, restart the engine and try..

Problem was solved thanks to Alon Bar Lev: engine-setup --otopi-environment="OVESETUP_CONFIG/adminUserAuthzType=str:builtin-internal OVESETUP_CONFIG/adminUser=str:admin@internal OVESETUP_CONFIG/adminUserAuthzName=str:internal OVESETUP_CONFIG/adminUserId=str:fdfc627c-d875-11e0-90f0-83df133b58cc OVESETUP_CONFIG/adminPassword=str:PASSWORD" Problem stemmed from using schema-dev instead of engine-setup, which appears to be a no-no. Thanks everyone! On Wed, Aug 12, 2015 at 12:27 PM, Martin Perina <mperina@redhat.com> wrote:
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 11:25:37 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 9:35 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Omer Frenkel" <ofrenkel@redhat.com> To: "Martin Perina" <mperina@redhat.com> Cc: "Vered Volansky" <vered@redhat.com>, "Oved Ourfali" < ovedo@redhat.com>, devel@ovirt.org Sent: Wednesday, August 12, 2015 8:28:00 AM Subject: Re: [ovirt-devel] Login issue on master
On Wed, Aug 12, 2015 at 8:54 AM, Martin Perina <mperina@redhat.com> wrote:
----- Original Message -----
From: "Oved Ourfali" <ovedo@redhat.com> To: "Vered Volansky" <vered@redhat.com> Cc: devel@ovirt.org Sent: Wednesday, August 12, 2015 7:51:14 AM Subject: Re: [ovirt-devel] Login issue on master
Please share complete engine.log and server.log.
Log produced by engine-setup is more important at the moment. Are you sure that engine-setup finished successfully?
----- Original Message ----- > From: "Vered Volansky" <vered@redhat.com> > To: devel@ovirt.org > Sent: Wednesday, August 12, 2015 8:48:00 AM > Subject: Re: [ovirt-devel] Login issue on master > > engine: > 2015-08-12 08:12:41,129 INFO > [org.ovirt.engine.core.bll.aaa.LoginBaseCommand] > (default task-28) [] Can't login user 'admin' with
authentication
profile
> 'internal' because the authentication failed. > 2015-08-12 08:12:41,146 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > ID: -1, Message: User admin cannot login, please verify the username and > password. > 2015-08-12 08:12:41,154 ERROR > [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] > (default task-28) [] Correlation ID: null, Call Stack: null, Custom Event > ID: -1, Message: User admin@internal failed to log in. > 2015-08-12 08:12:41,154 WARN > [org.ovirt.engine.core.bll.aaa.LoginAdminUserCommand] (default task-28) [] > CanDoAction of action 'LoginAdminUser' failed for user admin@internal. > Reasons: USER_FAILED_TO_AUTHENTICATE_WRONG_USERNAME_OR_PASSWORD > > > > > On Wed, Aug 12, 2015 at 8:41 AM, Vered Volansky < vered@redhat.com
wrote:
> > > > Can't login to engine after rebase and schema-dev execution. > Can't investigate more at the moment, just a heads up. > > > _______________________________________________ > Devel mailing list > Devel@ovirt.org > http://lists.ovirt.org/mailman/listinfo/devel _______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
_______________________________________________ Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel
any chance you deleted your prefix? if so, the setup creates new keys and cannot decrypt the saved
----- Original Message ----- password
(that was encryped using the old keys), try to use engine-config --set AdminPassword=interactive
This is no longer valid, admin password is not stored in vdc_options anymore.
was this communicated anywhere? i missed that.. thanks for the update
I'm going to send email about it, the aaa internal/jdbc changes were merged yesterday ...
If you want to change you admin@internal password, please do
1. Run ovirt-engine-crypto-tool to encode new password:
${PREFIX}/share/ovirt-engine/bin/ovirt-engine-crypto-tool.sh
following: pbe-encode
--password=interactive:
2. Save encoding password into ${PREFIX}/etc/ovirt-engine/extension.d/internal-authn.properties into field config.authn.user.password
3. Restart the engine
to create new password, restart the engine and try..
participants (5)
-
Alon Bar-Lev
-
Martin Perina
-
Omer Frenkel
-
Oved Ourfali
-
Vered Volansky