RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 922772 - ovirt-node-2.6.1 based on rhel 6.3 repo can't auto install via pxe
Summary: ovirt-node-2.6.1 based on rhel 6.3 repo can't auto install via pxe
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ovirt-node
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Joey Boggs
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 922593
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-18 13:20 UTC by Mike Burns
Modified: 2014-01-21 19:28 UTC (History)
16 users (show)

Fixed In Version: ovirt-node-3.0.1-5.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 922593
Environment:
Last Closed: 2014-01-21 19:28:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:0033 0 normal SHIPPED_LIVE ovirt-node bug fix and enhancement update 2014-01-22 00:14:30 UTC
oVirt gerrit 15261 0 None None None Never

Description Mike Burns 2013-03-18 13:20:21 UTC
+++ This bug was initially created as a clone of Bug #922593 +++

Description of problem:

When I install automatically the ovirt-node-2.6.1 iso that I built based on rhel6.3 repo  to our machine via pxe, I ran into the following error:

Starting ovirt-firstboot: Performing automatic disk partitioning
ERROR:ovirtnode.storage:HostVG/AppVG exists on a separate disk
ERROR:ovirtnode.storage:Manual Intervention required

It seems the auto install will stop if the "HostVG"  exists on the
disk on the machine.


In the emergency shell 

[root@mcptest ~]# cat /proc/cmdline
ksdevice=bootif text BOOTIF=eth0 firstboot storage_init=/dev/sda lang= storage_vol=50:1024:512:5:2048:-1 standalone hostname=mcptest
vga=791 rootpw=$1$cfm5kMmj$M1uknfs/8aSeZkJyf/NBC/
root=live:/ovirt-node-image-2.6.1-1.1.el6.iso ssh_pwauth=1
ks=http://9.181.129.219/cblr/svc/op/ks/system/62 rootfstype=auto ro
liveimg nomodeset check rootflags=loop crashkernel=512M-2G:64M,2G-:128M
elevator=deadline processor.max_cstate=1 install rhgb rd_NO_LUKS
rd_NO_MD rd_NO_DM


[root@mcptest ~]# pvs
   PV                                              VG     Fmt Attr
PSize PFree
   /dev/mapper/3600605b003b86620166a1ddb0bfa15b7p4 HostVG lvm2 a--
1.36t    0



We are installing it to the hard disk , and the previous installation is
RHEVH 6.3. During the installation, before performing the disk format, it checks that there is a existing HostVG on the disk, so it stops installing.


There is another question confused me. If I install rhev-hypervisor6-6.4-20130221 with ovirt-node-2.5.0 via pxe, which has same check_existing_hostvg code as what mentioned below,  I can install it successfully, in addition, I do some debug before run
_functions.OVIRT_VARS["OVIRT_ROOT_INSTALL"] = "y"
         if _functions.check_existing_hostvg("") or \
            _functions.check_existing_hostvg("","AppVG"):
             logger.error("HostVG/AppVG exists on a separate disk")
             logger.error("Manual Intervention required")
             return False
         if storage.perform_partitioning():
             return True

[root@mcptest ~]# pvs

I didn't got the HostVG information that got in ovirt-node-2.6.1 version. So I guess ovirt-node-2.5.0 does something about HostVG before check
but ovirt-node-2.6.1 doesn't.

 
Version-Release number of selected component (if applicable):
2.6.1

How reproducible:



Steps to Reproduce:
1. Build an ovirt-node-2.6.1 iso based on rhel6.3 repo
2. Install the iso to a bare mahcine via pxe, the parameters is like below:

sdevice=bootif text BOOTIF=eth0 firstboot storage_init=/dev/sda lang= storage_vol=50:1024:512:5:2048:-1 standalone hostname=mcptest
vga=791 rootpw=$1$cfm5kMmj$M1uknfs/8aSeZkJyf/NBC/
root=live:/ovirt-node-image-2.6.1-1.1.el6.iso ssh_pwauth=1
ks=http://9.181.129.219/cblr/svc/op/ks/system/62 rootfstype=auto ro
liveimg nomodeset check rootflags=loop crashkernel=512M-2G:64M,2G-:128M
elevator=deadline processor.max_cstate=1 install rhgb rd_NO_LUKS
rd_NO_MD rd_NO_DM

3. 
  
Actual results:

Starting ovirt-firstboot: Performing automatic disk partitioning
ERROR:ovirtnode.storage:HostVG/AppVG exists on a separate disk
ERROR:ovirtnode.storage:Manual Intervention required


Expected results:
Get installed successfully


Additional info:

Comment 1 cshao 2013-05-23 08:16:40 UTC
RHEV-H QE can reproduce this issue.

Seems it is related to ovirt-node-2.6.1 but no rhel6.3 repo, because I can reproduce this issue with rhel6.4 repo.

Test steps:
1. Build an ovirt-node-2.6.1 iso based on rhel6.4 repo.
2. Make profile with above iso.
3. Auto install RHEV-H via PXE with below parameters:
BOOTIF=XX storage_init=/dev/sda storage_vol=::::: adminpw=XXX firstboot

Test result:
Automatic installation failed.
Starting ovirt-firstboot: Performing automatic disk partitioning
ERROR:ovirtnode.storage:HostVG/AppVG exists on a separate disk
ERROR:ovirtnode.storage:Manual Intervention required

Comment 2 Wenyi Gao 2013-05-24 01:41:46 UTC
Yes, it should be ovirt-node-2.6.1 issue. I just ran into this issue on rhel6.3 repo and not didn't test it on rhel6.4 repo.

Comment 3 Joey Boggs 2013-05-24 03:26:03 UTC
Fix appears to be in adding back the install/check files for dracut since RHEL based dracut is the older version. ovirt-cleanup modules are left out of the initrd and are not cleaning up the HostVG group on boot. 6.4 version of ovirt-node has that specific patch already will need to put back in.

Comment 12 Cheryn Tan 2013-11-08 00:38:31 UTC
This bug is currently attached to errata RHBA-2013:15277. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.

Comment 13 cshao 2013-11-12 03:06:04 UTC
Test version:
rhevh-6.5-20131031.1.0
ovirt-node-3.0.1-7.el6.noarch

According comment 1 & 2, it is ovirt-node issue, so my test steps as following:
1. Boot from PXE, auto install RHEV-H with below parameters:
BOOTIF=XX storage_init=/dev/sda storage_vol=::::: adminpw=XXX firstboot

Test result:
The auto install is succeed.

So the bug is fixed, change bug status is VERIFIED.

Comment 16 errata-xmlrpc 2014-01-21 19:28:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0033.html


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