Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1325848

Summary: NGN 4.0 show Incorrect VG info
Product: [oVirt] ovirt-node Reporter: cshao <cshao>
Component: Installation & UpdateAssignee: Fabian Deutsch <fdeutsch>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: bugs, cshao, fdeutsch, huzhao, leiwang, weiwang, yaniwang, ycui
Target Milestone: ovirt-4.0.0-alphaFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
rule-engine: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-node-ng-installer-master-2016041020.iso Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-05 07:48:06 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:
Embargoed:

Description cshao 2016-04-11 10:48:27 UTC
Description of problem:
NGN 4.0 show Incorrect VG info, need remove centos.

# lvs
  LV                                                VG                   Attr       LSize   Pool   Origin Data%  Meta%  Move Log Cpy%Sync Convert
  ovirt-node-ng-4.0.0-0.2.alpha1.20160405123556.el7 centos_dell-op790-02 Vwi---tz-k   2.37g pool00 root                                          
  pool00                                            centos_dell-op790-02 twi-aotz--   2.39g               98.75  33.11                           
  root                                              centos_dell-op790-02 Vwi-aotz--   2.37g pool00        88.10                                  
  swap                                              centos_dell-op790-02 -wi-ao---- 388.00m                                                      
  var                                               centos_dell-op790-02 Vwi-aotz--   4.00g pool00        6.29                                   

# pvs
  PV         VG                   Fmt  Attr PSize PFree  
  /dev/sda5  centos_dell-op790-02 lvm2 a--  3.29g 524.00m

# vgs
  VG                   #PV #LV #SN Attr   VSize VFree  
  centos_dell-op790-02   1   5   0 wz--n- 3.29g 524.00m


Version-Release number of selected component (if applicable):
ovirt-node-ng-installer-master-20160405.iso
squashfs.20160405
ovirt-node-ng-image-update-placeholder-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.el7.noarch
imgbased-0.5-0.201604040928gitd6a85f8.el7.centos.noarch
ovirt-release-host-node-4.0.0-0.2.alpha1.20160405123556.gitbd184ec.el7.noarch

How reproducible:
100%

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

Actual results:
NGN 4.0 show Incorrect VG info, need remove centos.

Expected results:
NGN 4.0 can show correct VG info.

Additional info:

Comment 1 Fabian Deutsch 2016-04-11 11:43:18 UTC
It looks like the installation did not complete correctly.

Please retry with ovirt-node-ng-installer-master-2016041020.iso

Comment 2 cshao 2016-04-14 09:33:33 UTC
(In reply to Fabian Deutsch from comment #1)
> It looks like the installation did not complete correctly.
> 
> Please retry with ovirt-node-ng-installer-master-2016041020.iso

Still can reproduce this issue with ovirt-node-ng-installer-master-2016041020.iso.

Test version:
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


# 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

Comment 3 Fabian Deutsch 2016-04-14 09:42:56 UTC
To me the output looks correct.

What do you see as a problem with the VG name?

Comment 4 cshao 2016-04-14 10:00:45 UTC
(In reply to Fabian Deutsch from comment #3)
> To me the output looks correct.
> 
> What do you see as a problem with the VG name?

Hi fabian,

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


# 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 5 Fabian Deutsch 2016-04-14 10:08:11 UTC
Okay.

So functional wise this is not a problem, thus it's not a problem.

If you think that the name of the VG is relevant, please file an RFE and we'll review it.

Comment 6 cshao 2016-04-14 10:21:55 UTC
(In reply to Fabian Deutsch from comment #5)
> Okay.
> 
> So functional wise this is not a problem, thus it's not a problem.
> 
> If you think that the name of the VG is relevant, please file an RFE and
> we'll review it.

ok, thanks :)

Comment 7 cshao 2016-04-26 07:38:51 UTC
Verify this bug according #c2 &4 &5.

Bug 1330403 - [RFE] Change NGN VG name from "CentOS" to "Host VG"  can trace #c5's issue.

Comment 8 Sandro Bonazzola 2016-07-05 07:48:06 UTC
oVirt 4.0.0 has been released, closing current release.