Bug 1226776 - [RFE] volume capability query
Summary: [RFE] volume capability query
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: GlusterFS
Classification: Community
Component: core
Version: mainline
Hardware: All
OS: All
medium
low
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-01 05:31 UTC by Csaba Henk
Modified: 2018-11-19 05:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-19 05:20:33 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 564 0 None None None 2018-11-19 05:43:30 UTC

Description Csaba Henk 2015-06-01 05:31:30 UTC
Description of problem:

We need an interface, exposed through cli and gfapi, that allows the requestor to get information about the capabilities of a volume. What a capability is not defined here exactly, however, we mean high-level (user centric) properties (beyond the technical parameters that can be interacted with through "volume info / set"). The information given should be something like a scalar valued dictionary, self-contained and human friendly (ie. a user should be able to make sense of it without anything but basic familiarity of GlusterFS). 

The attainment of a capability on behalf of a volume depends on three factors:
- GlusterFS version (support of a feature at source level)
- GlusterFS build/deployment (support of a feature in the binary)
- particularities of the volume.

So for example take snapshot support: AFAIK only thin provisioned lv volumes support snapshot, therefore snapshot support is a per-volume property.

Currently we have in mind as possible capabilites (shown here just to give a taste of the idea, not meaning we'd need these in this exact form - also note that of some of these refer to features that are still just RFEs):

- volume snapshot
- volume snapshot clone
- directory snapshot
- directory snapshot clone
- cert based auth
- cert based auth for directories
- thin provisioned

Upon implementing this RFE a broad scan of capability candidates should be executed.

Comment 1 Soumya Koduri 2015-06-02 12:45:07 UTC
probably a good candidate to have a discussion in gluster-devel.

Comment 2 Vijay Bellur 2018-11-19 05:43:30 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/564

Please follow the github issue for further updates on this bug.


Note You need to log in before you can comment on or make changes to this bug.