[Users] Remove "running" Vm's from host

Omer Frenkel ofrenkel at redhat.com
Mon Aug 19 15:20:25 UTC 2013


sorry it seems you are using secure mode so try: 
vdsClient -s 0 list table 

----- Original Message -----

> From: "Matt ." <yamakasi.014 at gmail.com>
> To: "Omer Frenkel" <ofrenkel at redhat.com>
> Cc: "users" <users at ovirt.org>
> Sent: Sunday, August 18, 2013 6:05:55 PM
> Subject: Re: [Users] Remove "running" Vm's from host

> I get some errors on this one:

> # vdsClient 0 list table
> Traceback (most recent call last):
> File "/usr/share/vdsm/vdsClient.py", line 2457, in <module>
> code, message = commands[command][0](commandArgs)
> File "/usr/share/vdsm/vdsClient.py", line 287, in do_list
> response = self.s.getAllVmStats()
> 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/httplib.py", line 720, in connect
> self.timeout)
> File "/usr/lib64/python2.6/socket.py", line 553, in create_connection
> for res in getaddrinfo(host, port, 0, SOCK_STREAM):
> gaierror: [Errno -2] Name or service not known
> [root at kvm-02 ~]#

> 2013/8/18 Omer Frenkel < ofrenkel at redhat.com >

> > > From: "Matt ." < yamakasi.014 at gmail.com >
> > 
> 
> > > To: "users" < users at ovirt.org >
> > 
> 
> > > Sent: Sunday, August 18, 2013 5:04:21 PM
> > 
> 
> > > Subject: [Users] Remove "running" Vm's from host
> > 
> 

> > > Hi All,
> > 
> 

> > > Something I have seen before and I'm testing now is that you can have
> > > that
> > > a
> > > host had VM's running when it fails or whatever.
> > 
> 

> > > The engine thinks and shows that these VM's are still running.
> > 
> 

> > > When this host is also the SPM, you can have issues that you cannot
> > > activate
> > > storage and so on.
> > 
> 

> > > What would be a known and decent way to have your SPM not running VM's,
> > > is
> > > itpossible to "remove" them from the engine @ Host ? They are actually
> > > not
> > > running...
> > 
> 

> > is the host in UP status?
> 
> > if the host is in "UP" status in the UI, and the vms are not running (you
> > can
> > try to run on the host "vdsClient 0 list table" to see vdsm returns)
> 
> > then the engine should be updated automatically with the vms statuses.
> 

> > > Thanks!
> > 
> 

> > > Cheers,
> > 
> 

> > > Matt
> > 
> 

> > > _______________________________________________
> > 
> 
> > > 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/20130819/5748cffd/attachment-0001.html>


More information about the Users mailing list