--Sig_/TeQIcmx/ME+x+e5NmUxDyjm
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On Thu, 23 Oct 2014 08:56:33 +0200 Sandro wrote:
SB> status: 401
SB> reason: Unauthorized
SB> detail: HTTP Status 401
SB>=20
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=3D1154362
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=20
hosted-engine deploy to run again. Current, it fails with:
# hosted-engine --deploy --config-append=3D/etc/ovirt-hosted-engine/answers=
.conf
...
[ INFO ] Stage: Environment setup
[ ERROR ] The following VMs has been found: 5f154b49-a0d0-4e8b-8f5d-efcd831=
15a95
[ 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 la=
te_setup METHOD otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm.Plug=
in._late_setup
2014-10-23 08:51:29 DEBUG otopi.plugins.ovirt_hosted_engine_setup.vm.config=
urevm configurevm._late_setup:101 [{'status': 'Down', 'vmId':
'5f154b49-a0d=
0-4e8b-8f5d-efcd83115a95'}]
2014-10-23 08:51:29 ERROR otopi.plugins.ovirt_hosted_engine_setup.vm.config=
urevm configurevm._late_setup:108 The following VMs has been found: 5f154b4=
9-a0d0-4e8b-8f5d-efcd83115a95
2014-10-23 08:51:29 DEBUG otopi.context context._executeMethod:152 method e=
xception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in _e=
xecuteMethod
method['method']()
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hoste=
d-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
--=20
Senior Software Engineer @ Parsons
--Sig_/TeQIcmx/ME+x+e5NmUxDyjm
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAlRI+tYACgkQ7/fVLLY1mngffwCfVdNrJ1zbIvLarHuK9GFPY+ZQ
RIAAnijmJFFGLkNOVHgKhHUBxVW9NDqV
=ndR1
-----END PGP SIGNATURE-----
--Sig_/TeQIcmx/ME+x+e5NmUxDyjm--