tor 2013-08-01 klockan 05:29 -0400 skrev Alon Bar-Lev:
----- Original Message ----- > From: "Karli Sjöberg" <[email protected]<mailto:[email protected]>> > To: "Alon Bar-Lev" <[email protected]<mailto:[email protected]>> > Cc: "Alex Lourie" <[email protected]<mailto:[email protected]>>, > [email protected]<mailto:[email protected]>, "Eli Mesika" > <[email protected]<mailto:[email protected]>> > Sent: Thursday, August 1, 2013 12:24:57 PM > Subject: Re: [Users] Fedora upgrading from 3.1 to 3.2 > > Ah, my bad, I botched that when doing the patch for "engine-setup" and hadn´t > made an original copy so I did "yum erase" and "yum install" again to get > back the original file, and yum was nice enough to erase and install blank > files for me, heh. Now I´m back again and once more updated those option > values in the database, but I´m still not able to log in. The log is > attached. The engine.log you sent is too short for typical log... Can we start from scratch? What exactly are you doing? What sequence? OK, to make a long story a little shorter. I´m trying to go from oVirt-3.1 to oVirt-3.2 on Fedora, so this is what I have done so far: (After Fedora is up to 18, and the old engine is up and running, I was able to log in) - Erase all of the 3.1-packages - Install the new 3.2-packages - Have to go about the dbase upgrade like this: # psql -U postgres engine $ ALTER FUNCTION uuid_generate_v1() OWNER TO engine; $ \q Or the upgrade won´t work. After that it´s possible to: # cd /usr/share/ovirt-engine/dbscripts # ./upgrade.sh -s localhost -p 5432 -u engine -d engine (lots of output) # engine-cleanup --dont-drop-db - Had to make modifications to "/usr/bin/engine-setup" for the setup to complete OK. @@ -1142,8 +1142,8 @@ # Run db backup utils.backupDB( db=basedefs.DB_NAME, - backup_file=dbBackupFile, - env=utils.getPgPassEnv(), + backupFile=dbBackupFile, + #env=utils.getPgPassEnv(), user=getDbUser(), host=getDbHostName(), port=getDbPort(), # engine-setup # systemctl stop ovirt-engine # psql -U engine engine $ update vdc_options set option_value = '/etc/pki/ovirt-engine/keys/engine.p12' where option_name = 'keystoreUrl'; $ update vdc_options set option_value = '/etc/pki/ovirt-engine/certs/engine.cer' where option_name = 'CertificateFileName'; $ update vdc_options set option_value = '/etc/pki/ovirt-engine/.truststore' where option_name = 'TruststoreUrl'; $ \q # cat /dev/null > /var/log/ovirt-engine/engine.log # systemctl restart ovirt-engine; tail -f /var/log/ovirt-engine/engine.log | tee /tmp/engine_start.log That is the log you now have seen. Thanks, Alon -- Med Vänliga Hälsningar ------------------------------------------------------------------------------- Karli Sjöberg Swedish University of Agricultural Sciences Box 7079 (Visiting Address Kronåsvägen 8) S-750 07 Uppsala, Sweden Phone: +46-(0)18-67 15 66 [email protected]<mailto:[email protected]>
_______________________________________________ Users mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/users

