'Static method to get LVM version from system.
:param root_helper: root_helper to use for execute
:returns: version 3-tuple'

@staticmethod
def get_lvm_version(root_helper):

    cmd = (LVM.LVM_CMD_PREFIX + ['vgs', '--version'])
    (out, _err) = putils.execute(root_helper=root_helper, run_as_root=True, *cmd)
    lines = out.split('\n')
    for line in lines:
        if ('LVM    version' in line):
            version_list = line.split()
            version = version_list[2]
            version_filter = '(\\d+)\\.(\\d+)\\.(\\d+).*'
            r = re.search(version_filter, version)
            version_tuple = tuple(map(int, r.group(1, 2, 3)))
            return version_tuple
