Bug 1020321
| Summary: | Add Obsoletes and Provides clauses for vdsm-python-cpopen | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Martin Sivák <msivak> |
| Component: | python-cpopen | Assignee: | Douglas Schilling Landgraf <dougsland> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | bazulay, bronhaim, danken, dougsland, eedri, herrold, ybronhei, yzaslavs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-cpopen-1.2.3-4.fc19 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-19 21:52: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: | |||
Hello Yaniv,
I don't have commit access to python-cpopen code on pypi project nor Fedora rpm spec. Below the suggestion patch to fix the problem, I have verified.
===
Provides: vdsm-python-cpopen = %{version}-%{release}
Obsoletes: vdsm-python-cpopen <= 4.13.0-49
===
Note in the Obsoletes that the Release number is bumped so that it is higher than the last build [1] that I can see from the package.
http://resources.ovirt.org/releases/nightly/rpm/Fedora/19/x86_64/
Thanks!
Yep that does the work, I upload new version to pypi: https://pypi.python.org/pypi?:action=display&name=cpopen&version=1.2.3 The spec contains those line, and I also updated Bug 903246 with the right links. fyi, it all conflict also if you try to install old version of vdsm that still contains vdsm-python-cpopen, so if we want to avoid this conflict too we need to backport also fix to 3.3.0 (before http://gerrit.ovirt.org/#/c/20142/) python-cpopen-1.2.3-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-3.el6 python-cpopen-1.2.3-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-3.fc19 python-cpopen-1.2.3-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-3.fc20 python-cpopen-1.2.3-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-3.fc18 Package python-cpopen-1.2.3-3.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-cpopen-1.2.3-3.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19786/python-cpopen-1.2.3-3.fc19 then log in and leave karma (feedback). And for the other way around (for those who still use vdsm-python-cpopen and by chance installed the new python-cpopen) - http://gerrit.ovirt.org/20489 If this patch is necessary, please add rhevm-3.3 flag, change to POST again, and I'll take care of it i think it's worth backporting it to 3.3. you can't tell if users will install python-cpopen on 3.3 systems, so best not to fail on it. python-cpopen-1.2.3-4.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-4.fc20 python-cpopen-1.2.3-4.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-4.fc19 python-cpopen-1.2.3-4.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-4.fc18 python-cpopen-1.2.3-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-cpopen-1.2.3-4.el6 python-cpopen-1.2.3-4.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-cpopen-1.2.3-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. python-cpopen-1.2.3-4.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: The new package replaces vdsm-python-cpopen without mentioning that in the spec file. Please add the proper Obsoletes and Provides clauses. How reproducible: Always Steps to Reproduce: 1. install F19 host with vdsm 4.13.0-48 or older 2. add the host to a nightly 3.3 engine (it registers the ovirt-nightly repository) 3. look at the failure (and reproduce it using yum update on the host) Actual results: Updating: vdsm x86_64 4.13.0-51.git52a13b0.fc19 ovirt-nightly 709 k vdsm-cli noarch 4.13.0-51.git52a13b0.fc19 ovirt-nightly 54 k vdsm-gluster noarch 4.13.0-51.git52a13b0.fc19 ovirt-nightly 24 k vdsm-python-cpopen x86_64 4.13.0-48.git4efa8d5.fc19 ovirt-nightly 9.9 k Installing for dependencies: python-cpopen x86_64 1.2.3-2.fc19 updates 19 k Transaction check error: file /usr/lib64/python2.7/site-packages/cpopen/__init__.py conflicts between attempted installs of vdsm-python-cpopen-4.13.0-48.git4efa8d5.fc19.x86_64 and python-cpopen-1.2.3-2.fc19.x86_64 file /usr/lib64/python2.7/site-packages/cpopen/__init__.pyc conflicts between attempted installs of vdsm-python-cpopen-4.13.0-48.git4efa8d5.fc19.x86_64 and python-cpopen-1.2.3-2.fc19.x86_64 file /usr/lib64/python2.7/site-packages/cpopen/__init__.pyo conflicts between attempted installs of vdsm-python-cpopen-4.13.0-48.git4efa8d5.fc19.x86_64 and python-cpopen-1.2.3-2.fc19.x86_64 file /usr/lib64/python2.7/site-packages/cpopen/cpopen.so conflicts between attempted installs of vdsm-python-cpopen-4.13.0-48.git4efa8d5.fc19.x86_64 and python-cpopen-1.2.3-2.fc19.x86_64 Expected results: Successfull upgrade with no errors that removes the vdsm-python-cpopen package and installs the new python-cpopen one.