← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2059821] [NEW] Deprecated glanceclient exceptions are still used

 

Public bug reported:

Description
===========
The exceptions in glanceclient.exc were deprecated in glanceclient 0.4.0[1].
 glanceclient.exc.Forbidden
 glanceclient.exc.NotFound
 glanceclient.exc.ServiceUnavailable
 glanceclient.exc.Unauthorized

https://github.com/openstack/python-
glanceclient/commit/354c98b087515dc4303a07d1ff0d9a9d7b4dd48b

But these are still used in the code.

We should replace these by the new HTTP* exceptions.

** Affects: cinder
     Importance: Undecided
     Assignee: Takashi Kajinami (kajinamit)
         Status: In Progress

** Affects: nova
     Importance: Undecided
     Assignee: Takashi Kajinami (kajinamit)
         Status: In Progress

** Also affects: cinder
   Importance: Undecided
       Status: New

** Changed in: cinder
     Assignee: (unassigned) => Takashi Kajinami (kajinamit)

** Changed in: nova
     Assignee: (unassigned) => Takashi Kajinami (kajinamit)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2059821

Title:
  Deprecated glanceclient exceptions are still used

Status in Cinder:
  In Progress
Status in OpenStack Compute (nova):
  In Progress

Bug description:
  Description
  ===========
  The exceptions in glanceclient.exc were deprecated in glanceclient 0.4.0[1].
   glanceclient.exc.Forbidden
   glanceclient.exc.NotFound
   glanceclient.exc.ServiceUnavailable
   glanceclient.exc.Unauthorized

  https://github.com/openstack/python-
  glanceclient/commit/354c98b087515dc4303a07d1ff0d9a9d7b4dd48b

  But these are still used in the code.

  We should replace these by the new HTTP* exceptions.

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



Follow ups