[Users] engine-update problem

Sandro Bonazzola sbonazzo at redhat.com
Thu Jun 27 14:03:53 UTC 2013


Il 27/06/2013 15:48, Juan Pablo Lorier ha scritto:
> Sandro,
>
> I've removed dreyou's repo and used ovirt stable. As conflicts were
> detected in the ovirt-engine-setup reinstall, I had to remove
> ovirt-engine and install it back from ovirt's repo so I now have the
> latest rpms and engine-upgrade won't upgrade the database.

I would have stopped you before removing ovirt-engine if I'd known about
the conflict.
Do you have a backup of the certificates?


> So now the situation is that I have and upgraded 3.2 and then rolled
> back to 3.1 database, apache is not starting as certs were removed in
> the reinstall (I guess).
> Now the question is how do I force engine-upgrade to do the database
> upgrade and if I have to manually create the certs or if the engine has
> someway to do that for me.
> Regards,
>
> On 27/06/13 08:50, Sandro Bonazzola wrote:
>> Il 26/06/2013 19:56, Juan Pablo Lorier ha scritto:
>>> Hi Sandro,
>>>
>>> I'm finallyl back at the office and started working on the upgrade.
>>> You'r suggestion worked but I have a different problem now.
>>> This is the output of the engine-upgrade
>>>
>>> Updating service configuration...                       [ ERROR ]
>>>
>>>  **Error: Upgrade failed, rolling back**
>>>  **Reason: Can't find web config file**
>>>
>>> In the upgrade log I found this:
>>>
>>> 2013-06-26 13:58:24::ERROR::engine-upgrade::1111::root:: Traceback (most
>>> recent call last):
>>>   File "/usr/bin/engine-upgrade", line 1101, in main
>>>     runFunc([utils.updateEngineSysconfig], MSG_INFO_UPDATE_ENGINE_SYSCONFIG)
>>>   File "/usr/bin/engine-upgrade", line 604, in runFunc
>>>     func()
>>>   File "/usr/share/ovirt-engine/scripts/common_utils.py", line 1695, in
>>> updateEngineSysconfig
>>>     raise Exception("Can't find web config file")
>>> Exception: Can't find web config file
>>>
>>> I don't know what web config file is it referring to.
>>> Do you want me to attach the full log?
>>> Regard,
>>>
>>> Juan Pablo
>>>
>> Can you try to use engine-upgrade from stable ovirt repo instead of dreyou?
>> Or upgrade ovirt-engine-setup to latest 3.2.2?
>> I can't find MSG_INFO_UPDATE_ENGINE_SYSCONFIG in engine_3.2 branch.
>>


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com




More information about the Users mailing list