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.
Can you check "man gluster" and see if the snapshot config section meets your needs
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.
There is a relatively new "gluster volume get ...." command. Does this provide the functionality that you need?
This will be fixed in glusterd2. Since needinfo has not cleared for quite some time, closing this issue.
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days