Bug 1330403

Summary: [RFE] Change NGN VG name from "CentOS" to "Host VG"
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED WORKSFORME QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0CC: bugs, fdeutsch, huzhao, leiwang, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.1.0-alphaKeywords: FutureFeature
Target Release: ---Flags: fdeutsch: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
cshao: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-29 15:58:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

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