Bug 786812 - [ovirt] [engine-cli] error: 'NoneType' object has no attribute 'rfind'
Summary: [ovirt] [engine-cli] error: 'NoneType' object has no attribute 'rfind'
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 3.1
Assignee: Michael Pasternak
QA Contact:
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-02-02 13:09 UTC by Haim
Modified: 2014-01-13 00:50 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-28 10:36:15 UTC
oVirt Team: ---


Attachments (Terms of Use)

Description Haim 2012-02-02 13:09:53 UTC
Description of problem:

trying to connect to shell with wrong password: 

ovirt-shell --url='localhost:8080/api' --username='admin' --password='letmein' --connect

error: 'NoneType' object has no attribute 'rfind'

Comment 1 Michael Pasternak 2012-02-28 10:36:15 UTC
cannot reproduce this

Comment 2 Michael Pasternak 2012-02-28 14:00:27 UTC
the reason for that is lack of protocol
in your URL:  it has to be http(s)://localhost:8080/api

- will add support for such URL format

Comment 3 Michael Pasternak 2012-03-13 13:21:01 UTC
fixed in 2.1.1-1, but note the default protocol is https, so if your
server not running ssl, it won't work - ALWAYS specify protocol explicitly
in api URL

Comment 4 Itamar Heim 2012-08-09 08:03:38 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/

Comment 5 Itamar Heim 2012-08-09 08:04:15 UTC
closing ON_QA bugs as oVirt 3.1 was released:
http://www.ovirt.org/get-ovirt/


Note You need to log in before you can comment on or make changes to this bug.