[openstack-dev] Deprecation warnings considered harmful?

Boris Bobrov bbobrov at mirantis.com
Thu Mar 12 10:38:33 UTC 2015


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.

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

-- 
С наилучшими пожеланиями,
Boris



More information about the OpenStack-dev mailing list