[ovirt-users] Setting up all-in-one

Jaco bakgatnet at gmail.com
Tue Jul 29 02:22:44 UTC 2014


Hi folks,

I'm new to the project, so please pardon my ignorance.

I came to oVirt by way of looking for a suitable KVM/libvirt-based IaaS 
stack to supersede my old Ubuntu 12.04 setup, that I've been running 
since KVM came to Ubuntu-town.

I've looked & tried a number of solutions - Eucalyptus, Enomalism, 
OpenStack - but most proved too cumbersome or admin-heavy for us.

A while back I set up oVirt on CentOS (whatever was stable at the time), 
but had to shelve the project for a while, because... reasons. Fired it 
back up again & did all the requisite updates/upgrades to bring the host 
up to snuff.

Unfortunately oVirt did not work as well, so I tried removing/purging it 
from the host & reinstalling it - both the 3.4.* stable & 3.5 beta - but 
both get hit up by the same issue when running the engine-setup.

Details follow -

Environment:

Linux $REDACTED 2.6.32-431.20.5.el6.centos.plus.x86_64 #1 SMP Fri Jul 25 
07:10:09
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

CentOS release 6.5 (Final)

terminal-out:
[ INFO ] Starting engine service
[ ERROR ] Failed to execute stage 'Closing up': Command '/sbin/service' 
failed to execute
[ INFO ] Stage: Clean up Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140727140628-g0z922.log
[ INFO ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20140727141521-setup.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of setup failed

log portion corresponding to the above error:

2014-07-27 13:25:01 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-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/engine.py", line 51, in _closeup
     state=True,
   File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state
     'start' if state else 'stop'
   File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand
     raiseOnError=raiseOnError
   File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute
     command=args[0],
RuntimeError: Command '/sbin/service' failed to execute
2014-07-27 13:25:01 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute


&

2014-07-27 17:40:58 DEBUG otopi.plugins.otopi.services.rhel plugin.execute:866 execute-output: ('/sbin/service', 'ovirt-engine', 'start') stderr:


2014-07-27 17:40:58 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-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/system/engine.py", line 57, in _closeup
     state=True,
   File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 188, in state
     'start' if state else 'stop'
   File "/usr/share/otopi/plugins/otopi/services/rhel.py", line 96, in _executeServiceCommand
     raiseOnError=raiseOnError
   File "/usr/lib/python2.6/site-packages/otopi/plugin.py", line 871, in execute
     command=args[0],
RuntimeError: Command '/sbin/service' failed to execute

2014-07-27 17:40:58 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Closing up': Command '/sbin/service' failed to execute
2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:468 ENVIRONMENT DUMP - BEGIN
2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:478 ENV BASE/error=bool:'True'
2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:478 ENV BASE/exceptionInfo=list:'[(<type 'exceptions.RuntimeError'>, RuntimeError("Command '/sbin/service' failed to execute",), <traceback object at 0x27fdf80>)]'
2014-07-27 17:40:58 DEBUG otopi.context context.dumpEnvironment:482 ENVIRONMENT DUMP - END
2014-07-27 17:40:58 INFO otopi.context context.runSequence:395 Stage: Clean up
2014-07-27 17:40:58 DEBUG otopi.context context.runSequence:399 STAGE cleanup
2014-07-27 17:40:58 DEBUG otopi.context context._executeMethod:138 Stage cleanup METHOD otopi.plugins.ovirt_engine_common.base.core.misc.Plugin._cleanup


I've had a dig around & from what I can tell this (possibly) related to 
bugs that would've been patched in the stable release (& beta?) that 
I've installed, but the issue persists.

I'm not certain where the issue could be coming in (lower-level/OS 
dependency maybe?), or if I've missed something.
I've flushed & reloaded the full stack already, with the same outcome. 
Next I'll have to wipe the OS & start again, with no guarantee this 
issue won't reoccur.

My next step would simply be to try out the oVirt live image.
Does the image provide an option to install to the host? (looking at the 
live node installers, it seems likely)

Are these images *purely* for PoC/demo/testing (i.e. highly unstable), 
or would it be stable enough for in-house (Docker) prototyping before 
deploying to a hosted/stable/production environment?

Cheers

- Jaco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140729/25385a18/attachment-0001.html>


More information about the Users mailing list