added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not good) and did engine-upgrade.

Process choked at opening the CA cert and proceeded to "rollback". Didn't actually roll back as 3.1 repo was disabled.

System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2 (wish I had done that first!).

Engine starts but fails to open CA to run gui. found following in log:

2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.
engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load keystore from file "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,826 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Failed to decrypt java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,827 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-16) Failed to decrypt value for property TruststorePass will be used encrypted value
2013-02-05 14:02:40,829 WARN  [org.ovirt.engine.core.utils.ConfigUtilsBase] (MSC service thread 1-16) Could not find enum value for option: CertificatePassword
2013-02-05 14:02:40,830 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load keystore from file "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,830 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Failed to decrypt java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,831 ERROR [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service thread 1-16) Failed to decrypt value for property LocalAdminPassword will be used encrypted value
2013-02-05 14:02:40,833 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Can't load keystore from file "/etc/pki/ovirt-engine/.keystore". IOException: DerInputStream.getLength(): lengthTag=109, too big.
2013-02-05 14:02:40,834 ERROR [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service thread 1-16) Failed to decrypt java.io.IOException: DerInputStream.getLength(): lengthTag=109, too big.


On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak <mpastern@redhat.com> wrote:

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


--

Michael Pasternak
RedHat, ENG-Virtualization R&D



--
--
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/