Bug 1140726
| Summary: | python-oslo-db is missing dependencies | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | wes hayutin <whayutin> | ||||
| Component: | python-oslo-db | Assignee: | Alan Pevec (Fedora) <apevec> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | Udi Kalifon <ukalifon> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | rawhide | CC: | apevec, apevec, ayoung, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-oslo-db-0.4.0-2.fc22 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-09-11 19:13:51 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: | |||||||
| Attachments: |
|
||||||
python-keystoneclient-0.9.0-2.fc21.noarch python-oslo-config-1.4.0.0-0.1.a3.fc22.noarch is installed This is a missing dependency in python-oslo-db. It needs to require the python-oslo-utils package: [nkinder@localhost oslo.db-0.4.0]$ grep -r oslo.utils requirements.txt:oslo.utils>=0.1.1 # Apache-2.0 ChangeLog:* Move to oslo.utils oslo/db/api.py:from oslo.utils import importutils oslo/db/sqlalchemy/utils.py:from oslo.utils import timeutils oslo/db/sqlalchemy/models.py:from oslo.utils import timeutils oslo/db/sqlalchemy/session.py:from oslo.utils import timeutils oslo.db.egg-info/requires.txt:oslo.utils>=0.1.1 # Apache-2.0 tests/test_api.py:from oslo.utils import importutils [nkinder@localhost SPECS]$ grep python-oslo-utils ./python-oslo-db.spec [nkinder@localhost SPECS]$ > Component: openstack-keystone → python-keystoneclient openstack-keystone was the right component, that's where keystone-manage is Anyway, moving to python-oslo-db as Nathan said: > This is a missing dependency in python-oslo-db. It needs to require the > python-oslo-utils package: ACK I missed that in oslo.db 0.4.0 update But keystone Juno3 also has oslo.utils dep and I've added it in openstack-keystone-2014.2-0.4.b3 http://pkgs.fedoraproject.org/cgit/openstack-keystone.git/commit/?id=47a603d85a459d4a1a75e4da955d3780db401797 |
Created attachment 936582 [details] attached Description of problem: refresh event[0m [0;36mDebug: Exec[keystone-manage db_sync](provider=posix): Executing 'keystone-manage db_sync'[0m [0;36mDebug: Executing 'keystone-manage db_sync'[0m [mNotice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: Traceback (most recent call last):[0m <snip> -packages/oslo/db/sqlalchemy/models.py", line 25, in <module>[0m [mNotice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: from oslo.utils import timeutils[0m [mNotice: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]/returns: ImportError: No module named utils[0m [1;31mError: /Stage[main]/Keystone::Db::Sync/Exec[keystone-manage db_sync]: Failed to call refresh: keystone-manage db_sync returned 1 instead of one of [0][0m see attached logs