Bug 1259157 - oslo_utils has changed into oslo.utils
Summary: oslo_utils has changed into oslo.utils
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-heatclient
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Ruzicka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-02 06:31 UTC by David Juran
Modified: 2023-09-14 03:04 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-11 21:37:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description David Juran 2015-09-02 06:31:27 UTC
Description of problem:
[djuran@localhost ~]$ heat
Traceback (most recent call last):
  File "/usr/bin/heat", line 6, in <module>
    from heatclient.shell import main
  File "/usr/lib/python2.7/site-packages/heatclient/shell.py", line 23, in <module>
    from oslo_utils import encodeutils
ImportError: No module named oslo_utils


Version-Release number of selected component (if applicable):
python-heatclient-0.6.0-1.fc22.noarch
python-oslo-utils-1.0.0-1.fc22.noarch


Additional info:
Seems structure of oslo-utils has changed, guess it should be 
from oslo.utils import encodeutils

Comment 1 Ryan Brown 2015-09-03 20:07:31 UTC
I believe it's the other way around. Oslo_utils used to be "oslo.utils" but has been moved out of the namespace to its own package. Is there a more recent version of python-oslo-utils available?

Comment 2 David Juran 2015-09-04 10:12:27 UTC
Ah, of course.
Well, Fedora 23 has python-oslo-utils-1.4 published, so maybe a bump is required in F22. Or is it python-heatclient that is too recent for it's own good?

Comment 3 Ryan Brown 2015-09-04 15:48:35 UTC
It may be a too-new-for-its-own-good situation, but downgrading would probably be tough since we've already released it. 

It might be possible to patch 0.6 to use an older oslo-utils, but that might be a brittle/insufficient solution. 

Jakub, can you weigh in on the options here?

Comment 4 salvatore dario minonne 2015-12-15 14:45:50 UTC
Just faced this issue.
Not clear to me what is the solution: should I move to fedora23?

Comment 5 David Juran 2015-12-16 13:08:58 UTC
Ideally this bug should be fixed in F22 but I can confirm the issue is fixed in F23 with python-heatclient-0.6.0-2

Comment 6 salvatore dario minonne 2015-12-17 09:32:56 UTC
:) got it.
Thanks

Comment 7 Red Hat Bugzilla 2023-09-14 03:04:41 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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