[Users] Can't start vm
Doron Fediuck
dfediuck at redhat.com
Mon Mar 12 15:41:25 UTC 2012
On 12/03/12 15:07, kumar shantanu wrote:
> Hi Doron,
>
> I tried that but it didn't work. Looks like my vdsm not working properly,
> when i run "vdsClient 0 getVdsCaps | grep emulatedMachines"
>
> It's doesn't give me output, but throws error.
>
> Traceback (most recent call last):
> File "/usr/share/vdsm/vdsClient.py", line 2050, in <module>
> code, message = commands[command][0](commandArgs)
> File "/usr/share/vdsm/vdsClient.py", line 372, in do_getCap
> return self.ExecAndExit(self.s.getVdsCapabilities())
> File "/usr/local/lib/python2.7/xmlrpclib.py", line 1224, in __call__
> return self.__send(self.__name, args)
> File "/usr/local/lib/python2.7/xmlrpclib.py", line 1570, in __request
> verbose=self.__verbose
> File "/usr/local/lib/python2.7/xmlrpclib.py", line 1264, in request
> return self.single_request(host, handler, request_body, verbose)
> File "/usr/local/lib/python2.7/xmlrpclib.py", line 1294, in single_request
> response = h.getresponse(buffering=True)
> File "/usr/local/lib/python2.7/httplib.py", line 1025, in getresponse
> response.begin()
> File "/usr/local/lib/python2.7/httplib.py", line 401, in begin
> version, status, reason = self._read_status()
> File "/usr/local/lib/python2.7/httplib.py", line 359, in _read_status
> line = self.fp.readline()
> File "/usr/local/lib/python2.7/socket.py", line 445, in readline
> data = self._sock.recv(self._rbufsize)
> error: [Errno 104] Connection reset by peer
>
>
It looks like a vdsm issue.
Is the vdsmd service up & running?
>
>
>
> On Mon, Mar 12, 2012 at 3:55 PM, Doron Fediuck <dfediuck at redhat.com <mailto:dfediuck at redhat.com>> wrote:
>
> Hi Kumar,
> You need to change the emulatedMachine to "pc".
> You can do it by using engine-config or issue a DB query in vdc_options table.
>
> On 12/03/12 10:16, kumar shantanu wrote:
> > Hi all,
> >
> > I created host from ovirt manager but when trying to run it's failing with the error,
> >
> > ==> vdsm.log <==
> > Thread-180651::DEBUG::2012-03-12 13:42:12,482::vm::577::vm.Vm::(_startUnderlyingVm) vmId=`c13c4c09-f696-47e1-b8cd-8d499242e151`::_ongoingCreations released
> > Thread-180651::ERROR::2012-03-12 13:42:12,482::vm::601::vm.Vm::(_startUnderlyingVm) vmId=`c13c4c09-f696-47e1-b8cd-8d499242e151`::The vm start process failed
> > Traceback (most recent call last):
> > File "/usr/share/vdsm/vm.py", line 567, in _startUnderlyingVm
> > self._run()
> > File "/usr/share/vdsm/libvirtvm.py", line 1306, in _run
> > self._connection.createXML(domxml, flags),
> > File "/usr/share/vdsm/libvirtconnection.py", line 82, in wrapper
> > ret = f(*args, **kwargs)
> > File "/usr/lib64/python2.6/site-packages/libvirt.py", line 2087, in createXML
> > if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
> > libvirtError: internal error Process exited while reading console log output: Supported machines are:
> > pc RHEL 6.2.0 PC (alias of rhel6.2.0)
> >
> >
> >
> > Pythong version running is
> >
> > [root at ovirt ~]# python -V
> > Python 2.7
> >
> > Can anyone please suggest .
> >
> > TIA,
> > Shantanu.
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at ovirt.org <mailto:Users at ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> /d
>
> "This message is made with 100% recycled electrons. No new atoms were destroyed in the making of this message."
>
>
>
>
>
--
/d
“Funny,” he intoned funereally, “how just when you think life can't possibly get any worse it suddenly does.” --Douglas Adams, The Hitchhiker's Guide to the Galaxy
More information about the Users
mailing list