<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>sorry it seems you are using secure mode so try:<br></div><div>vdsClient -s 0 list table</div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Matt ." <yamakasi.014@gmail.com><br><b>To: </b>"Omer Frenkel" <ofrenkel@redhat.com><br><b>Cc: </b>"users" <users@ovirt.org><br><b>Sent: </b>Sunday, August 18, 2013 6:05:55 PM<br><b>Subject: </b>Re: [Users] Remove "running" Vm's from host<br><div><br></div><div dir="ltr">I get some errors on this one:<br><div><br></div># vdsClient 0 list table<br>Traceback (most recent call last):<br> File "/usr/share/vdsm/vdsClient.py", line 2457, in <module><br> code, message = commands[command][0](commandArgs)<br>
File "/usr/share/vdsm/vdsClient.py", line 287, in do_list<br> response = self.s.getAllVmStats()<br> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__<br> return self.__send(self.__name, args)<br>
File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request<br> verbose=self.__verbose<br> File "/usr/lib64/python2.6/xmlrpclib.py", line 1235, in request<br> self.send_content(h, request_body)<br>
File "/usr/lib64/python2.6/xmlrpclib.py", line 1349, in send_content<br> connection.endheaders()<br> File "/usr/lib64/python2.6/httplib.py", line 908, in endheaders<br> self._send_output()<br>
File "/usr/lib64/python2.6/httplib.py", line 780, in _send_output<br> self.send(msg)<br> File "/usr/lib64/python2.6/httplib.py", line 739, in send<br> self.connect()<br> File "/usr/lib64/python2.6/httplib.py", line 720, in connect<br>
self.timeout)<br> File "/usr/lib64/python2.6/socket.py", line 553, in create_connection<br> for res in getaddrinfo(host, port, 0, SOCK_STREAM):<br>gaierror: [Errno -2] Name or service not known<br>[root@kvm-02 ~]# <br>
<br></div><div class="gmail_extra"><br><div><br></div><div class="gmail_quote">2013/8/18 Omer Frenkel <span dir="ltr"><<a href="mailto:ofrenkel@redhat.com" target="_blank">ofrenkel@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><div><br></div><div><br></div><hr><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
<b>From: </b>"Matt ." <<a href="mailto:yamakasi.014@gmail.com" target="_blank">yamakasi.014@gmail.com</a>><br><b>To: </b>"users" <<a href="mailto:users@ovirt.org" target="_blank">users@ovirt.org</a>><br>
<b>Sent: </b>Sunday, August 18, 2013 5:04:21 PM<br><b>Subject: </b>[Users] Remove "running" Vm's from host<div><div class="h5"><br><div><br></div><div dir="ltr"><div><div><div><div>Hi All,<br><div><br></div>
</div>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.<br><div><br></div></div>The engine thinks and shows that these VM's are still running.<br>
<br></div>When this host is also the SPM, you can have issues that you cannot activate storage and so on. <br><div><br></div><br></div><div>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...<br>
</div></div></div></div></blockquote><div>is the host in UP status?<br></div><div>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)<br>
</div><div>then the engine should be updated automatically with the vms statuses.<br></div><div><br></div><blockquote style="padding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-left:2px solid #1010ff">
<div dir="ltr"><div>Thanks!<br></div><div><br></div><div>Cheers,<br><div><br></div></div><div>Matt<br></div></div><br>_______________________________________________<br>Users mailing list<br><a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br></blockquote><div><br></div></div></div></blockquote></div><br></div>
</blockquote><div><br></div></div></body></html>