[ovirt-users] Hosted engine on CentOS 6.5

Sandro Bonazzola sbonazzo at redhat.com
Thu Oct 23 09:09:08 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Il 23/10/2014 14:55, Robert Story ha scritto:
> On Thu, 23 Oct 2014 08:56:33 +0200 Sandro wrote: SB> status: 401 SB> reason: Unauthorized SB> detail: HTTP Status 401 SB> SB> Are you sure you're
> using the same password for admin at internal both on SB> 'hosted-engine --deploy' and on 'engine-setup'? Looks like you've the SB> same error
> reported in SB> https://bugzilla.redhat.com/show_bug.cgi?id=1154362
> 
> The hosted-engine ask for:
> 
> - Enter 'admin at internal' user password that will be used for accessing the Administrator Portal:
> 
> The engine-setup asks for:
> 
> - Engine admin password:
> 
> Since they were worded differently, I assumed they were for different things (like engine-seup wanting a password for PostgreSQL 'engine' 
> database). Maybe the engine-setup prompt could be changed to "Engine admin at internal password" to make it clear that they are the same?

Please open a bug about above text alignment, so we can keep track of it.


> So, assuming that resetting the password on the engine to match my admin at internal password is the fix, the next hurdle is getting hosted-engine
> deploy to run again. Current, it fails with:
> 
> # hosted-engine --deploy --config-append=/etc/ovirt-hosted-engine/answers.conf ... [ INFO  ] Stage: Environment setup [ ERROR ] The following VMs
> has been found: 5f154b49-a0d0-4e8b-8f5d-efcd83115a95 [ ERROR ] Failed to execute stage 'Environment setup': Cannot setup Hosted Engine with other
> VMs running

Please run "hosted-engine --vm-poweroff". VDSM keep the vm status for forensic until the VM is destroyed / powered off.


> 
> But no VMs are running:
> 
> # ps -ef|grep qemu root      4343 18506  0 08:51 pts/1    00:00:00 grep qemu qemu     21192 20271  0 Oct22 ?        00:00:00 [supervdsmServer]
> <defunct>
> 
> And even in the debug logs it sees the VM is down:
> 
> 2014-10-23 08:51:29 DEBUG otopi.context context._executeMethod:138 Stage late_setup METHOD
> otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm.Plugin._late_setup 2014-10-23 08:51:29 DEBUG
> otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm configurevm._late_setup:101 [{'status': 'Down', 'vmId':
> '5f154b49-a0d0-4e8b-8f5d-efcd83115a95'}] 2014-10-23 08:51:29 ERROR otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm
> configurevm._late_setup:108 The following VMs has been found: 5f154b49-a0d0-4e8b-8f5d-efcd83115a95 2014-10-23 08:51:29 DEBUG otopi.context
> context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line
> 142, in _executeMethod method['method']() File
> "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/configurevm.py", line 112, in _late_setup _('Cannot setup
> Hosted Engine with other VMs running') RuntimeError: Cannot setup Hosted Engine with other VMs running
> 
> 
> Is there a way around this, or do I need to delete the VM and reinstall it?
> 
> 
> Robert
> 


- -- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJUSP3zAAoJEHw3u57E4QAOe2AQAKYfEOD1z7gs66S50mQLomzL
iKfy/D0fdkAKgIgXNOhGCvzSGHyhoCJ/4ByoBE0CKwyyuiPDpBqJQQJ9baE20Yzu
mGUV0QzwBR0Icvu5aXuliJDq6WeBusUdVgisRy7LwvBhobzAJlTrWEhgH7HeHtE+
4G1jdT61tgkA2BdwnOREpTkoggQcRUaB1/zys/4V37eHE9MLI5hpDN02ctcJazCN
S2KK2UJku4AP18Str6qUvOmqVTtenHm4yVSzRfzB4RX1uclNZu+OgWWEV1lY04HT
JdBioJW992GMhFqPVbvoej7UU/ROFipI8LFX5Qg7h/0xFy5z1Q6rXq4I7ZFVDqhT
eTxm2fuv91ADsILWvLD6WYd9X/d3wP5Fp9JkO3YgqdXtLtTvT4wbndpf2zPa5H0u
tl3sEJW6x3Ag/644SowvERL5gJxMSLRvRcNTlS4jkngEH9DBHMP6GdyVxj9zFD9+
Yf5mRCiGUKgMN7TBxjrchS63FOQNhZx2mPzg01vRzVULAciZl5/+1pb9mF5iabhN
TIi1mrvzy7LibRml5uRrmuXOTL+T5KLi5vPr9XbKviIHNkSuBJgTX5ek9XKEVWk1
5CX4CbW/Kbeb8Imrgquhw3vzpY+/nMMcjK4yraPs5qafaQEjVbSItaZcNUypRAsR
IJ9e3GfmebA5sQZW+F4k
=lIm9
-----END PGP SIGNATURE-----


More information about the Users mailing list