Re: [Users] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
so having vdsm.conf with ssl=true

and doing:

vdsClient -s 0 getVdsCaps

hangs? On the host were the vdsm service is running?

- Original Message -
> From: "bigclouds" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org
> Sent: Thursday, March 14, 2013 1:22:21 PM
> Subject: Re:Re: [Users] how to use vdsClient
> 
> 
> no difference.
> vdsm.conf : ssl=true
> 
> 
> 
> 
> 
> 
> 
> 
> At 2013-03-14 18:49:25,"Antoni Segura Puimedon" 
>  wrote:
> >It might be ssl. If you have ssl enabled:
> >
> >vdsClient -s 0 
> >
> >Otherwise:
> >
> >vdsClient 0 
> >
> >- Original Message -
> >> From: "bigclouds" 
> >> To: users@ovirt.org
> >> Sent: Thursday, March 14, 2013 11:26:24 AM
> >> Subject: [Users] how to use vdsClient
> >> 
> >> 
> >> 
> >> 
> >> hi,all
> >> it is waiting all the time.
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> [root@localhost ~]# mcvdaClient 0 list table
> >> ^CTraceback (most recent call last):
> >> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> >> code, message = commands[command][0](commandArgs)
> >> File "/usr/share/mcvda/mcvdaClient.py", line 274, 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 1237, in request
> >> errcode, errmsg, headers = h.getrepl y()
> >> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> >> response = self._conn.getresponse()
> >> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> >> response.begin()
> >> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> >> version, status, reason = self._read_status()
> >> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> >> line = self.fp.readline()
> >> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> >> data = recv(1)
> >> KeyboardInterrupt
> >> 
> >> 
> >> ___
> >> Users mailing list
> >> Users@ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >> 
> >___
> >Users mailing list
> >Users@ovirt.org
> >http://lists.ovirt.org/mailman/listinfo/users
> 
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread bigclouds
no difference.
vdsm.conf : ssl=true








At 2013-03-14 18:49:25,"Antoni Segura Puimedon"  wrote:
>It might be ssl. If you have ssl enabled:
>
>vdsClient -s 0 
>
>Otherwise:
>
>vdsClient 0 
>
>- Original Message -
>> From: "bigclouds" 
>> To: users@ovirt.org
>> Sent: Thursday, March 14, 2013 11:26:24 AM
>> Subject: [Users] how to use vdsClient
>> 
>> 
>> 
>> 
>> hi,all
>> it is waiting all the time.
>> 
>> 
>> 
>> 
>> 
>> 
>> [root@localhost ~]# mcvdaClient 0 list table
>> ^CTraceback (most recent call last):
>> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
>> code, message = commands[command][0](commandArgs)
>> File "/usr/share/mcvda/mcvdaClient.py", line 274, 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 1237, in request
>> errcode, errmsg, headers = h.getrepl y()
>> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
>> response = self._conn.getresponse()
>> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
>> response.begin()
>> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
>> version, status, reason = self._read_status()
>> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
>> line = self.fp.readline()
>> File "/usr/lib64/python2.6/socket.py", line 433, in readline
>> data = recv(1)
>> KeyboardInterrupt
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>> 
>___
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
It might be ssl. If you have ssl enabled:

vdsClient -s 0 

Otherwise:

vdsClient 0 

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, March 14, 2013 11:26:24 AM
> Subject: [Users] how to use vdsClient
> 
> 
> 
> 
> hi,all
> it is waiting all the time.
> 
> 
> 
> 
> 
> 
> [root@localhost ~]# mcvdaClient 0 list table
> ^CTraceback (most recent call last):
> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> code, message = commands[command][0](commandArgs)
> File "/usr/share/mcvda/mcvdaClient.py", line 274, 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 1237, in request
> errcode, errmsg, headers = h.getrepl y()
> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> response = self._conn.getresponse()
> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> response.begin()
> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> line = self.fp.readline()
> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> data = recv(1)
> KeyboardInterrupt
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread Dan Kenigsberg
On Thu, Mar 14, 2013 at 06:26:24PM +0800, bigclouds wrote:
> hi,all
> it is waiting all the time.
> 
> 
> 
> 
> 
> 
> [root@localhost ~]# mcvdaClient 0  list table
> ^CTraceback (most recent call last):
>   File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> code, message = commands[command][0](commandArgs)
>   File "/usr/share/mcvda/mcvdaClient.py", line 274, 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 1237, in request
> errcode, errmsg, headers = h.getreply()
>   File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> response = self._conn.getresponse()
>   File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> response.begin()
>   File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> line = self.fp.readline()
>   File "/usr/lib64/python2.6/socket.py", line 433, in readline
> data = recv(1)
> KeyboardInterrupt

It seems that you have ssl=True configured. Would

vdsClient - s 0 list table

help?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users