I'm not that familiar with the subject, but from the little I've had with it, it
seems to me a port might be missing.
Regards,
Vered
----- Original Message -----
From: "Lior Vernia" <lvernia(a)redhat.com>
To: "bigclouds" <bigclouds(a)163.com>
Cc: users(a)ovirt.org
Sent: Thursday, April 25, 2013 10:01:56 AM
Subject: Re: [Users] how to use ovirt-shell?
Sorry, replace https with http as well:
"ovirt-shell -l
http://127.0.0.1/api -u admin@internal"
On 25/04/13 10:00, Lior Vernia wrote:
> Hello again,
>
> First of all, I don't know of any <admin> option that could be supplied
> to ovirt-shell (however I'm not expert), so try to drop that. If that
> still doesn't work, I suspect that the certificate files which might not
> be properly set up. Please try to connect non-securely first, like so:
>
> "ovirt-shell -l
https://127.0.0.1/api -u admin@internal"
>
> If this works, this might help with regard to the certificate files:
>
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal
>
> Yours, Lior Vernia.
>
> On 25/04/13 04:35, bigclouds wrote:
>> error: [401] - Unauthorized, HTTP Status 401
>>
>> does this need context?
>>
>> thanks.
>>
>>
>>
>>
>> At 2013-04-24 16:19:44,"Lior Vernia" <lvernia(a)redhat.com>
wrote:
>>> Hello,
>>>
>>> Instead of "https://127.0.0.1/", try to type
"https://127.0.0.1/api".
>>>
>>> Yours, Lior Vernia.
>>>
>>> On 24/04/13 04:32, bigclouds wrote:
>>>> hi,all
>>>>
>>>> ovirt-shell -l
https://127.0.0.1/ -u admin@internal
>>>> <mailto:admin@internal> -A /etc/pki/vdsm/certs/cacert.pem -C
>>>> /etc/pki/vdsm/libvirt-spice/server-cert.pem -K
>>>> /etc/pki/vdsm/libvirt-spice/server-key.pem -c
>>>>
>>>> i never successfully connect.
>>>>
>>>> thanks
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users(a)ovirt.org
>>>>
http://lists.ovirt.org/mailman/listinfo/users
>>>>
>>
>>
>>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users