[ovirt-users] Setup of hosted Engine Fails

Andrew Lau andrew at andrewklau.com
Sat Jul 19 08:58:26 UTC 2014


It seems vdsm is not running,

service vdsmd status
VDS daemon is not running, and its watchdog is running

The only logs in /var/log/vdsm/ that appear to have any content is
/var/log/vdsm/supervdsm.log - everything else is blank

MainThread::DEBUG::2014-07-19
18:55:34,793::supervdsmServer::424::SuperVdsm.Server::(main) Terminated
normally
MainThread::DEBUG::2014-07-19
18:55:38,033::netconfpersistence::134::root::(_getConfigs) Non-existing
config set.
MainThread::DEBUG::2014-07-19
18:55:38,034::netconfpersistence::134::root::(_getConfigs) Non-existing
config set.
MainThread::DEBUG::2014-07-19
18:55:38,058::supervdsmServer::384::SuperVdsm.Server::(main) Making sure
I'm root - SuperVdsm
MainThread::DEBUG::2014-07-19
18:55:38,059::supervdsmServer::393::SuperVdsm.Server::(main) Parsing cmd
args
MainThread::DEBUG::2014-07-19
18:55:38,059::supervdsmServer::396::SuperVdsm.Server::(main) Cleaning old
socket /var/run/vdsm/svdsm.sock
MainThread::DEBUG::2014-07-19
18:55:38,059::supervdsmServer::400::SuperVdsm.Server::(main) Setting up
keep alive thread
MainThread::DEBUG::2014-07-19
18:55:38,059::supervdsmServer::406::SuperVdsm.Server::(main) Creating
remote object manager
MainThread::DEBUG::2014-07-19
18:55:38,061::supervdsmServer::417::SuperVdsm.Server::(main) Started
serving super vdsm object
sourceRoute::DEBUG::2014-07-19
18:55:38,062::sourceRouteThread::56::root::(_subscribeToInotifyLoop)
sourceRouteThread.subscribeToInotifyLoop started


On Sat, Jul 19, 2014 at 6:48 PM, Andrew Lau <andrew at andrewklau.com> wrote:

> Here's a snippet from my hosted-engine-setup log
>
> 2014-07-19 18:45:14 DEBUG otopi.context context._executeMethod:138 Stage
> late_setup METHOD
> otopi.plugins.ovirt_hosted_engine_setup.vm.configurevm.Plugin._late_setup
> 2014-07-19 18:45:14 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 99, in _late_setup
>     response = serv.s.list()
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
>     verbose=self.__verbose
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request
>     self.send_content(h, request_body)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content
>     connection.endheaders()
>   File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders
>     self._send_output()
>   File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output
>     self.send(msg)
>   File "/usr/lib64/python2.6/httplib.py", line 739, in send
>     self.connect()
>   File "/usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py",
> line 188, in connect
>     sock = socket.create_connection((self.host, self.port), self.timeout)
>   File "/usr/lib64/python2.6/socket.py", line 567, in create_connection
>     raise error, msg
> error: [Errno 111] Connection refused
> 2014-07-19 18:45:14 ERROR otopi.context context._executeMethod:161 Failed
> to execute stage 'Environment setup': [Errno 111] Connection refused
>
>
> On Wed, Jul 16, 2014 at 9:05 PM, Sandro Bonazzola <sbonazzo at redhat.com>
> wrote:
>
>> Il 16/07/2014 00:47, Christopher Jaggon ha scritto:
>> > Here is a list of packages :
>> >
>> > rpm -qa | grep -i vdsm gives :
>> >
>> > vdsm-python-4.14.9-0.el6.x86_64
>> > vdsm-python-zombiereaper-4.14.9-0.el6.noarch
>> > vdsm-xmlrpc-4.14.9-0.el6.noarch
>> > vdsm-4.14.9-0.el6.x86_64
>> > vdsm-cli-4.14.9-0.el6.noarch
>> >
>> > When I try to run the hosted engine setup I get this error in the log :
>> >
>> > [ INFO  ] Waiting for VDSM hardware info
>> > [ INFO  ] Waiting for VDSM hardware info
>> > [ ERROR ] Failed to execute stage 'Environment setup': [Errno 111]
>> Connection refused
>> > [ INFO  ] Stage: Clean up
>> >
>> > Any advice and why this maybe so?
>>
>>
>> Can you please provide hosted-engine setup, vdsm, supervdsm and libvirt
>> logs?
>>
>>
>>
>> >
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >
>>
>>
>> --
>> Sandro Bonazzola
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140719/e749b8f3/attachment-0001.html>


More information about the Users mailing list