[Users] Upgrading ovirt-engine from Centos dre repo

Itamar Heim iheim at redhat.com
Mon Aug 13 16:38:38 UTC 2012


On 08/13/2012 07:06 PM, Neil wrote:
> Hi Itamar,
>
> Apologies for the late reply in coming back to you, below are the
> details you requested.
>
> On Fri, Aug 10, 2012 at 12:28 AM, Itamar Heim <iheim at redhat.com> wrote:
>> On 08/08/2012 01:04 PM, Neil wrote:
>>>
>>> Hi everyone,
>>>
>>> Sorry to re-post this, just not sure what to try next.
>>>
>>> ----- Original Message -----
>>>>
>>>> On Tue, Jul 31, 2012 at 1:04 PM, Itamar Heim <ih... at redhat.com>
>>>> wrote:
>>>>>
>>>>> you need to run the upgrade script since the setup locks the rpm's
>>>>> to make
>>>>> sure the code isn't updated without updating the db in sync
>>>
>>>
>>> ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-dbscripts-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-tools-common-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-backend-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-log-collector-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-iso-uploader-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-cli-3.1.0.1-1alpha.el6.noarch
>>> ovirt-engine-jbossas-1.2-2.fc16.x86_64
>>> ovirt-engine-restapi-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-config-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-image-uploader-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-sdk-3.1.0.1-1alpha.el6.noarch
>>> ovirt-engine-userportal-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-notification-service-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-genericapi-3.1.0_0001-1.8.el6.x86_64
>>> ovirt-engine-setup-3.1.0_0001-1.8.el6.x86_64
>>>
>>>
>>> After running... "engine-upgrade --force-current-setup-rpm
>>> --no-yum-rollback"
>>> The upgrade goes through and completes, however at the end if I check
>>> my rpm versions they are all still the same as what they were, as
>>> above.
>>> Seems like the script isn't picking up the later versions available in
>>> the dre repo, I have also updated to the latest dre repo as well just
>>> in case.
>>
>>
>> and without the force-current-setup?
>
> I get the following...
> 12 Updates available:
>   * ovirt-engine-3.1.0-3.16.el6.noarch
>   * ovirt-engine-backend-3.1.0-3.16.el6.noarch
>   * ovirt-engine-config-3.1.0-3.16.el6.noarch
>   * ovirt-engine-dbscripts-3.1.0-3.16.el6.noarch
>   * ovirt-engine-genericapi-3.1.0-3.16.el6.noarch
>   * ovirt-engine-notification-service-3.1.0-3.16.el6.noarch
>   * ovirt-engine-restapi-3.1.0-3.16.el6.noarch
>   * ovirt-engine-setup-3.1.0-3.16.el6.noarch
>   * ovirt-engine-tools-common-3.1.0-3.16.el6.noarch
>   * ovirt-engine-userportal-3.1.0-3.16.el6.noarch
>   * ovirt-engine-webadmin-portal-3.1.0-3.16.el6.noarch
>   * vdsm-bootstrap-4.10.0-0.283.13.el6.noarch
>
> Error: New ovirt-engine-setup rpm available via yum.
> Please execute `yum update ovirt-engine-setup`, then re-execute
> 'engine-upgrade'.
> To use the current ovirt-engine-setup rpm, execute 'engine-upgrade
> --force-current-setup-rpm'.
>
>> are the .x86_64 rpms the ones installed?
>
> Yes
>
>> install log?
>
> cat /var/log/ovirt-engine/ovirt-engine-upgrade_2012_08_13_17_48_44.log
> 2012-08-13 17:48:44::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB host value
> 2012-08-13 17:48:44::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB port value
> 2012-08-13 17:48:44::DEBUG::common_utils::576::root:: found existing
> pgpass file, fetching DB admin value
> 2012-08-13 17:48:44::INFO::dellsysid::23::trace.libsmbios_c._common::
> ENTER _errorOnZeroFN(565, <_FuncPtr object at 0x15c91f0>, (), )
> 2012-08-13 17:48:44::INFO::_common::55::trace.libsmbios_c._common::
> RAN CTYPES FUNCTION: sysinfo_get_dell_system_id
> 2012-08-13 17:48:44::INFO::_common::54::trace.libsmbios_c._common::
> LEAVE _errorOnZeroFN --> 565
>
> 2012-08-13 17:48:44::DEBUG::engine-upgrade::290::root:: Yum list updates started
> 2012-08-13 17:48:44::DEBUG::engine-upgrade::261::root:: Yum unlock started
> 2012-08-13 17:48:44::DEBUG::engine-upgrade::273::root:: Yum unlock
> completed successfully
> 2012-08-13 17:48:44::DEBUG::engine-upgrade::296::root:: Getting list
> of packages to upgrade
> 2012-08-13 18:00:14::DEBUG::engine-upgrade::248::root:: Yum lock started
> 2012-08-13 18:00:14::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-genericapi'
> 2012-08-13 18:00:14::DEBUG::common_utils::335::root:: output =
> ovirt-engine-genericapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:14::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:14::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:14::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine'
> 2012-08-13 18:00:14::DEBUG::common_utils::335::root:: output =
> ovirt-engine-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:14::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:14::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:14::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-backend'
> 2012-08-13 18:00:14::DEBUG::common_utils::335::root:: output =
> ovirt-engine-backend-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:14::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:14::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:14::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-jboss-deps'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-jboss-deps-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-webadmin-portal'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-webadmin-portal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-userportal'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-userportal-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-restapi'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-restapi-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-config'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-config-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-tools-common'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-tools-common-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::common_utils::309::root:: Executing
> command --> '/bin/rpm -q ovirt-engine-notification-service'
> 2012-08-13 18:00:15::DEBUG::common_utils::335::root:: output =
> ovirt-engine-notification-service-3.1.0_0001-1.8.el6.x86_64
>
> 2012-08-13 18:00:15::DEBUG::common_utils::336::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::337::root:: retcode = 0
> 2012-08-13 18:00:15::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-13 18:00:15::DEBUG::common_utils::291::root:: output =
> 2012-08-13 18:00:15::DEBUG::common_utils::292::root:: stderr =
> 2012-08-13 18:00:15::DEBUG::common_utils::293::root:: retcode = 0
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::258::root:: Yum lock
> completed successfully
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::304::root:: 12 Packages
> marked for update:
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::305::root::
> ['ovirt-engine-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-backend-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-config-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-dbscripts-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-genericapi-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-notification-service-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-restapi-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-setup-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-tools-common-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-userportal-3.1.0-3.16.el6.noarch',
> 'ovirt-engine-webadmin-portal-3.1.0-3.16.el6.noarch',
> 'vdsm-bootstrap-4.10.0-0.283.13.el6.noarch']
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::311::root:: Installed packages:
> 2012-08-13 18:00:15::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.10.0-0.191.9.el6.noarch']
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::314::root:: Yum list
> updated completed successfully
> 2012-08-13 18:00:15::DEBUG::engine-upgrade::604::root::
> Error: New ovirt-engine-setup rpm available via yum.
> Please execute `yum update ovirt-engine-setup`, then re-execute
> 'engine-upgrade'.
> To use the current ovirt-engine-setup rpm, execute 'engine-upgrade
> --force-current-setup-rpm'.
>
> Please shout if you need any further details.
>
> Thank you.
>
> Regards.
>
> Neil Wilson.
>

ok, as stated before, this is an upgrade between a very early build from 
before dropping the x86_64.
iirc, this isn't a build which was released by ovirt, rather from a 
specific repo.
maybe touch base with the repo owner on how this is supposed to be 
worked from?



More information about the Users mailing list