← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2059821] Re: Deprecated glanceclient exceptions are still used

 

Reviewed:  https://review.opendev.org/c/openstack/horizon/+/914792
Committed: https://opendev.org/openstack/horizon/commit/8cca9edbd84d378012af701c22077f1c84767bf7
Submitter: "Zuul (22348)"
Branch:    master

commit 8cca9edbd84d378012af701c22077f1c84767bf7
Author: Takashi Kajinami <kajinamit@xxxxxxxxxxxxxxx>
Date:   Sun Mar 31 11:13:34 2024 +0900

    Replace deprecated glanceclient exceptions
    
    These exceptions were deprecated in 0.4.0[1].
    
    Also glanceclient.common.exceptions was deprecated in favor of
    glanceclient.exc[2].
    
    [1] 354c98b087515dc4303a07d1ff0d9a9d7b4dd48b
    [2] 53acf1a0ca70c900267286a249e476fffe078a9f
    
    Closes-Bug: #2059821
    Change-Id: If119a261f52b99fe9faf4b8f749a2abbd7a79957


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
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 Dashboard (Horizon):
  Fix Released
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



References