[Engine-devel] 答复: 答复: about ovirt-shell

wlbleaboy@126 wlbleaboy at 126.com
Wed May 22 11:28:55 UTC 2013


Hi, all:
	I solved it.
The ovirtsdk I used is ovirt-engine-sdk 3.2.0.6, the ovirt-engine is 3.2,
Afternoon, I update ovirt-sdek-engine to 3.2.0.11, and when assign --ca-file
I use "/home/leaboy/.spicec/ca.crt" replace the " ~/.spicec/ca.crt"
And then, it work well.

-----邮件原件-----
发件人: Aravinda [mailto:avishwan at redhat.com] 
发送时间: 2013年5月22日 17:41
收件人: wlbleaboy at 126
抄送: 'Moti Asayag'; engine-devel at ovirt.org
主题: Re: [Engine-devel] 答复: about ovirt-shell

On 05/22/2013 01:21 PM, wlbleaboy at 126 wrote:
> I got the failed info like this
>
> error: [ERROR]::oVirt API connection failure, [Errno 185090050]
_ssl.c:340:
> error:0B084002:x509 certificate routines:X509_load_cert_crl_file:system
lib
>
> when I used ovirt-shell -l https://192.168.1.198:443/api -u admin at internal
> -c -A ~/.spicec/ca.crt
Try without -c
-c is to connect automatically using the credentials present in file
~/.ovirtshellrc


> -----邮件原件-----
> 发件人: Moti Asayag [mailto:masayag at redhat.com] 
> 发送时间: 2013年5月22日 15:36
> 收件人: wlbleaboy at 126
> 抄送: engine-devel at ovirt.org
> 主题: Re: [Engine-devel] about ovirt-shell
>
> On 05/22/2013 09:59 AM, wlbleaboy at 126 wrote:
>> Hi all:
>>
>>          When I connect to ovirt-engine use ovirt-shell like this: It’s
>> failed, I don’t know why.
>>
>> The ovirt-engine is build and deployed by myself and base ovirt-engine 3.
2
>>
>>  
>>
>>          But when I connect to the ovirt-engine use rmp installed,
>> ovirt-shell work well.
>>
>>  
>>
>>  
>>
>> ++++++++++++++++++++++++++++++++++++++++++
>>
>>  
>>
>>            Welcome to oVirt shell
>>
>>  
>>
>>  ++++++++++++++++++++++++++++++++++++++++++
>>
>>        
>>
>>    
>>
>> [oVirt shell (disconnected)]# connect --url http://192.168.1.201 --user
>> admin at internal --password 111111
> The URL should be in a format of http://address:port/api
>
> for example:
>
> if running from the command line, you can connect to it via (verify your
> host address and port):
>
> ovirt-shell -l http://localhost:8080/api -u admin at internal -c
>
> and provide the password when prompted to.
>
>>  
>>
>>  
>>
>> error: [ERROR]::No response returned from server. If you're using HTTP
>> protocol
>>
>> against a SSL secured server, then try using HTTPS instead.
>>
>>  
>>
>>  
>>
>> [oVirt shell (disconnected)]#
>>
>>  
>>
>>  
>>
>>
>>
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel

--
Aravinda





More information about the Devel mailing list