[openstack-dev] Deprecation warnings considered harmful?

Boris Bobrov bbobrov at mirantis.com
Thu Mar 12 09:41:52 UTC 2015


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



More information about the OpenStack-dev mailing list