[Engine-devel] Broken devel setup on Gentoo?
Alon Bar-Lev
alonbl at redhat.com
Wed Jan 1 09:23:27 UTC 2014
----- Original Message -----
> From: "Doron Fediuck" <dfediuck at redhat.com>
> To: "Alon Bar-Lev" <alonbl at redhat.com>
> Cc: engine-devel at ovirt.org
> Sent: Wednesday, January 1, 2014 11:18:45 AM
> Subject: Re: [Engine-devel] Broken devel setup on Gentoo?
>
>
> On 01/01/2014 10:57 AM, Alon Bar-Lev wrote:
> >
> > ----- Original Message -----
> >> From: "Doron Fediuck" <dfediuck at redhat.com>
> >> To: "Alon Bar-Lev" <alonbl at redhat.com>
> >> Cc: engine-devel at 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 at redhat.com>
> >>>> To: "Alon Bar-Lev" <alonbl at redhat.com>
> >>>> Cc: engine-devel at 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
> I'm not using PREFIX.
> What are the alternatives?
>
how come[1]?
$ make clean install-dev PREFIX=$HOME/ovirt-engine
so you are running it as root and install into /usr/local?
the entire concept of devenv is to use it as non root and install to user accessible directory (aka PREFIX).
if you want to start fresh (by removing the PREFIX) then you should also have fresh (empty) database.
Regards,
Alon Bar-Lev
[1] http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob;f=README.developer;hb=HEAD#l70
More information about the Engine-devel
mailing list