← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1790114] [NEW] filter not work with deleted status

 

Public bug reported:

During review https://review.openstack.org/#/c/597443/
seems this 

 174         if search_opts.get("vm_state") == ['deleted']:
 175             if context.is_admin:
 176                 search_opts['deleted'] = True
 177             else:
 178                 msg = _("Only administrators may list deleted instances")
 179                 raise exc.HTTPForbidden(explanation=msg)


has some issue so that the check won't work at all

** Affects: nova
     Importance: Undecided
     Assignee: jichenjc (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichenjc (jichenjc)

-- 
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/1790114

Title:
  filter not work with deleted status

Status in OpenStack Compute (nova):
  New

Bug description:
  During review https://review.openstack.org/#/c/597443/
  seems this 

   174         if search_opts.get("vm_state") == ['deleted']:
   175             if context.is_admin:
   176                 search_opts['deleted'] = True
   177             else:
   178                 msg = _("Only administrators may list deleted instances")
   179                 raise exc.HTTPForbidden(explanation=msg)

  
  has some issue so that the check won't work at all

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


Follow ups