Bug 1330403 - [RFE] Change NGN VG name from "CentOS" to "Host VG"
Summary: [RFE] Change NGN VG name from "CentOS" to "Host VG"
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Fabian Deutsch
QA Contact: cshao
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 07:35 UTC by cshao
Modified: 2016-08-30 06:43 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-29 15:58:07 UTC
oVirt Team: Node
fdeutsch: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
cshao: testing_ack+


Attachments (Terms of Use)

Description cshao 2016-04-26 07:35:30 UTC
Description of problem:
[RFE] Change NGN VG name from "CentOS" to "Host VG"

Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-master-2016041020.iso
ovirt-node-ng-image-update-placeholder-4.0.0-0.3.master.20160330132038.git9d1a64e.el7.noarch
imgbased-0.5-0.201604062114git5eae1f9.el7.centos.noarch
ovirt-release-host-node-4.0.0-0.3.master.20160330132038.git9d1a64e.el7.noarch


How reproducible:
100%

Steps to Reproduce:
1. Installed ngn 4.0
2. Run "# lvs; #pvs; #vgs"
3.

Actual results:
The VG name show as centos.


# lvs
  LV                                 VG     Attr       LSize  Pool   Origin                           Data%  Meta%  Move Log Cpy%Sync Convert
  ovirt-node-ng-4.0.0-0.20160410.0   centos Vwi---tz-k 18.70g pool00 root                                                                    
  ovirt-node-ng-4.0.0-0.20160410.0+1 centos Vwi-aotz-- 18.70g pool00 ovirt-node-ng-4.0.0-0.20160410.0 8.96                                   
  pool00                             centos twi-aotz-- 18.72g                                         10.70  7.93                            
  root                               centos Vwi-a-tz-- 18.70g pool00                                  8.64                                   
  swap                               centos -wi-ao----  2.00g                                                                                
  var                                centos Vwi-a-tz--  4.00g pool00                                  5.37                                   


# pvs
  PV         VG     Fmt  Attr PSize  PFree
  /dev/sda2  centos lvm2 a--  24.51g 3.75g


# vgs
  VG     #PV #LV #SN Attr   VSize  VFree
  centos   1   6   0 wz--n- 24.51g 3.75g



Expected results:
In RHEV-H 7.2, the VG name show as "HostVG", so I suggest to change ngn 4.0 VG name to "HostVG".


Additional info:
# cat /etc/redhat-release 
Red Hat Enterprise Virtualization Hypervisor release 7.2 (20160413.0.el7ev)
[root@cshaoadd admin]# lvs
  LV      VG     Attr       LSize   Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  Config  HostVG -wi-ao----   4.99g                                                    
  Data    HostVG -wi-ao---- 209.45g                                                    
  Logging HostVG -wi-ao----   2.00g                                                    
  Swap    HostVG -wi-ao----   7.74g

# pvs
  PV                                                  VG     Fmt  Attr PSize   PFree  
  /dev/mapper/WDC_WD2500AAJS-75M0A0_WD-WMAV24703219p4 HostVG lvm2 a--  224.58g 404.00m


# vgs
  VG     #PV #LV #SN Attr   VSize   VFree  
  HostVG   1   4   0 wz--n- 224.58g 404.00m

Comment 1 Fabian Deutsch 2016-08-29 15:58:07 UTC
The name is not important, it's the label which identifies the relevant VG.

Comment 2 Ying Cui 2016-08-30 06:43:42 UTC
Tested on last redhat-release-virtualization-host-4.0-2.el7, there display correct VG name as rhvh, so the original reporter's issue is gone. 

# lvs
  LV                      VG   Attr       LSize   Pool   Origin                Data%  Meta%  Move Log Cpy%Sync Convert
  pool00                  rhvh twi-aotz-- 440.77g                              0.49   0.83                            
  rhvh-4.0-0.20160817.0   rhvh Vwi---tz-k 425.73g pool00 root                                                         
  rhvh-4.0-0.20160817.0+1 rhvh Vwi-aotz-- 425.73g pool00 rhvh-4.0-0.20160817.0 0.36                                   
  root                    rhvh Vwi-a-tz-- 425.73g pool00                       0.36                                   
  swap                    rhvh -wi-ao----   7.75g                                                                     
  var                     rhvh Vwi-aotz--  15.00g pool00                       1.10                                   

# pvs
  PV         VG   Fmt  Attr PSize   PFree 
  /dev/sda3  rhvh lvm2 a--  464.56g 15.82g

# vgs
  VG   #PV #LV #SN Attr   VSize   VFree 
  rhvh   1   6   0 wz--n- 464.56g 15.82g


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