----- Original Message -----
>
>
> ----- Original Message -----
>>
>>
>> ----- Original Message -----
>>> From: "Steve Gordon" <sgordon(a)redhat.com>
>>> To: "Jason Brooks" <jbrooks(a)redhat.com>
>>> Cc: "Ofer Schreiber" <oschreib(a)redhat.com>, users(a)ovirt.org
>>> Sent: Tuesday, July 24, 2012 8:01:05 PM
>>> Subject: Re: [Users] Wondering about updating ovirt from 3.0 to
>>> 3.1
>>>
>>> ----- Original Message -----
>>>> From: "Jason Brooks" <jbrooks(a)redhat.com>
>>>> To: "Steve Gordon" <sgordon(a)redhat.com>
>>>> Cc: "Ofer Schreiber" <oschreib(a)redhat.com>,
users(a)ovirt.org
>>>> Sent: Tuesday, July 24, 2012 6:50:24 PM
>>>> Subject: Re: [Users] Wondering about updating ovirt from 3.0 to
>>>> 3.1
>>>>
>>>>
>>>>>>>
>>>>>>> What's the most sane upgrade advice we can offer to
oVirt
>>>>>>> 3.0
>>>>>>> users?
>>>>>>>
>>>>>>> Jason
>>>>>>
>>>>>> the "sane" upgrade path (nothing is sane in Fedora 16
to
>>>>>> Fedora
>>>>>> 17
>>>>>> upgrade):
>>>>>> 1. run engine-cleanup, do not drop DB
>>>>>> 2. remove all ovirt-engine rpms (including the JBoss one)
>>>>>> - please not that this will remove the PKI, so you'll
>>>>>> have
>>>>>> to
>>>>>> re-install your hosts
>>>>>> 3. Do the fedora upgrade
>>>>>> 4. install ovirt-engine rpms
>>>>>> 5. run engine-setup
>>>>>> - Give same passwords to the DB/admin user
>>>>>>
>>>>>> in this case, engine-setup should upgrade the db, and not
>>>>>> install
>>>>>> it.
>>>>>> we didn't tried this approach yet, so I'll appreciate
any
>>>>>> input.
>>>>>
>>>>> Can someone please try this out and verify it works? I'd like
>>>>> to
>>>>> include this process in the release notes.
>>>>
>>>> I've been testing this path today. I get all the way to step 5,
>>>> running
>>>> engine-setup, and the script fails out after asking for my
>>>> existing
>>>> db
>>>> password. The script asks for my password, over and over (I
>>>> tried
>>>> entering it like 25 times) and keeps on asking until I hit
>>>> enter
>>>> with
>>>> a
>>>> blank password a couple of times, at which point it fails out.
>>>>
>>>> Jason
>>>
>>> Hi Jason,
>>>
>>> Any chance you could upload the engine-setup log somewhere for us
>>> to
>>> take a look at?
>>
>> Here it is:
http://fpaste.org/m3rt/
>
> looks like something is missing.
> do you still have the .pgpass file under /root?
>
> I see in the log:
sent too early.
in the log I can see:
2012-07-24 21:44:44::DEBUG::common_utils::286::root:: cmd =
/usr/share/ovirt-engine/dbscripts/upgrade.sh -u engine -d engine_2012_07_24_21_44_44 -s
localhost -p 5432
2012-07-24 21:45:54::DEBUG::common_utils::291::root:: output = upgrade script detected a
change in Config, View or Stored Procedure...
Running pre-upgrade script upgrade/pre_upgrade/add_comment_col_to_schema_version.sql ...
Running pre-upgrade script upgrade/pre_upgrade/add_object_column_white_list_table.sql
...
Running pre-upgrade script upgrade/pre_upgrade/config.sql ...
2012-07-24 21:45:54::DEBUG::common_utils::292::root:: stderr = psql: fe_sendauth: no
password supplied
2012-07-24 21:45:54::DEBUG::common_utils::293::root:: retcode = 2
Also - I can't see any log about the multiple times you were asked to supply the DB
pass.
And yet it did prompt me multiple times for my password. I can take a
screen capture if that helps.
>
>>
>> Jason
>>
>>>
>>> Thanks,
>>>
>>> Steve
>>>
>>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>