Bug 1140726 - python-oslo-db is missing dependencies
Summary: python-oslo-db is missing dependencies
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-oslo-db
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Alan Pevec (Fedora)
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-11 14:30 UTC by wes hayutin
Modified: 2016-04-26 21:56 UTC (History)
4 users (show)

Fixed In Version: python-oslo-db-0.4.0-2.fc22
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-09-11 19:13:51 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
attached (558.82 KB, application/octet-stream)
2014-09-11 14:30 UTC, wes hayutin
no flags Details

Description wes hayutin 2014-09-11 14:30:21 UTC
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

Comment 1 wes hayutin 2014-09-11 14:36:30 UTC
python-keystoneclient-0.9.0-2.fc21.noarch

Comment 2 wes hayutin 2014-09-11 14:58:42 UTC
python-oslo-config-1.4.0.0-0.1.a3.fc22.noarch is installed

Comment 3 Nathan Kinder 2014-09-11 15:04:07 UTC
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]$

Comment 4 Alan Pevec 2014-09-11 19:00:35 UTC
> 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


Note You need to log in before you can comment on or make changes to this bug.