Bug 905359
Summary: | ovirt-cli quits with DistributionNotFound exception on fedora18 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sander Hoentjen <sander> |
Component: | ovirt-engine-cli | Assignee: | Juan Hernández <juan.hernandez> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 18 | CC: | acathrow, dyasny, gorbyo, iheim, jbrooks, juan.hernandez, lvernia, mgoldboi, mpastern, obasan, oschreib, ykaul |
Target Milestone: | --- | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | infra | ||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | 881011 | Environment: | |
Last Closed: | 2013-02-09 11:30: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: | |||
Bug Depends On: | 881011 | ||
Bug Blocks: |
Description
Sander Hoentjen
2013-01-29 09:12:13 UTC
On Fedora 18, I can make the current version (ovirt-engine-cli-3.2.0.5-1.fc18.noarch) work when I edit /usr/lib/python2.7/site-packages/ovirt_shell-3.2.0.5_SNAPSHOT-py2.7.egg-info/requires.txt to have: pexpect-u >= 2.3 instead of: pexpect <= 2.3 mentioned issues is fixed in 3.2.0.9, Juan, what is 3.2 f18 publishing schedule? Michael, there is no schedule. Is that 3.2.0.9 version compatible with ovirt-engine 3.1? If it is I can update the ovirt-engine-cli package. (In reply to comment #3) > Michael, there is no schedule. Is that 3.2.0.9 version compatible with > ovirt-engine 3.1? If it is I can update the ovirt-engine-cli package. somehow i was sure that we are distributing oVirt (3.2) to f18, anyway please upload latest 3.2 sdk/cli to fedora, sdk: release 3.2.0.8-1 cli: release 3.2.0.9-1 thanks Juan. ovirt-engine-cli-3.2.0.9-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ovirt-engine-cli-3.2.0.9-1.fc18 ovirt-engine-cli-3.2.0.9-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ovirt-engine-cli-3.2.0.9-1.el6 With this update I get: Traceback (most recent call last): File "/usr/bin/ovirt-shell", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2815, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pexpect>=2.3 If I change 'pexpect >= 2.3' to 'pexpect-u >= 2.3' in /usr/lib/python2.7/site-packages/ovirt_shell-3.2.0.9_SNAPSHOT-py2.7.egg-info/requires.txt it will work again. *** Bug 908791 has been marked as a duplicate of this bug. *** ovirt-engine-cli-3.2.0.9-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/ovirt-engine-cli-3.2.0.9-2.fc18 Sander, I took the change you proposed and added a patch to the packge to implement it. I think it will be ok now. Thanks. Package ovirt-engine-cli-3.2.0.9-2.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ovirt-engine-cli-3.2.0.9-2.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2142/ovirt-engine-cli-3.2.0.9-2.fc18 then log in and leave karma (feedback). ovirt-engine-cli-3.2.0.9-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. ovirt-engine-cli-3.2.0.10-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/ovirt-engine-cli-3.2.0.10-1.el6 ovirt-engine-cli-3.2.0.10-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. Encountered same bug on Fedora 17. <snip> [lvernia@dhcp-1-166 ovirt-engine]$ ovirt-shell Traceback (most recent call last): File "/usr/bin/ovirt-shell", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2735, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 690, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 588, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pexpect-u>=2.3 [lvernia@dhcp-1-166 ovirt-engine]$ yum info pexpect Loaded plugins: langpacks, presto, refresh-packagekit Installed Packages Name : pexpect Arch : noarch Version : 2.3 Release : 7.fc17 Size : 784 k Repo : installed From repo : fedora Summary : Pure Python Expect-like module URL : http://pexpect.sourceforge.net/ Licence : MIT Description : Pexpect is a pure Python module for spawning child applications; controlling : them; and responding to expected patterns in their output. Pexpect works like : Don Libes' Expect. Pexpect allows your script to spawn a child application and : control it as if a human were typing commands. : : Pexpect can be used for automating interactive applications such as ssh, ftp, : passwd, telnet, etc. It can be used to automate setup scripts for duplicating : software package installations on different servers. And it can be used for : automated software testing. Pexpect is in the spirit of Don Libes' Expect, but : Pexpect is pure Python. Unlike other Expect-like modules for Python, Pexpect : does not require TCL or Expect nor does it require C extensions to be compiled. : It should work on any platform that supports the standard Python pty module. </snip> Worked around it by changing "pexpect-u >= 2.3" in /usr/lib/python2.7/site-packages/ovirt_shell-3.2.0.11_SNAPSHOT-py2.7.egg-info/requires.txt to "pexpect >= 2.3". ovirt-engine-cli-3.2.0.11-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/ovirt-engine-cli-3.2.0.11-1.fc17 ovirt-engine-cli-3.2.0.11-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. |