[Users] Upgrading ovirt-engine from Centos dre repo

Neil nwilson123 at gmail.com
Mon Aug 6 13:16:19 UTC 2012


On Mon, Aug 6, 2012 at 3:07 PM, Neil <nwilson123 at gmail.com> wrote:
> Hi guys,
>
> I've finally got round to running the engine-upgrade and it seems I've
> encountered an issue...
>
> On Thu, Aug 2, 2012 at 10:45 PM, Justin Clift <jclift at redhat.com> wrote:
>> On 02/08/2012, at 4:47 PM, Neil wrote:
>> <snip>
>>> We are running mission critical VM's on the install, so I can't risk
>>> something going wrong and the VM's stop running or access to them is
>>> lost.
>>
>> Ouch. :(
>>
>> I'm not all that in depth with oVirt, but do mess around with it a
>> bit for compatibility testing with Aeolus (a different project).
>>
>> From what I've seen so far, oVirt 3.0 is pretty stable, and I'd be
>> comfortable running VM's on that.
>>
>> oVirt 3.1 though... doesn't seem all that stable yet.  Wouldn't
>> (personally) dare running anything even close to important on it.
>>
>> Hope you figure out a way to make things work. :)
>>
>> Regards and best wishes,
>>
>> Justin Clift
>>
>> --
>> Aeolus Community Manager
>> http://www.aeolusproject.org
>>
>
>
> After eventually running "engine-upgrade --force-current-setup-rpm
> --no-yum-rollback" the upgrade script seems to have stopped at...
>
> Backing Up Database...                                   [ DONE ]
> Rename Database...                                       [ DONE ]
> Updating rpms...                                         [ DONE ]
> Updating Database...                                     [ DONE ]
> Restore Database name...                                 [ DONE ]
> Running post install configuration...                    [ DONE ]
> Starting JBoss...
>
>
> Below is the log upgrade log.
>
> cat /var/log/ovirt-engine/ovirt-engine-upgrade_2012_08_06_14_41_17.log
> 2012-08-06 14:41:17::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB host value
> 2012-08-06 14:41:17::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB port value
> 2012-08-06 14:41:17::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB admin value
> 2012-08-06 14:41:17::INFO::dellsysid::23::trace.libsmbios_c._common::
> ENTER _errorOnZeroFN(565, <_FuncPtr object at 0x140c1f0>, (), )
> 2012-08-06 14:41:17::INFO::_common::55::trace.libsmbios_c._common::
> RAN CTYPES FUNCTION: sysinfo_get_dell_system_id
> 2012-08-06 14:41:17::INFO::_common::54::trace.libsmbios_c._common::
> LEAVE _errorOnZeroFN --> 565
>
> 2012-08-06 14:41:18::DEBUG::engine-upgrade::290::root:: Yum list updates started
> 2012-08-06 14:41:18::DEBUG::engine-upgrade::261::root:: Yum unlock started
> 2012-08-06 14:41:18::DEBUG::engine-upgrade::273::root:: Yum unlock
> completed successfully
> 2012-08-06 14:41:18::DEBUG::engine-upgrade::296::root:: Getting list
> of packages to upgrade
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::248::root:: Yum lock started
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-genericapi'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-genericapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-backend'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-backend-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-jboss-deps'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-webadmin-portal'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-userportal'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-userportal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-restapi'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-restapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-config'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-config-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-tools-common'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-tools-common-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-notification-service'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> ovirt-engine-notification-service-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::common_utils::286::root:: cmd = /bin/rpm
> -q ovirt-engine-genericapi ovirt-engine ovirt-engine-backend
> ovirt-engine-jboss-deps ovirt-engine-webadmin-portal
> ovirt-engine-userportal ovirt-engine-restapi ovirt-engine-config
> ovirt-engine-tools-common ovirt-engine-notification-service >>
> /etc/yum/pluginconf.d/versionlock.list
> 2012-08-06 14:42:39::DEBUG::common_utils::291::root:: output =
> 2012-08-06 14:42:39::DEBUG::common_utils::292::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::258::root:: Yum lock
> completed successfully
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::304::root:: 12 Packages
> marked for update:
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::305::root::
> ['ovirt-engine-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-backend-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-config-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-dbscripts-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-genericapi-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-notification-service-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-restapi-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-setup-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-tools-common-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-userportal-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-webadmin-portal-3.1.0-3.15.el6.noarch',
> 'vdsm-bootstrap-4.10.0-0.191.9.el6.noarch']
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::311::root:: Installed packages:
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::312::root::
> ['ovirt-engine-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-backend-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-config-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-dbscripts-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-genericapi-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-iso-uploader-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-log-collector-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-notification-service-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-restapi-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-setup-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-tools-common-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-userportal-3.1.0_0001-1.8.el6.x86_64',
> 'ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.x86_64',
> 'vdsm-bootstrap-4.9.6-0.150.git63061a9.el6.noarch']
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::314::root:: Yum list
> updated completed successfully
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::324::root:: Yum
> rollback-avail started
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::330::root:: 12 Packages
> available in yum:
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::331::root::
> ['ovirt-engine-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-backend-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-config-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-dbscripts-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-genericapi-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-notification-service-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-restapi-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-setup-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-tools-common-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-userportal-3.1.0-3.15.el6.noarch',
> 'ovirt-engine-webadmin-portal-3.1.0-3.15.el6.noarch',
> 'vdsm-bootstrap-4.10.0-0.191.9.el6.noarch']
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::337::root::
> ovirt-engine-3.1.0_0001-1.8.el6.x86_64 not available in yum
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::162::root:: checking the
> status of jbossas service
> 2012-08-06 14:42:39::DEBUG::common_utils::309::root:: Executing
> command --> '/sbin/service jboss-as status'
> 2012-08-06 14:42:39::DEBUG::common_utils::335::root:: output =
> jboss-as is running (pid 6812)
>
> 2012-08-06 14:42:39::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:39::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::167::root:: jbossas
> service is up and running
> 2012-08-06 14:42:39::DEBUG::engine-upgrade::141::root:: asking user:
> Would you like to proceed? (yes|no):
> 2012-08-06 14:42:49::DEBUG::engine-upgrade::145::root:: user answered: yes
> 2012-08-06 14:42:49::DEBUG::engine-upgrade::477::root:: stopping jboss service.
> 2012-08-06 14:42:49::DEBUG::common_utils::309::root:: Executing
> command --> '/sbin/service jboss-as stop'
> 2012-08-06 14:42:50::DEBUG::common_utils::335::root:: output =
> Stopping jboss-as: [  OK  ]
>
> 2012-08-06 14:42:50::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:50::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:50::DEBUG::engine-upgrade::516::root:: Verifing
> update is related to db
> 2012-08-06 14:42:50::DEBUG::engine-upgrade::523::root::
> isUpdateRelatedToDb value is True
> 2012-08-06 14:42:50::DEBUG::engine-upgrade::414::root:: DB Backup started
> 2012-08-06 14:42:50::DEBUG::common_utils::309::root:: Executing
> command --> '/usr/bin/pg_dump -C -E UTF8 --column-inserts
> --disable-dollar-quoting --disable-triggers -U postgres -h localhost
> -p 5432 --format=p -f
> /usr/share/ovirt-engine/db-backups/ovirt-engine_db_backup_2012_08_06_14_41_18.sql
> engine'
> 2012-08-06 14:42:51::DEBUG::common_utils::335::root:: output =
> 2012-08-06 14:42:51::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:51::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::420::root:: DB Backup
> completed successfully
> 2012-08-06 14:42:51::DEBUG::common_utils::350::root:: running sql
> query 'ALTER DATABASE engine RENAME TO engine_2012_08_06_14_41_18' on
> db server: 'localhost'.
> 2012-08-06 14:42:51::DEBUG::common_utils::286::root:: cmd =
> /usr/bin/psql -h localhost -p 5432 -U postgres -d postgres -c "ALTER
> DATABASE engine RENAME TO engine_2012_08_06_14_41_18"
> 2012-08-06 14:42:51::DEBUG::common_utils::291::root:: output = ALTER DATABASE
>
> 2012-08-06 14:42:51::DEBUG::common_utils::292::root:: stderr =
> 2012-08-06 14:42:51::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::364::root:: Yum getLatestTid started
> 2012-08-06 14:42:51::DEBUG::common_utils::309::root:: Executing
> command --> '/usr/bin/yum history list ovirt-engine'
> 2012-08-06 14:42:51::DEBUG::common_utils::335::root:: output = Loaded
> plugins: dellsysid, fastestmirror, refresh-packagekit, security,
>               : versionlock
> ID     | Login user               | Date and time    | Action(s)      | Altered
> -------------------------------------------------------------------------------
>      7 | root <root>              | 2012-05-23 18:38 | Install        |   50
> history list
>
> 2012-08-06 14:42:51::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:51::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::386::root:: Found TID: 7
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::387::root:: Yum
> getLatestTid completed successfully
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::261::root:: Yum unlock started
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::273::root:: Yum unlock
> completed successfully
> 2012-08-06 14:42:51::DEBUG::engine-upgrade::281::root:: Yum update started
> 2012-08-06 14:42:51::DEBUG::common_utils::309::root:: Executing
> command --> '/usr/bin/yum update -q -y
> ovirt-engine-notification-service ovirt-engine-genericapi ovirt-engine
> ovirt-engine-tools-common ovirt-engine-backend
> ovirt-engine-iso-uploader ovirt-engine-jboss-deps
> ovirt-engine-log-collector ovirt-engine-userportal
> ovirt-engine-restapi ovirt-engine-config ovirt-engine-setup
> ovirt-engine-dbscripts vdsm-bootstrap ovirt-engine-webadmin-portal'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::284::root:: Yum update
> completed successfully
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::248::root:: Yum lock started
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-genericapi'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-genericapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-backend'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-backend-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-jboss-deps'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-webadmin-portal'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-userportal'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-userportal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-restapi'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-restapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-config'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-config-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-tools-common'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-tools-common-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-notification-service'
> 2012-08-06 14:42:56::DEBUG::common_utils::335::root:: output =
> ovirt-engine-notification-service-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-06 14:42:56::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::common_utils::286::root:: cmd = /bin/rpm
> -q ovirt-engine-genericapi ovirt-engine ovirt-engine-backend
> ovirt-engine-jboss-deps ovirt-engine-webadmin-portal
> ovirt-engine-userportal ovirt-engine-restapi ovirt-engine-config
> ovirt-engine-tools-common ovirt-engine-notification-service >>
> /etc/yum/pluginconf.d/versionlock.list
> 2012-08-06 14:42:56::DEBUG::common_utils::291::root:: output =
> 2012-08-06 14:42:56::DEBUG::common_utils::292::root:: stderr =
> 2012-08-06 14:42:56::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::258::root:: Yum lock
> completed successfully
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::516::root:: Verifing
> update is related to db
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::523::root::
> isUpdateRelatedToDb value is True
> 2012-08-06 14:42:56::DEBUG::engine-upgrade::445::root:: DB Update started
> 2012-08-06 14:42:56::DEBUG::common_utils::309::root:: Executing
> command --> '/usr/share/ovirt-engine/dbscripts/upgrade.sh -s localhost
> -p 5432 -u postgres -d engine_2012_08_06_14_41_18'
> 2012-08-06 14:42:57::DEBUG::common_utils::335::root:: output =
> database is up to date.
> Done.
>
> 2012-08-06 14:42:57::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:57::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:57::DEBUG::engine-upgrade::452::root:: DB Update
> completed successfully
> 2012-08-06 14:42:57::DEBUG::common_utils::350::root:: running sql
> query 'ALTER DATABASE engine_2012_08_06_14_41_18 RENAME TO engine' on
> db server: 'localhost'.
> 2012-08-06 14:42:57::DEBUG::common_utils::286::root:: cmd =
> /usr/bin/psql -h localhost -p 5432 -U postgres -d postgres -c "ALTER
> DATABASE engine_2012_08_06_14_41_18 RENAME TO engine"
> 2012-08-06 14:42:57::DEBUG::common_utils::291::root:: output = ALTER DATABASE
>
> 2012-08-06 14:42:57::DEBUG::common_utils::292::root:: stderr =
> 2012-08-06 14:42:57::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-06 14:42:57::DEBUG::engine-upgrade::491::root:: Running post script
> 2012-08-06 14:42:57::DEBUG::common_utils::678::root:: retrieving build
> number for ovirt-engine rpm
> 2012-08-06 14:42:57::DEBUG::common_utils::286::root:: cmd = rpm -q
> --queryformat '%{VERSION}-%{RELEASE}' ovirt-engine
> 2012-08-06 14:42:57::DEBUG::common_utils::291::root:: output =
> 3.1.0_0001-1.8.el6
> 2012-08-06 14:42:57::DEBUG::common_utils::292::root:: stderr =
> 2012-08-06 14:42:57::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-06 14:42:57::DEBUG::common_utils::654::root:: updating vdc
> option ProductRPMVersion to: 3.1.0_0001-1.8.el6
> 2012-08-06 14:42:57::DEBUG::common_utils::309::root:: Executing
> command --> '/usr/share/ovirt-engine/engine-config/engine-config -s
> ProductRPMVersion=3.1.0_0001-1.8.el6 --cver=general -p
> /usr/share/ovirt-engine/conf/engine-config-install.properties'
> 2012-08-06 14:42:58::DEBUG::common_utils::335::root:: output =
> 2012-08-06 14:42:58::DEBUG::common_utils::336::root:: stderr =
> 2012-08-06 14:42:58::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-06 14:42:58::DEBUG::engine-upgrade::494::root:: Post script
> completed successfully
> 2012-08-06 14:42:58::DEBUG::engine-upgrade::486::root:: starting jboss service.
> 2012-08-06 14:42:58::DEBUG::common_utils::309::root:: Executing
> command --> '/sbin/service jboss-as start'
>
> Any ideas what to try next?
>
> Thanks.
>
> Regards.
>
> Neil Wilson.

I eventually decided to manually intervene and on another console I
did a /etc/init.d/jboss-as stop and suddenly the upgrade script
responded and said it had completed.

Backing Up Database...                                   [ DONE ]
Rename Database...                                       [ DONE ]
Updating rpms...                                         [ DONE ]
Updating Database...                                     [ DONE ]
Restore Database name...                                 [ DONE ]
Running post install configuration...                    [ DONE ]
Starting JBoss...

                                        [ DONE ]

oVirt-Engine upgrade completed successfully!

* Upgrade log available at
/var/log/ovirt-engine/ovirt-engine-upgrade_2012_08_06_14_41_17.log
* DB Backup available at
/usr/share/ovirt-engine/db-backups/ovirt-engine_db_backup_2012_08_06_14_41_18.sql

On closer inspection I see that no package updates were done
however...when I re-run the upgrade it still says 11 updates are
available and my installed rpm versions are still the same.

Any thoughts/ideas?

Thanks in advance.

Regards.

Neil



More information about the Users mailing list