← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1129445] Re: UserWarning on deprecation of legacy glance client inappropriate for internal usage

 

** Changed in: glance/folsom
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1129445

Title:
  UserWarning on deprecation of legacy glance client inappropriate for
  internal usage

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid
Status in Glance folsom series:
  Fix Released

Bug description:
  Presumably the UserWarning on import of the legacy glance client was
  only intended as a signal to "external" usages of this deprecated
  library.

  For internal usage such as the glance-cache-manage utility, this is
  exposing internal technical debt as an apparent user-facing warning,
  which seems inappropriate:

    /usr/bin/glance-cache-manage:40: UserWarning: The 'glance.client'
  module is deprecated in favor of the 'glanceclient' module provided by
  python-glanceclient (see http://github.com/openstack/python-
  glanceclient).

  Instead, the warning should be swallowed by glance-cache-manage.

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1129445/+subscriptions