[Users] Can't login with the user 'admin'

Mark Wu wudxw at linux.vnet.ibm.com
Wed Sep 19 06:58:04 UTC 2012


On 09/19/2012 02:48 PM, Yair Zaslavsky wrote:
> Not sure how much it is informative in this case.
> What also bothers me is that you got "failed to decrypt" when you used 
> engine-config -g
>
> When you start the jboss server, and look at the engine.log and 
> server.log, do you see some prints with "failed to decrypt"?
>
This time is more informative:

2012-09-19 14:54:21,465 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,465 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property TruststorePass will be 
used encrypted value
2012-09-19 14:54:21,487 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,487 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property CertificatePassword 
will be used encrypted value
2012-09-19 14:54:21,497 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,498 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property LocalAdminPassword will 
be used encrypted value
2012-09-19 14:54:21,509 ERROR 
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service 
thread 1-6) Failed to decrypt Data must start with zero
2012-09-19 14:54:21,510 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Failed to decrypt value for property AdminPassword will be 
used encrypted value
2012-09-19 14:54:21,514 ERROR 
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service 
thread 1-6) Could not parse option AutoRecoveryAllowedTypes value.

>
>
> On 09/19/2012 09:26 AM, Mark Wu wrote:
>> On 09/19/2012 02:04 PM, Yair Zaslavsky wrote:
>>> Mark,
>>> Can you please provide engine logs here?
>>>
>> Yair,
>>
>> Here's the related engine log:
>>
>> 2012-09-19 14:24:37,899 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>> (QuartzScheduler_Worker-72) XML RPC error in command GetCapabilitiesVDS
>> ( Vds: host2 ), the error was: java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException,
>> SunCertPathBuilderException: unable to find valid certification path to
>> requested target
>> 2012-09-19 14:24:37,941 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>> (QuartzScheduler_Worker-73) XML RPC error in command GetCapabilitiesVDS
>> ( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException,
>> SunCertPathBuilderException: unable to find valid certification path to
>> requested target
>> 2012-09-19 14:24:38,637 ERROR
>> [org.ovirt.engine.core.bll.LoginAdminUserCommand]
>> (ajp--127.0.0.1-8009-10) USER_FAILED_TO_AUTHENTICATE : admin
>> 2012-09-19 14:24:38,637 WARN
>> [org.ovirt.engine.core.bll.LoginAdminUserCommand]
>> (ajp--127.0.0.1-8009-10) CanDoAction of action LoginAdminUser failed.
>> Reasons:USER_FAILED_TO_AUTHENTICATE
>> 2012-09-19 14:24:39,999 ERROR
>> [org.ovirt.engine.core.vdsbroker.vdsbroker.VdsBrokerCommand]
>> (QuartzScheduler_Worker-77) XML RPC error in command GetCapabilitiesVDS
>> ( Vds: Host1 ), the error was: java.util.concurrent.ExecutionException:
>> java.lang.reflect.InvocationTargetException,
>> SunCertPathBuilderException: unable to find valid certification path to
>> requested target
>> ...
>>>
>>>
>>> On 09/19/2012 09:02 AM, Mark Wu wrote:
>>>>
>>>> After upgrading ovirt-engine (new version:
>>>> ovirt-engine-3.1.0-3.1345126685.git7649eed.fc17),  I can't login with
>>>> the user 'admin'.   Here's my upgrade process:
>>>> yum remove ovirt-engine
>>>> yum install ovirt-engine
>>>> engine-setup   and type the same password for 'admin' as before.
>>>>
>>>> The setup script finished successfully. But I can't login with 'admin'
>>>> user.   I tried to run engine-setup again, but it didn't help.
>>>>
>>>> I also tried to change password with engine-config:
>>>>
>>>> # engine-config -g AdminPassword
>>>> Failed to decrypt the current value
>>>> # engine-config -s AdminPassword=xxxxxxxx
>>>> 'xxxxxxxx' is not a valid value for type Password.
>>>>
>>>> It always complains it's not a valid value whatever I input.
>>>>
>>>> Is there anyone hit problem before?  And any idea about how to
>>>> resolve it?
>>>> Thanks
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>
>




More information about the Users mailing list