← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1819425] Re: Non-admin user can not filter instance by instance-uuid

 

I don't think this bug is valid. non-admin user can be configured to be
allowed to filter by instance UUID by configuring the nova policy.json
appropriately [1]:

# Allow all filters when listing servers
# GET  /servers
# GET  /servers/detail
#"os_compute_api:servers:allow_all_filters": "rule:admin_api"

You must change "rule:admin_api" to the policy you would like to use for
non-admin users. Then, non-admin users will be able to filter by
instance UUID.

[1] https://docs.openstack.org/nova/latest/configuration/sample-
policy.html

** Changed in: nova
       Status: In Progress => Invalid

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

Title:
  Non-admin user can not filter instance by instance-uuid

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  Non-admin user can not filter instance by instance-uuid.
  The steps to reproduce this:
  1)non-admin user creates some instances
  2)go to project - instances interface, select “Instance ID” for the filter condition
  3)enter "123" in the text box (the ID of all instances does not contain "123"),click filter
     Result:all instances are displayed.
     Excepted result: all instances are not displayed.
  4)enter "exact ID" in the text box(the "exact ID" is one of instances ID),click filter
     Result:all instances are displayed.
     Excepted result: the instance ID is "exact ID" is displayed, others are not displayed.
  Additionally, admin user can use “Instance ID” as the filter condition filtering instances accurately.

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


References