----- Original Message -----
From: "Doron Fediuck" <dfediuck(a)redhat.com>
To: "Alon Bar-Lev" <alonbl(a)redhat.com>
Cc: engine-devel(a)ovirt.org
Sent: Wednesday, January 1, 2014 10:31:07 AM
Subject: Re: [Engine-devel] Broken devel setup on Gentoo?
On 12/31/2013 08:10 PM, Alon Bar-Lev wrote:
>
> ----- Original Message -----
>> From: "Doron Fediuck" <dfediuck(a)redhat.com>
>> To: "Alon Bar-Lev" <alonbl(a)redhat.com>
>> Cc: engine-devel(a)ovirt.org
>> Sent: Tuesday, December 31, 2013 7:17:40 PM
>> Subject: Re: [Engine-devel] Broken devel setup on Gentoo?
>>
>> An unrelated issue I noticed when moving from 3.3 branch to master I
>> re-built everything,
>> yet I was unable to login. I had to update the DB with a new password to
>> login.
>> I suspect theres another issue here.
>>
> I am unsure I follow, you cannot use the same prefix for both branches.
> What the exact sequence?
1. Built everything on ovirt-3.3 branch.
=> works well.
2. git checkout origin/master && git reset --hard origin/master && rm
-rf share bin etc usr var
3. Cherry pick patch from gerrit
4. make clean install-dev
5. run setup
=> I'd expect db to be recreated. If not then we cannot login to the system.
Are you removing the pki keys? the entire configuration? why not remove the entire
PREFIX?
Database will not re-created if already exist, there will be an attempt to upgrade it, and
as you removed the pki keys the password is cannot be decrypted.
If you remove PREFIX you should also drop/create database to start scratch, or just use
another empty database when installing.
Regards,
Alon