← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1378640] [NEW] Incorrect parameters passed to delete_from_backend method

 

Public bug reported:

delete_from_backend(self.admin_context, uri) in this method uri should be
the first argument instead of self.admin_context.

https://github.com/openstack/glance/blob/master/glance/scrubber.py#L552
https://github.com/openstack/glance_store/blob/master/glance_store/backend.py#L273

NOTE:
As of now, in current master File Queue is not used, the method delete_from_backend() will never get called.

** Affects: glance
     Importance: Undecided
     Assignee: Pranali Deore (pranali-deore)
         Status: New


** Tags: ntt

** Changed in: glance
     Assignee: (unassigned) => Pranali Deore (pranali-deore)

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

Title:
  Incorrect parameters passed to delete_from_backend method

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  delete_from_backend(self.admin_context, uri) in this method uri should be
  the first argument instead of self.admin_context.

  https://github.com/openstack/glance/blob/master/glance/scrubber.py#L552
  https://github.com/openstack/glance_store/blob/master/glance_store/backend.py#L273

  NOTE:
  As of now, in current master File Queue is not used, the method delete_from_backend() will never get called.

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


Follow ups

References