Problem solved; use the correct URL, domain and double \\....:
ovirt-shell -u internal\\admin -p xxxxxxx -l http://localhost:8080/api -c
==========================================
>>> connected to oVirt manager 3.0.0.0 <<<
==========================================
++++++++++++++++++++++++++++++++++++++++++
Welcome to oVirt shell
++++++++++++++++++++++++++++++++++++++++++
Winfried
Michael Pasternak <mpastern@redhat.com> schreef:
okay, i can see it now, the reason for that is lack of protocol
in your URL: it has to be http(s)://localhost:8080/api
also i suggest you trying ovirt-engine-cli-2.0-3 anyway
as it have few cool features (attached - in case it yet
not available at release/nightly repos)
On 02/28/2012 03:26 PM, Michael Pasternak wrote:i just closed bug reporting similar issue,--
i was not able to reproduce it, can you please
try ovirt-engine-cli-2.0-3
On 02/28/2012 01:40 PM, wdh@dds.nl wrote:Starting ovirt-shell failes to connect:
ovirt-shell -c -l localhost:8080/api -u admin -p xxxx -c
error: 'NoneType' object has no attribute 'rfind'
++++++++++++++++++++++++++++++++++++++++++
Welcome to oVirt shell
++++++++++++++++++++++++++++++++++++++++++
rpm -qi ovirt-engine-cli
Name : ovirt-engine-cli
Version : 2.0
Release : 2.fc16
Architecture: noarch
Install Date: Tue 28 Feb 2012 12:33:23 PM CET
Group : Development/Libraries
Size : 639525
License : ASL 2.0
Signature : (none)
Source RPM : ovirt-engine-cli-2.0-2.fc16.src.rpm
Build Date : Sun 19 Feb 2012 02:04:05 PM CET
Build Host : nott16.eng.lab.tlv.redhat.com
Relocations : (not relocatable)
URL : http://ovirt.org
Summary : oVirt Engine Command Line Interface
Description :
The command line interface for oVirt-Engine.
Anyone?
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
Michael PasternakRedHat, ENG-Virtualization R&D