Description of problem: Fail to upgrade from 3.1 si29.3 to 3.2 sf19 Version-Release number of selected component (if applicable): sf19 How reproducible: always Steps to Reproduce: 1. install 3.1 si29.3 2. update repos 3. yum update rhevm-setup 4. rhevm-upgrade Actual results: Failed to upgrade from 3.1 si29.3 -> 3.2 sf19 due to: **Error: Upgrade failed, rolling back** **Reason: One or more elements within Yum transaction failed** attaching upgrade log. from log: 2013-07-28 18:08:55::ERROR::common_utils::353::root:: YUM: FAIL: Error unpacking rpm package virtio-win-1.6.5-5.el6_4.noarch Expected results: success
Created attachment 779381 [details] upgrade log
Tareq According to the log, there was a problem with downloading virtio-win-1.6.5-5 rpm. Can you please repeat this test? It may be that the rpm in the repo is broken. Thanks.
I see no problem in sf19 repo, it is also unlikely be our issue. bug#693953? What happens if you try to update manually? # yum --disableplugin=versionlock update rhevm I will check this at your host.
Same issue with regular yum: (10/15): rhevm-notification-service-3.2.2-0.40.el6ev.noarch.rpm | 51 kB 00:00 (11/15): rhevm-restapi-3.2.2-0.40.el6ev.noarch.rpm | 1.1 MB 00:00 (12/15): rhevm-tools-common-3.2.2-0.40.el6ev.noarch.rpm | 11 kB 00:00 (13/15): rhevm-userportal-3.2.2-0.40.el6ev.noarch.rpm | 72 MB 00:01 (14/15): rhevm-webadmin-portal-3.2.2-0.40.el6ev.noarch.rpm | 93 MB 00:01 (15/15): virtio-win-1.6.5-5.el6_4.noarch.rpm | 45 MB 00:00 ------------------------------------------------------------------------------------------------------ Total 54 MB/s | 221 MB 00:04 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : otopi-1.0.0-2.el6ev.noarch 1/25 Installing : ovirt-host-deploy-1.0.0-2.el6ev.noarch 2/25 Installing : otopi-java-1.0.0-2.el6ev.noarch 3/25 Installing : ovirt-host-deploy-java-1.0.0-2.el6ev.noarch 4/25 Installing : virtio-win-1.6.5-5.el6_4.noarch 5/25 Error unpacking rpm package virtio-win-1.6.5-5.el6_4.noarch error: unpacking of archive failed on file /usr/share/virtio-win/virtio-win-1.6.5.iso;51f6d007: cpio: read Updating : rhevm-userportal-3.2.2-0.40.el6ev.noarch 6/25 Updating : rhevm-dbscripts-3.2.2-0.40.el6ev.noarch 7/25
Please remember that yum command: # yum --disableplugin=versionlock update rhevm Every time you have an issue with our upgrade that is yum related, please run this manually for elimination process.
# yum install virtio-win Loaded plugins: product-id, subscription-manager, versionlock This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register. Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package virtio-win.noarch 0:1.6.5-5.el6_4 will be installed --> Finished Dependency Resolution Dependencies Resolved ====================================================================================================== Package Arch Version Repository Size ====================================================================================================== Installing: virtio-win noarch 1.6.5-5.el6_4 qa-build-1 45 M Transaction Summary ====================================================================================================== Install 1 Package(s) Total download size: 45 M Installed size: 95 M Is this ok [y/N]: y Downloading Packages: virtio-win-1.6.5-5.el6_4.noarch.rpm | 45 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : virtio-win-1.6.5-5.el6_4.noarch 1/1 Error unpacking rpm package virtio-win-1.6.5-5.el6_4.noarch error: unpacking of archive failed on file /usr/share/virtio-win/virtio-win-1.6.5.iso;51f6d0bd: cpio: read Verifying : virtio-win-1.6.5-5.el6_4.noarch 1/1 Failed: virtio-win.noarch 0:1.6.5-5.el6_4 Complete!
# yum clean all does not help.
Changing the repo name does not help.
ulimit is not likely the problem. working at other computer. I am out of ideas, but this is generic yum issue, unrelated to ovirt.
You have the following in rhevm.repo: [qa-build-1] name=QA build baseurl=http://bob.eng.lab.tlv.redhat.com/builds/si29.3 enabled=1 gpgcheck=0 [qa-build-22] name=qa-build-22 baseurl=http://bob.eng.lab.tlv.redhat.com/builds/sf19 enabled=1 gpgcheck=0 Both repos have the same numbered virtio-win-1.6.5-5.el6_4.noarch package. Yum selects qa-build-1 (as probably the first one suppliying that package) so it installs it from si29.3, where the package is really broken: on my host: Running Transaction ... Error unpacking rpm package virtio-win-1.6.5-5.el6_4.noarch error: unpacking of archive failed on file /usr/share/virtio-win/virtio-win-1.6.5.iso;51f77a7b: cpio: read .... Failed: virtio-win.noarch 0:1.6.4-1.el6_4 virtio-win.noarch 0:1.6.5-5.el6_4 .... Complete! [root@vm-37-164 ~]# While in sf19 everything is ok: .... Total download size: 45 M Installed size: 95 M Is this ok [y/N]: y Downloading Packages: virtio-win-1.6.5-5.el6_4.noarch.rpm | 45 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : virtio-win-1.6.5-5.el6_4.noarch 1/1 Verifying : virtio-win-1.6.5-5.el6_4.noarch 1/1 Installed: virtio-win.noarch 0:1.6.5-5.el6_4 Closing as not a bug.
closing