
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
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@redhat.com] ·¢ËÍʱŒä: 2013Äê5ÔÂ22ÈÕ 17:41 ÊÕŒþÈË: wlbleaboy@126 ³ËÍ: 'Moti Asayag'; engine-devel@ovirt.org Ö÷Ìâ: Re: [Engine-devel] ŽðžŽ: about ovirt-shell On 05/22/2013 01:21 PM, wlbleaboy@126 wrote: lib
when I used ovirt-shell -l https://192.168.1.198:443/api -u admin@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@redhat.com] ·¢ËÍʱŒä: 2013Äê5ÔÂ22ÈÕ 15:36 ÊÕŒþÈË: wlbleaboy@126 ³ËÍ: engine-devel@ovirt.org Ö÷Ìâ: Re: [Engine-devel] about ovirt-shell
On 05/22/2013 09:59 AM, wlbleaboy@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@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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
-- Aravinda