Bug 747563 - Failed to partition if there is existed HostVG on another disk
Summary: Failed to partition if there is existed HostVG on another disk
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: ovirt-node
Version: 5.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Mike Burns
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 10:24 UTC by cshao
Modified: 2011-10-20 11:01 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-20 11:01:59 UTC
Target Upstream Version:


Attachments (Terms of Use)
ovirt.log (22.31 KB, text/plain)
2011-10-20 10:24 UTC, cshao
no flags Details

Description cshao 2011-10-20 10:24:25 UTC
Created attachment 529230 [details]
ovirt.log

Description of problem:
Failed to partition if there is existed HostVG on another disk

Version-Release number of selected component (if applicable):
rhev-hypervisor-5.8-20111019.0.el5

How reproducible:
100%

Steps to Reproduce:
1. Insert USB to machine.
2. Install RHEV-H to local disk first time and reboot.
3. Boot from PXE, enter firstboot menu, don't uninstall the existing hypervisor. 
4. Install RHEV-H to usb, Do you want to remove HostVG from /dev/hda? choose "Y".

  
Actual results:
Failed to partition if there is existed HostVG on another disk.

Expected results:
Partition can successful if there is existed HostVG on another disk.

Additional info:
ovirt.log
===============================================
Model: SanDisk Cruzer Blade (scsi)
Disk /dev/sda: 4013MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      0.51kB  52.0MB  52.0MB  primary  ext2         boot 
 2      52.0MB  4012MB  3960MB  primary               lvm  

Oct 20 10:10:55 Creating physical volume Creating physical volume
1+0 records in
1+0 records out
1048576 bytes (1.0 MB) copied, 0.438552 seconds, 2.4 MB/s
  Writing physical volume data to disk "/dev/sda2"
  Physical volume "/dev/sda2" successfully created
Oct 20 10:10:56 Creating volume group Creating volume group
  A volume group called HostVG already exists.

ERROR: Configure storage partitions FAILED. See /var/log/ovirt.log

Comment 1 Guohua Ouyang 2011-10-20 10:52:29 UTC
this bug is only happening when there is HostVG existed on one disk, then install rhevh to another disk by doing partition storage directly.

If using "support menu" uninstall the existing rhevh, then do partition storage,  have no this issue.


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