[Users] how to use ovirt-shell?

------=_Part_276862_142504796.1366767170373 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit hi,all ovirt-shell -l https://127.0.0.1/ -u 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 ------=_Part_276862_142504796.1366767170373 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>hi,all</div><div> </div><div>ovirt-shell -l <a href="https://127.0.0.1/">https://127.0.0.1/</a> -u <a href="mailto:admin@internal">admin@internal</a> -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</div><div> </div><div>i never successfully connect.</div><div> </div><div>thanks<br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_276862_142504796.1366767170373--

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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

------=_Part_51076_465656295.1366853733429 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit error: [401] - Unauthorized, HTTP Status 401 does this need context? thanks. At 2013-04-24 16:19:44,"Lior Vernia" <lvernia@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
------=_Part_51076_465656295.1366853733429 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit <div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div>error: [401] - Unauthorized, HTTP Status 401</div><div> </div><div>does this need context?</div><div> </div><div>thanks.<br><br><br><br></div><div></div><div id="divNeteaseMailCard"></div><div></div><pre><br>At 2013-04-24 16:19:44,"Lior Vernia" <lvernia@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@ovirt.org >> http://lists.ovirt.org/mailman/listinfo/users >> </pre></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span> ------=_Part_51076_465656295.1366853733429--

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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@redhat.com> To: "bigclouds" <bigclouds@163.com> Cc: users@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@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@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
participants (3)
-
bigclouds
-
Lior Vernia
-
Vered Volansky