Filter Datastore Without Any Active Versions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack DBaaS (Trove) |
Fix Released
|
Low
|
Auston McReynolds |
Bug Description
Hide Datastores In List With No Active Versions
in a datastore-list operation, for non-admin, filters out
datastores that either have no versions or have no active
versions for non-admin users. admins continue to see all
datastores, active or inactive, in a datastore-list
operation.
using devstack as an example:
$ source ~/devstack/
$ trove datastore-list
+------
| id | name |
+------
| 818b2ea3-
| bd113175-
+------
$ source ~/devstack/
$ trove datastore-list
+------
| id | name |
+------
| 10000000-
| 363d3cf1-
| 818b2ea3-
| bd113175-
+------
despite inactive datastores being filtered from datastore-list, a datastore-show on an inactive datastore will still work for both admin and non-admin.
hiding inactive datastores is useful for a multitude of reasons:
* an operator is in the midst of setting up a new datastore, and therefore the user shouldn't see it until it has an active version
* an operator used to offer a particular datastore, but for whatever reason has removed support for it.
* when datastore support lands in horizon, selecting a datastore from a dropdown will trigger the population of the datastore-version dropdown. if a user selects a datastore, and the datastore-version dropdown gets populated with nothing, that's a bad user experience.
Changed in trove: | |
assignee: | nobody → Auston McReynolds (amcrn) |
description: | updated |
Changed in trove: | |
milestone: | none → icehouse-rc1 |
importance: | Undecided → Low |
Changed in trove: | |
status: | Fix Committed → Fix Released |
Changed in trove: | |
milestone: | icehouse-rc1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/79513
Review: https:/