New Public Core API for Discovering System Capabilities

Registered by Deepti Ramakrishna

There needs to be a way for Horizon to discover the capabilities of the remote block storage deployment so that it can enable/disable the specific UI widgets that exercise those capabilities. Consider the volume backup operation which may or may not be supported by a cinder deployment. If Horizon could programmatically detect the presence of the capability, it can enable the volume backup actions in the UI. This will obviate the need for the operator to manually enable backup operations in Horizon's config, which is the case today. Existing APIs (e.g. os-services extension) that can be used to compute this information are admin-only which prevent their use since backup creation via the UI is available for non-admin users also. We propose adding a new public extension API that would return the capabilities of the remote cinder deployment.

Link to published spec: https://review.openstack.org/#/c/306930/

Blueprint information

Status:
Not started
Approver:
Sean McGinnis
Priority:
Medium
Drafter:
Deepti Ramakrishna
Direction:
Approved
Assignee:
Deepti Ramakrishna
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/discovering-system-capabilities,n,z

Addressed by: https://review.openstack.org/306930
    New public core API to expose system capabilities

Addressed by: https://review.openstack.org/350310
    Public core API to check backup capability at runtime.

Addressed by: https://review.openstack.org/444701
    Add API to query backup capabilities

Addressed by: https://review.openstack.org/486921
    Revert "Add API to query backup capabilities"

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.