Bug 953834
| Summary: | missing dependencies python-setuptools collectd | ||
|---|---|---|---|
| Product: | [Fedora] Fedora EPEL | Reporter: | Piotr Popieluch <piotr1212> |
| Component: | python-bucky | Assignee: | Jonathan Steffan <jonathansteffan> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | el6 | CC: | james.juran, jonathansteffan, piotr1212, tmz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | python-bucky-0.2.6-3.fc18 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-10-02 06:37:33 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: | |||
confirmed same issue Thanks for the bug report. I will send an update to fix these dependency requirements. I will be running a test shortly, but the types.db is specifically a collectd dependency. I don't believe python-setuptools is needed at runtime. python-bucky-0.2.6-2.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc18 python-bucky-0.2.6-2.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc20 python-bucky-0.2.6-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.fc19 python-bucky-0.2.6-2.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.el6 python-bucky-0.2.6-2.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-2.el5 Package python-bucky-0.2.6-2.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-bucky-0.2.6-2.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-17255/python-bucky-0.2.6-2.fc20 then log in and leave karma (feedback). Hi Jonathan, (In reply to Jonathan Steffan from comment #3) > I will be running a test shortly, but the types.db is specifically a > collectd dependency. I don't believe python-setuptools is needed at runtime. On an EL6 host, I get this without python-setuptools installed: $ sudo /usr/bin/bucky /etc/bucky/bucky.conf Traceback (most recent call last): File "/usr/bin/bucky", line 5, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources $ rpm -qf /usr/lib/python2.6/site-packages/pkg_resources.pyc python-setuptools-0.6.10-3.el6.noarch I don't know if this is changed in current fedora releases, but as late as f17 it was still provided by python-setuptools. I believe python-setuptools is required as well as collectd. Thanks. :) Thanks for confirming. I've done more builds to add the python-setuptools Requires and will issue an update as soon as those are complete. python-bucky-0.2.6-3.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.el6 python-bucky-0.2.6-3.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc19 python-bucky-0.2.6-3.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc18 python-bucky-0.2.6-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.el5 python-bucky-0.2.6-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/python-bucky-0.2.6-3.fc20 Package python-bucky-0.2.6-3.el5: * should fix your issue, * was pushed to the Fedora EPEL 5 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-bucky-0.2.6-3.el5' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11683/python-bucky-0.2.6-3.el5 then log in and leave karma (feedback). python-bucky-0.2.6-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. python-bucky-0.2.6-3.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-bucky-0.2.6-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. python-bucky-0.2.6-3.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. python-bucky-0.2.6-3.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: After installing python-bucky it doesnt run because of missing dependencies. without python-setuptools: # /usr/bin/bucky Traceback (most recent call last): File "/usr/bin/bucky", line 5, in <module> from pkg_resources import load_entry_point ImportError: No module named pkg_resources without collectd: # /usr/bin/bucky Traceback (most recent call last): File "/usr/bin/bucky", line 9, in <module> load_entry_point('bucky==0.2.3', 'console_scripts', 'bucky')() File "/usr/lib/python2.6/site-packages/bucky/main.py", line 151, in main servers.append(stype(sampleq, cfg)) File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 283, in __init__ self.parser = CollectDParser(cfg.collectd_types) File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 131, in __init__ self.types = CollectDTypes(types_dbs=types_dbs) File "/usr/lib/python2.6/site-packages/bucky/collectd.py", line 86, in __init__ raise ConfigError("Unable to locate types.db") bucky.errors.ConfigError: Unable to locate types.db Version-Release number of selected component (if applicable): python-bucky-0.2.3-1.el6.noarch How reproducible: Install bucky, uninstall python-setuptools collectd Steps to Reproduce: 1. yum erase python-setuptools collectd 2. yum install python-bucky 3. /usr/bin/bucky Actual results: bucky fails on missing dependencies Expected results: bucky to run Additional info: