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@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@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@internal password" to make it clear that they are the same? So, assuming that resetting the password on the engine to match my admin@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
signature.asc
Description: PGP signature
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users