[ovirt-users] Hosted engine on CentOS 6.5

Robert Story rstory at tislabs.com
Thu Oct 23 12:55:47 UTC 2014


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?


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

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

-- 
Senior Software Engineer @ Parsons
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141023/d35601e1/attachment-0001.sig>


More information about the Users mailing list