[Engine-devel] upgrade failing with latest master

Alon Bar-Lev alonbl at redhat.com
Wed Apr 10 20:32:34 UTC 2013


Is this fedora 17 or 18?

I guess it is fedora 17.

----- Original Message -----
> From: "Dead Horse" <deadhorseconsulting at gmail.com>
> To: engine-devel at ovirt.org
> Sent: Wednesday, April 10, 2013 11:23:10 PM
> Subject: [Engine-devel] upgrade failing with latest master
> 
> logs attached
> 
> First attempt:
> 2013-04-10 13:57:32::ERROR::common_utils::355::root:: YUM: FAIL: Error in
> PREUN scriptlet in rpm package ovirt-engine-backend-3.3.0-15.fc17.noarch
> 2013-04-10 13:57:32::DEBUG::common_utils::347::root:: YUM: VERB: Script sink:
> /var/tmp/rpm-tmp.J0HyUz: line 1: fg: no job control
> error: %preun(ovirt-engine-backend-3.3.0-15.fc17.noarch) scriptlet failed,
> exit status 1
> 2013-04-10 13:57:32::DEBUG::common_utils::347::root:: YUM: VERB: Done:
> ovirt-engine-backend-3.3.0-15.fc17.noarch
> 
> Second attempt:
> 2013-04-10 15:12:11::DEBUG::common_utils::347::root:: YUM: VERB: Building
> transaction
> 2013-04-10 15:12:12::ERROR::common_utils::355::root:: YUM: FAIL:
> [u'ovirt-engine-backend-3.3.0-14.fc17.noarch requires ovirt-engine =
> 3.3.0-14.fc17']
> 2013-04-10 15:12:12::DEBUG::common_utils::347::root:: YUM: VERB: Performing
> rollback
> 2013-04-10 15:12:12::DEBUG::common_utils::1410::root:: Locking rpms in
> yum-version-lock
> 2013-04-10 15:12:12::ERROR::engine-upgrade::1299::root:: Traceback (most
> recent call last):
> File "/bin/engine-upgrade", line 1292, in <module>
> main(options)
> File "/bin/engine-upgrade", line 1142, in main
> runFunc([rhyum.begin], MSG_INFO_CHECK_UPDATE)
> File "/bin/engine-upgrade", line 617, in runFunc
> func()
> File "/bin/engine-upgrade", line 310, in begin
> self.emptyTransaction = not self._miniyum.buildTransaction()
> File "/usr/share/ovirt-engine/scripts/miniyum.py", line 761, in
> buildTransaction
> raise yum.Errors.YumBaseError(msg)
> YumBaseError: [u'ovirt-engine-backend-3.3.0-14.fc17.noarch requires
> ovirt-engine = 3.3.0-14.fc17']
> 
> Realizing things were now hosed:
> [root at ovirtfoo /]# yum erase ovirt-* otopi-*
> Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
> Resolving Dependencies
> --> Running transaction check
> ---> Package otopi.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package otopi-java.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-engine.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-backend.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-backend.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-engine-cli.noarch 0:3.3.0.1-15.fc17 will be erased
> ---> Package ovirt-engine-dbscripts.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-restapi.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-sdk.noarch 0:3.3.0.1-15.fc17 will be erased
> ---> Package ovirt-engine-setup.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-engine-tools.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-userportal.noarch 0:3.3.0-14.fc17 will be erased
> ---> Package ovirt-engine-webadmin-portal.noarch 0:3.3.0-14.fc17 will be
> erased
> ---> Package ovirt-host-deploy.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-host-deploy-java.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-image-uploader.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-iso-uploader.noarch 0:3.3.0-15.fc17 will be erased
> ---> Package ovirt-log-collector.noarch 0:3.3.0-15.fc17 will be erased
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ================================================================================
> Package Arch Version Repository Size
> ================================================================================
> Removing:
> otopi noarch 3.3.0-15.fc17 @ovirt-engine 463 k
> otopi-java noarch 3.3.0-15.fc17 @ovirt-engine 27 k
> ovirt-engine noarch 3.3.0-14.fc17 @ovirt-engine 1.3 M
> ovirt-engine-backend noarch 3.3.0-14.fc17 @ovirt-engine 20 M
> ovirt-engine-backend noarch 3.3.0-15.fc17 @ovirt-engine 20 M
> ovirt-engine-cli noarch 3.3.0.1-15.fc17 @ovirt-engine 557 k
> ovirt-engine-dbscripts noarch 3.3.0-14.fc17 @ovirt-engine 816 k
> ovirt-engine-restapi noarch 3.3.0-14.fc17 @ovirt-engine 1.0 M
> ovirt-engine-sdk noarch 3.3.0.1-15.fc17 @ovirt-engine 3.1 M
> ovirt-engine-setup noarch 3.3.0-15.fc17 @ovirt-engine 653 k
> ovirt-engine-tools noarch 3.3.0-14.fc17 @ovirt-engine 178 k
> ovirt-engine-userportal noarch 3.3.0-14.fc17 @ovirt-engine 23 M
> ovirt-engine-webadmin-portal noarch 3.3.0-14.fc17 @ovirt-engine 32 M
> ovirt-host-deploy noarch 3.3.0-15.fc17 @ovirt-engine 211 k
> ovirt-host-deploy-java noarch 3.3.0-15.fc17 @ovirt-engine 11 k
> ovirt-image-uploader noarch 3.3.0-15.fc17 @ovirt-engine 923 k
> ovirt-iso-uploader noarch 3.3.0-15.fc17 @ovirt-engine 98 k
> ovirt-log-collector noarch 3.3.0-15.fc17 @ovirt-engine 133 k
> 
> Transaction Summary
> ================================================================================
> Remove 18 Packages
> 
> Installed size: 104 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Check
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Erasing : ovirt-engine-backend.noarch 1/18
> Erasing : ovirt-engine-dbscripts-3.3.0-14.fc17.noarch 2/18
> Erasing : ovirt-engine-restapi-3.3.0-14.fc17.noarch 3/18
> Erasing : ovirt-engine-setup-3.3.0-15.fc17.noarch 4/18
> Erasing : ovirt-engine-tools-3.3.0-14.fc17.noarch 5/18
> Erasing : ovirt-engine-userportal-3.3.0-14.fc17.noarch 6/18
> Erasing : ovirt-engine-3.3.0-14.fc17.noarch 7/18
> warning: /etc/ovirt-engine/engine.conf saved as
> /etc/ovirt-engine/engine.conf.rpmsave
> Erasing : ovirt-engine-webadmin-portal-3.3.0-14.fc17.noarch 8/18
> Erasing : ovirt-host-deploy-java-3.3.0-15.fc17.noarch 9/18
> Erasing : otopi-java-3.3.0-15.fc17.noarch 10/18
> Erasing : ovirt-host-deploy-3.3.0-15.fc17.noarch 11/18
> Erasing : ovirt-image-uploader-3.3.0-15.fc17.noarch 12/18
> warning: /etc/ovirt-engine/imageuploader.conf saved as
> /etc/ovirt-engine/imageuploader.conf.rpmsave
> Erasing : ovirt-iso-uploader-3.3.0-15.fc17.noarch 13/18
> warning: /etc/ovirt-engine/isouploader.conf saved as
> /etc/ovirt-engine/isouploader.conf.rpmsave
> Erasing : ovirt-log-collector-3.3.0-15.fc17.noarch 14/18
> warning: /etc/ovirt-engine/logcollector.conf saved as
> /etc/ovirt-engine/logcollector.conf.rpmsave
> Erasing : ovirt-engine-cli-3.3.0.1-15.fc17.noarch 15/18
> Erasing : ovirt-engine-sdk-3.3.0.1-15.fc17.noarch 16/18
> Erasing : otopi-3.3.0-15.fc17.noarch 17/18
> Error in PREUN scriptlet in rpm package ovirt-engine-backend
> /var/tmp/rpm-tmp.uFqX1f: line 1: fg: no job control
> error: %preun(ovirt-engine-backend-3.3.0-15.fc17.noarch) scriptlet failed,
> exit status 1
> Verifying : otopi-3.3.0-15.fc17.noarch 1/18
> Verifying : otopi-java-3.3.0-15.fc17.noarch 2/18
> Verifying : ovirt-log-collector-3.3.0-15.fc17.noarch 3/18
> Verifying : ovirt-engine-webadmin-portal-3.3.0-14.fc17.noarch 4/18
> Verifying : ovirt-host-deploy-3.3.0-15.fc17.noarch 5/18
> Verifying : ovirt-engine-tools-3.3.0-14.fc17.noarch 6/18
> Verifying : ovirt-engine-setup-3.3.0-15.fc17.noarch 7/18
> Verifying : ovirt-engine-sdk-3.3.0.1-15.fc17.noarch 8/18
> Verifying : ovirt-engine-restapi-3.3.0-14.fc17.noarch 9/18
> Verifying : ovirt-engine-userportal-3.3.0-14.fc17.noarch 10/18
> Verifying : ovirt-host-deploy-java-3.3.0-15.fc17.noarch 11/18
> Verifying : ovirt-image-uploader-3.3.0-15.fc17.noarch 12/18
> Verifying : ovirt-iso-uploader-3.3.0-15.fc17.noarch 13/18
> Verifying : ovirt-engine-cli-3.3.0.1-15.fc17.noarch 14/18
> ovirt-engine-backend-3.3.0-15.fc17.noarch was supposed to be removed but is
> not!
> Verifying : ovirt-engine-backend-3.3.0-15.fc17.noarch 15/18
> Verifying : ovirt-engine-backend-3.3.0-14.fc17.noarch 16/18
> Verifying : ovirt-engine-3.3.0-14.fc17.noarch 17/18
> Verifying : ovirt-engine-dbscripts-3.3.0-14.fc17.noarch 18/18
> 
> Removed:
> otopi.noarch 0:3.3.0-15.fc17
> otopi-java.noarch 0:3.3.0-15.fc17
> ovirt-engine.noarch 0:3.3.0-14.fc17
> ovirt-engine-backend.noarch 0:3.3.0-14.fc17
> ovirt-engine-cli.noarch 0:3.3.0.1-15.fc17
> ovirt-engine-dbscripts.noarch 0:3.3.0-14.fc17
> ovirt-engine-restapi.noarch 0:3.3.0-14.fc17
> ovirt-engine-sdk.noarch 0:3.3.0.1-15.fc17
> ovirt-engine-setup.noarch 0:3.3.0-15.fc17
> ovirt-engine-tools.noarch 0:3.3.0-14.fc17
> ovirt-engine-userportal.noarch 0:3.3.0-14.fc17
> ovirt-engine-webadmin-portal.noarch 0:3.3.0-14.fc17
> ovirt-host-deploy.noarch 0:3.3.0-15.fc17
> ovirt-host-deploy-java.noarch 0:3.3.0-15.fc17
> ovirt-image-uploader.noarch 0:3.3.0-15.fc17
> ovirt-iso-uploader.noarch 0:3.3.0-15.fc17
> ovirt-log-collector.noarch 0:3.3.0-15.fc17
> 
> Failed:
> ovirt-engine-backend.noarch 0:3.3.0-15.fc17
> 
> Complete!
> [root at ovirtfoo /]# rpm -qa | grep oto
> protobuf-java-2.4.1-12.fc17.x86_64
> libgphoto2-2.4.14-1.fc17.x86_64
> [root at ovirtfoo /]# rpm -qa | grep ovirt
> ovirt-engine-backend-3.3.0-15.fc17.noarch
> [root at ovirtfoo /]# yum erase ovirt-engine-backend-3.3.0-15.fc17.noarch
> Loaded plugins: langpacks, presto, refresh-packagekit, versionlock
> Resolving Dependencies
> --> Running transaction check
> ---> Package ovirt-engine-backend.noarch 0:3.3.0-15.fc17 will be erased
> --> Finished Dependency Resolution
> 
> Dependencies Resolved
> 
> ================================================================================
> Package Arch Version Repository Size
> ================================================================================
> Removing:
> ovirt-engine-backend noarch 3.3.0-15.fc17 @ovirt-engine 20 M
> 
> Transaction Summary
> ================================================================================
> Remove 1 Package
> 
> Installed size: 20 M
> Is this ok [y/N]: y
> Downloading Packages:
> Running Transaction Check
> Running Transaction Test
> Transaction Test Succeeded
> Running Transaction
> Error in PREUN scriptlet in rpm package
> ovirt-engine-backend-3.3.0-15.fc17.noarch
> /var/tmp/rpm-tmp.jq1b7e: line 1: fg: no job control
> error: %preun(ovirt-engine-backend-3.3.0-15.fc17.noarch) scriptlet failed,
> exit status 1
> Verifying : ovirt-engine-backend-3.3.0-15.fc17.noarch 1/1
> 
> Failed:
> ovirt-engine-backend.noarch 0:3.3.0-15.fc17
> 
> Complete!
> 
> - DHC
> 
> 
> 
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel
> 



More information about the Devel mailing list