[PKG-Openstack-devel] Bug#931214: ImportError: No module named oslo.config

Thomas Goirand zigo at debian.org
Mon Jul 1 14:05:30 BST 2019


On 6/30/19 7:40 AM, Paul Gevers wrote:
> Hi Thomas,
> 
> On 29-06-2019 23:02, Thomas Goirand wrote:
>> On 6/29/19 10:12 AM, Paul Gevers wrote:
>>> On Fri, 28 Jun 2019 13:52:43 +0200 =?iso-8859-1?Q?J=F6?= Fahlke
>>> <jorrit at jorrit.de> wrote:
>>>> Package: python-os-collect-config
>>>> Version: 0.1.15-1
>>>> Severity: grave
>>>
>>> This is on the radar of the release team, due to the very late time in
>>> the release. Please, any comment from your side helps judging what to do.
>>>
>>>> I'm trying to use os-collect-config in a Debian stretch instance in an
>>>> openstack cluster.  However, running it immediately leads to an import error:
>>>
>>> [...]
>>>
>>>> ImportError: No module named oslo.config
> 
>> It looks like it's just missing a runtime dependency. Just manually
>> installing oslo.config would fix this. So I do contest that the package
>> is not usable. It is, as long as you install pyhon-oslo.config.
> 
> Did you check that that dependency is missing? I checked before and I
> believe that python-oslo.config is in the listed dependencies *and*
> installed on the machine where the log came from. What am I missing?
> 
> Paul

Hi Paul,

Looking further, it looks like python-os-collect-config is a *very* old
package in Debian (ie: no update since 2014), and it's not adapted
anymore to the version of python-oslo.config that is in Debian. ie:
oslo.config has moved away from a namespace based system to a
non-namespace, so it should now be "import oslo_config" and not "import
oslo.config".

So, as a result, there's no way python-os-collect-config will work in
Buster unless we update it to a much newer version, like for example
version 9.2.1. Of course, it's already too late in the release process
to do this, so we may just remove os-collect-config from Buster to fix
the current situation.

I'm sorry the OpenStack team failed to maintain this leaf package,
however, my understanding is that this package is for TripleO, which
isn't, and wont ever, work in Debian.

Jo, could you explain what your use case is for os-collect-config in
Debian? I really don't get how it can be useful for you.

Cheers,

Thomas Goirand (zigo)



More information about the Openstack-devel mailing list