[Users] error using cli on ovirt 3.1
Michael Pasternak
mpastern at redhat.com
Tue Feb 5 11:11:09 UTC 2013
Hi Jim,
On 02/04/2013 08:33 PM, Jim Kinney wrote:
> I'm trying to setup a way to restart a large group of windows vms on a schedule. I'm getting a connection failure that seems related to the use of https but I'm not sure.
>
> error: __init__() got an unexpected keyword argument 'source_address'
This error is caused by running ovirt-sdk on a older version of python (less then python27),
please upgrade your sdk/cli with one shipped in 3.2 (it's backward compatible to 3.1).
>
> I ran:
> ovirt-shell -A <path to server cert/certfile exported from browser> -c
>
> and my .ovirtshellrc is:
>
> [ovirt-shell]
> username = "admin at internal"
> url = https://my.internal.url/api
> #insecure = False
> #filter = False
> #timeout = -1
> password = **********************
>
>
> I tried putting the ca_cert = <path to cert> but that clearly was not allowed in .ovirtshellrc
not related, but supported in 3.2 cli.
>
> ideas?
> --
> --
> James P. Kinney III
> ////
> ////Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten
> the dog.
> - Speech 11/23/1900 Mark Twain
> ////
> http://electjimkinney.org
> http://heretothereideas.blogspot.com/
> ////
>
>
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
--
Michael Pasternak
RedHat, ENG-Virtualization R&D
More information about the Users
mailing list