Bug 1059734
| Summary: | 3.3 engine-setup fails if there is a 3.2 update | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Yedidyah Bar David <didi> |
| Component: | ovirt-engine-setup | Assignee: | Yedidyah Bar David <didi> |
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.3.0 | CC: | acathrow, bazulay, gklein, iheim, oschreib, Rhev-m-bugs, sbonazzo, tdosek, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.3.2 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | integration | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-02-18 07:14:59 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Steps to Reproduce were actually: 1. Install and setup e.g. 3.2.3 2. Add to repos 3.3.0 3. yum update rhevm-setup 4. Add to repos 3.2.5 5. engine-setup In addition: If after step (3.) I removed repo of 3.2.3, engine-setup did not fail. I think it's expected to fail saying to first upgrade to latest 3.2. |
Description of problem: I installed sf20, then added repos latest_sf and latest_is. engine-setup fails with: [ INFO ] Checking for product updates... [ ERROR ] Yum: [u'rhevm-genericapi-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-notification-service-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-tools-common-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev'] The log does not have much more information: 2013-12-30 15:05:48 DEBUG otopi.plugins.ovirt_engine_setup.distro-rpm.packages packages.verbose:177 Yum: queue package rhevm for update 2013-12-30 15:05:48 DEBUG otopi.plugins.ovirt_engine_setup.distro-rpm.packages packages.verbose:177 Yum: package rhevm queued 2013-12-30 15:05:48 DEBUG otopi.plugins.ovirt_engine_setup.distro-rpm.packages packages.verbose:177 Yum: Building transaction 2013-12-30 15:05:49 ERROR otopi.plugins.ovirt_engine_setup.distro-rpm.packages packages.error:185 Yum: [u'rhevm-genericapi-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhev m-notification-service-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-tools-common-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev'] 2013-12-30 15:05:49 INFO otopi.plugins.ovirt_engine_setup.distro-rpm.packages packages.info:181 Yum: Performing yum transaction rollback 2013-12-30 15:05:49 DEBUG otopi.context context._executeMethod:137 method exception Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/otopi/context.py", line 127, in _executeMethod method['method']() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/distro-rpm/packages.py", line 348, in _customization ) = self._checkForProductUpdate() File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/distro-rpm/packages.py", line 232, in _checkForProductUpdate if myum.buildTransaction(): File "/usr/lib/python2.6/site-packages/otopi/miniyum.py", line 821, in buildTransaction raise yum.Errors.YumBaseError(msg) YumBaseError: [u'rhevm-genericapi-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-notification-service-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-tools-common-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev'] 2013-12-30 15:05:49 ERROR otopi.context context._executeMethod:146 Failed to execute stage 'Environment customization': [u'rhevm-genericapi-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-notification-service-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev', u'rhevm-tools-common-3.2.5-0.49.el6ev.noarch requires rhevm = 3.2.5-0.49.el6ev'] Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Install and setup e.g. 3.2.3 2. Add to yum repos both 3.2.5 and 3.3.0 3. engine-setup Actual results: Fails with the above message Expected results: I think it should fail with 'Please upgrade to latest 3.2 first' Additional info: