as things stand now:<br><br>I manually reinstalled 3.1, then dropped the engine database and restored from the backup. There were some errors at the end. Even though I used all the same passwords, the admin@internal account was not working. Used engine-config -s LocalAdminPassword='*****' to fix. On log in, everything is down, offline, unreachable. No hosts can be contacted. No storage is connected. Can't add a new host.<br>
<br>crud.<br><br>I copied the database backup and removed all the db creation part leaving just the data "copy into..." section (that was fun). Ran engine-cleanup then engine-setup then tried to restore just the data. <br>
<br>no joy there either.<br><br>The system is CentOS 6.3 as are the hosts. This ran wonderfully until I goofed trying to get the cli and sdk updated. Without the database working, I have no way to know what vm is what in the ISCSI LVM storage system to even export to another platform. <br>
<br>So I'm assuming my next step is panic (or total reinstall from bare iron?). I'm setting this up at work and today is my last day as I'm moving to a new job at a totally different organization. I'd hate to walk out and lose all the windows VMs and templates that were built over the last 2 months.<br>
<br><div class="gmail_quote">On Wed, Feb 6, 2013 at 8:43 AM, Jim Kinney <span dir="ltr"><<a href="mailto:jim.kinney@gmail.com" target="_blank">jim.kinney@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">added 3.2 lines to dre ovirt yum repo (and disabled 3.1 - probably not good) and did engine-upgrade.<br><br>Process choked at opening the CA cert and proceeded to "rollback". Didn't actually roll back as 3.1 repo was disabled.<br>
<br>System still has 3.2 installed. Did yum update to pull in the cli/sdk 3.2 (wish I had done that first!).<br><br>Engine starts but fails to open CA to run gui. found following in log:<br><br>2013-02-05 14:02:40,825 ERROR [org.ovirt.engine.core.<div>
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.<br>
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.<br>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<br>
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<br>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.<br>
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.<br>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<br>
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.<br>
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.</div><br><br></div><div><div class="h5"><div class="gmail_quote">On Tue, Feb 5, 2013 at 6:11 AM, Michael Pasternak <span dir="ltr"><<a href="mailto:mpastern@redhat.com" target="_blank">mpastern@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hi Jim,<br>
<div><br>
On 02/04/2013 08:33 PM, Jim Kinney wrote:<br>
> 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.<br>
><br>
> error: __init__() got an unexpected keyword argument 'source_address'<br>
<br>
</div>This error is caused by running ovirt-sdk on a older version of python (less then python27),<br>
please upgrade your sdk/cli with one shipped in 3.2 (it's backward compatible to 3.1).<br>
<div><br>
><br>
> I ran:<br>
> ovirt-shell -A <path to server cert/certfile exported from browser> -c<br>
><br>
> and my .ovirtshellrc is:<br>
><br>
> [ovirt-shell]<br>
> username = "admin@internal"<br>
> url = <a href="https://my.internal.url/api" target="_blank">https://my.internal.url/api</a><br>
> #insecure = False<br>
> #filter = False<br>
> #timeout = -1<br>
> password = **********************<br>
><br>
><br>
> I tried putting the ca_cert = <path to cert> but that clearly was not allowed in .ovirtshellrc<br>
<br>
</div>not related, but supported in 3.2 cli.<br>
<div><br>
><br>
> ideas?<br>
> --<br>
> --<br>
> James P. Kinney III<br>
</div>> ////<br>
> ////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<br>
<div>> the dog.<br>
> - Speech 11/23/1900 Mark Twain<br>
</div>> ////<br>
> <a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br>
> <a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
> ////<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
<span><font color="#888888"><br>
<br>
--<br>
<br>
Michael Pasternak<br>
RedHat, ENG-Virtualization R&D<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br></div></div><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>