Bug 1161424 - [RFE] snapshot configuration should have help option.
Summary: [RFE] snapshot configuration should have help option.
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: GlusterFS
Classification: Community
Component: snapshot
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1245080
TreeView+ depends on / blocked
 
Reported: 2014-11-07 05:51 UTC by Darshan
Modified: 2023-09-14 02:50 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
: 1245080 (view as bug list)
Environment:
Last Closed: 2018-10-16 05:41:24 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Darshan 2014-11-07 05:51:17 UTC
Description of problem:
        snapshot config should have a help option which would give details like default value for an attribute, possible values for an attribute, description of the attribute, whether its configurable at system leval or volume leval. some thing similar to "gluster volume set help".

     ovirt can use this help option to decide whether an attribute is configurable at system or volume leval. And console can provide a list from which user can choose possible values for an attribute.

     Its better to get the information related to attributes from gluster than store this info in ovirt engine. As storing this info may lead to inconsistency if anything changes in gluster.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
  --xml option would be needed for the command.

Comment 1 Avra Sengupta 2015-08-19 09:17:03 UTC
Can you check "man gluster" and see if the snapshot config section meets your needs

Comment 2 Darshan 2015-08-19 09:46:02 UTC
It has all the info needed but not in a consumable form. We would need the info to be in a more structured form so that it is consumable by code.

Eg:

Option: auto-delete
Default Value: enabled
Description: When auto-delete feature is enabled, then upon reaching the soft-limit, with every successful snapshot creation, the oldest snapshot will be deleted.
Option Type: global

Option: snap-max-soft-limit
   '
   '
   ' 
 so-on

Providing an --xml option would be more helpful.

  Thus whenever we provide the snapshot config options to end users in UI we will refer this command's output, and thus it will be consistent with glusterfs. Even if some default is changed or a new config option is added, it will not effect the end user.

Comment 3 Niels de Vos 2016-02-23 12:18:04 UTC
There is a relatively new "gluster volume get ...." command. Does this provide the functionality that you need?

Comment 4 Mohammed Rafi KC 2018-10-16 05:41:24 UTC
This will be fixed in glusterd2. Since needinfo has not cleared for quite some time, closing this issue.

Comment 5 Red Hat Bugzilla 2023-09-14 02:50:23 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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