Description of problem: LVM provides a neat way how to determine the function of an LV - its Role. This can be get e.g. by adding '-o+role' to the 'lvs' command. However, this information is missing in the DBus API (the LVs' DBus objects). Version-Release number of selected component (if applicable): lvm2-2.02.154-1 How reproducible: 100% Steps to Reproduce: 1. create an LV 2. try to get its role via the DBus API Actual results: information missing Expected results: Role provided Additional info: since the value from 'lvs -o+role' is a comma-separated list of roles as strings, the best type for a new 'Roles' property of the 'LvCommon' interface seems to be 'as' - array of strings parsed from the comma-separated list.
Committed upstream https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=3bf43a65fefbda1b2628fbbc77ad40e3780a8d84
(In reply to Tony Asleson from comment #1) > Committed upstream > > https://git.fedorahosted.org/cgit/lvm2.git/commit/ > ?id=3bf43a65fefbda1b2628fbbc77ad40e3780a8d84 Looks good to me, thanks!
Included in 2.02.156. commit 3bf43a65fefbda1b2628fbbc77ad40e3780a8d84 Author: Tony Asleson <tasleson> Date: Fri Jun 3 17:07:37 2016 -0500 lvmdbusd: Add roles property to LV common interface