[openstack-dev] Deprecation warnings considered harmful?

Ihar Hrachyshka ihrachys at redhat.com
Thu Mar 12 19:09:22 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/12/2015 11:38 AM, Boris Bobrov wrote:
> On Thursday 12 March 2015 12:59:10 Duncan Thomas wrote:
>> So, assuming that all of the oslo depreciations aren't going to
>> be fixed before release
> 
> What makes you think that?
> 
> In my opinion it's just one component's problem. These particular
> deprecation warnings are a result of still on-going migration from
> oslo.<package> to oslo_<package>. Ironically, all components except
> oslo have already moved to the new naming scheme.

It's actually wrong. For example, Trove decided to stay on using the
old namespace for Kilo.

> 
> I think that these warnings are just a single, not systemic
> problem.
> 
>> for something we know about at release time?
> 
> For bugs we know about at release time we have bugreports. Filing a
> bug is pretty easy ;)
> https://bugs.launchpad.net/oslo.db/+bug/1431268
> 
>> On 12 March 2015 at 11:41, Boris Bobrov <bbobrov at mirantis.com>
>> wrote:
>>> On Thursday 12 March 2015 12:24:57 Duncan Thomas wrote:
>>>> ubuntu at devstack-multiattach:~/devstack$ cinder-manage db
>>>> sync 
>>>> /usr/local/lib/python2.7/dist-packages/oslo_db/_i18n.py:19: 
>>>> DeprecationWarning: The oslo namespace package is deprecated.
>>>> Please use oslo_i18n instead.
>>>> 
>>>> from oslo import i18n
>>>> 
>>>> /opt/stack/cinder/cinder/openstack/common/policy.py:98:
>>> DeprecationWarning:
>>>> The oslo namespace package is deprecated. Please use
>>>> oslo_config instead.
>>>> 
>>>> from oslo.config import cfg
>>>> 
>>>> /opt/stack/cinder/cinder/openstack/common/policy.py:99:
>>> DeprecationWarning:
>>>> The oslo namespace package is deprecated. Please use
>>>> oslo_serialization instead.
>>>> 
>>>> from oslo.serialization import jsonutils
>>>> 
>>>> /opt/stack/cinder/cinder/objects/base.py:25:
>>>> DeprecationWarning: The oslo namespace package is deprecated.
>>>> Please use oslo_messaging instead.
>>>> 
>>>> from oslo import messaging
>>> 
>>> /usr/local/lib/python2.7/dist-packages/oslo_concurrency/openstack/common/
>>>
>>> 
fi
>>> 
>>>> leutils.py:22: DeprecationWarning: The oslo namespace package
>>>> is deprecated. Please use oslo_utils instead.
>>>> 
>>>> from oslo.utils import excutils
>>>> 
>>>> What are normal, none developer users supposed to do with
>>>> such warnings, other than: a) panic or b) Assume openstack is
>>>> beta quality and then panic
>>> 
>>> Non developer users are supposed to file a bug, leave
>>> installation and usage to professional devops who know how to
>>> handle logs or and stop using non- stable branch.
>>> 
>>> -- С наилучшими пожеланиями, Boris
>>> 
>>> _________________________________________________________________________
>>>
>>> 
_ OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: 
>>> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe 
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVAeRiAAoJEC5aWaUY1u57aysH/0Ho+FQDuFmjrA/5bgESgJST
O71arqvVJN54OoQBIgY3wpFSi8GRLfYxYilZK8/6PJzOzJ+0FvEsz8wyT3Chh2/p
x8g7GNBXhtVnDTCY86BctvgMyYdvSAkbrn7PZNz4b9sEJ3ocHCzq4okz5YkRyztt
fzm4c6Nwva5tifRxXtZa1Ag581Pvzpp+UYQpllZ1If1hJaV7wsFrb7THzi42r3pR
4rwvuWoQJRunrgLRFGEeUElWYtIZjdlxqA2YlqyXyokw3pHaI8ctIFSudG8Pmkon
C4H8Lc81AmNvWVHmHe0xcjS7zWivPg3jJumCrVKaMbb2fcOG87zg3R3AzF09kQA=
=gwZa
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list