[Users] ovirt-shell can not connect

Michael Wagenknecht Wagenknecht at FuH-E.de
Wed May 8 03:54:48 EDT 2013


Hi Michael,
Now it works. Thank you very much Michael.
But one last question. Is there a parameter in the .ovirtshellrc for the 
ca certificate?
I tried ca-file but it didn't work.

Michael


Am 08.05.2013 09:25, schrieb Michael Pasternak:
> On 05/07/2013 09:55 AM, Michael Wagenknecht wrote:
>> Hi,
>> now I installed the following versions on a fedora 18 client:
>> ovirt-engine-sdk-3.2.0.10-1.fc18.noarch
>> ovirt-engine-cli-3.2.0.11-1.fc18.noarch
>>
>> Now I can connect when I run:
>> ovirt-shell -c -A ./ca.crt -l https://172.21.114.157/api -u internal\\admin
>>
>> Then I try to use the .ovirtshellrc. I run:
>> ovirt-shell -c -A ./ca.crt
>>
>> and get the following error:
>> error: invalid literal for int() with base 10: ''
> please specify the port in url, also i see you using 'domain\\user'
> format in username, the right format is 'user at domain', please see
> help for more details.
>
>> my .ovirtshellrc is:
>>
>> [cli]
>> autopage = True
>> [ovirt-shell]
>> username = "internal\\admin"
>> url = "https://172.21.114.157/api"
>> insecure = False
>> filter = False
>> timeout = -1
>> dont_validate_cert_chain = False
>> password = "xxxxxxx"
>>
>> Regards,  Michael
>>
>>
>>
>> Am 06.05.2013 14:17, schrieb Michael Pasternak:
>>> On 05/06/2013 03:05 PM, Michael Wagenknecht wrote:
>>>> Hi Michael,
>>>> we are using the rpm package:  ovirt-engine-sdk-3.2.0.9-1.el6.noarch
>>> please update to 3.2.0.10-1, also the change you have mentioned was
>>> added after ovirt-engine-cli-3.2.0.10 was released, - this is a part
>>> of the 3.2.0.11-1 and this release requires .10 sdk, so either you have
>>> baked rpm by yourself, or you using development installation,
>>>
>>> anyway make sure you are upgrading to the latest artifacts:
>>>
>>> sdk: release 3.2.0.10-1
>>> cli: release 3.2.0.11-1
>>>
>>>> Regards,  Michael
>>>>
>>>>
>>>>
>>>> Am 06.05.2013 14:02, schrieb Michael Pasternak:
>>>>> Hi Michael,
>>>>>
>>>>> what is the version of ovirt-engine-sdk you're using?
>>>>>
>>>>> On 05/06/2013 01:43 PM, Michael Wagenknecht wrote:
>>>>>> Hi,
>>>>>> I can not connect to the ovirt-shell. When I type:
>>>>>>
>>>>>> ovirt-shell -c
>>>>>>
>>>>>> I get the following message:
>>>>>>
>>>>>> error: __init__() got an unexpected keyword argument 'validate_cert_chain'
>>>>>>
>>>>>>
>>>>>> my .ovirtshellrc is:
>>>>>>
>>>>>> [ovirt-shell]
>>>>>> username = admin at internal
>>>>>> url = https//127.0.0.1:443/api
>>>>>> insecure = False
>>>>>> filter = False
>>>>>> timeout = -1
>>>>>> dont_validate_cert_chain = False
>>>>>> password = xxxxx
>>>>>>
>>>>>>
>>>>>> I'm using the rpm package:  ovirt-engine-cli-3.2.0.10-1.el6.noarch
>>>>>>
>>>>>> Has anyone an idea?
>>>>>> The GUI login works.
>>>>>>
>>>>>> Thanks,  Michael
>>>>>>
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users at ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.ovirt.org/mailman/listinfo/users
>

-- 
Mit freundlichen Grüßen

Michael Wagenknecht
FuH Entwicklungsgesellschaft mbH
Geschäftsführer Carola Fornoff
HRB Freiburg 701203, UID DE255007372
Hauptstr. 4, D-79224 Umkirch
Tel +49 7665 93288-0, Fax -150




More information about the Users mailing list