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@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(a)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(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/engine-devel
>
_______________________________________________
Engine-devel mailing list
Engine-devel(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel