Skip to content

Commit

Permalink
ceph-volume: remove redefinition of [LV,PV,VG]_FIELDS
Browse files Browse the repository at this point in the history
This was introduced in ceph#32242
erroneously.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 6f107f7)
  • Loading branch information
Jan Fajerski committed Feb 12, 2020
1 parent 3dc93ff commit bf67433
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/ceph-volume/ceph_volume/api/lvm.py
Expand Up @@ -1344,11 +1344,6 @@ def create_lvs(volume_group, parts=None, size=None, name_prefix='ceph-lv'):
# Later, these can be easily merged with get_api_* methods
#
###########################################################

PV_FIELDS = 'pv_name,pv_tags,pv_uuid,vg_name,lv_uuid'
VG_FIELDS = 'vg_name,pv_count,lv_count,snap_count,vg_attr,vg_size,vg_free,vg_free_count'
LV_FIELDS = 'lv_tags,lv_path,lv_name,vg_name,lv_uuid,lv_size'

def get_pvs(fields=PV_FIELDS, sep='";"', filters=''):
args = ['pvs', '--no-heading', '--readonly', '--separator=' + sep, '-S',
filters, '-o', fields]
Expand Down

0 comments on commit bf67433

Please sign in to comment.