Bug 571999 - Installation of standalone node fails
Summary: Installation of standalone node fails
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: ovirt-node
Version: rawhide
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Mike Burns
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-09 23:33 UTC by Mike Burns
Modified: 2015-12-02 13:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-03-25 01:48:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch (5.04 KB, patch)
2010-03-24 15:26 UTC, Mike Burns
no flags Details | Diff

Description Mike Burns 2010-03-09 23:33:52 UTC
Description of problem:
After going through the firstboot menus, the final step (install and reboot) fails.  This is due to there not being a /dev/disk/by-label entry for the Boot partition.

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


How reproducible:
Always

Steps to Reproduce:
1.Configure node through firstboot
2.Choose install and reboot option
3.
  
Actual results:
Fails

Expected results:
Installs and reboots

Additional info:
from ovirt.log:

Current kernel boot parameters are:
console=tty1 console=ttyS0,115200n8 ovirt_standalone

Please enter kernel boot arguments (hit return to use the above): Do you wish to
 continue ([Y]es/[N]o)? y
Mar 09 18:20:17 installing the image.
Mar 09 18:20:17 unable to determine Root partition

ERROR: Local install and reboot FAILED. See /var/log/ovirt.log

Comment 1 Alan Pevec 2010-03-10 11:57:18 UTC
(In reply to comment #0)
> After going through the firstboot menus, the final step (install and reboot)
> fails.  This is due to there not being a /dev/disk/by-label entry for the Boot
> partition.

Instead of relying on by-label symlink, mount LABEL=BOOT should be used.

Comment 2 Mike Burns 2010-03-10 17:08:55 UTC
I've changed the ovirt_function to mount LABEL=Boot, but the issue stems from the iscsi boot changes.  It appears that we create a partition with LABEL=Boot only if we are using iscsi for the boot device.  

I might be reading this wrong, but when using iscsi, it looks like we end up with the following partitions:

1.  LABEL=Boot on iscsi drive
2.  LABEL=Root on ROOTDRIVE
3.  LABEL=RootBackup on ROOTDRIVE
4.  LVM on HOSTVGDRIVE (which might = ROOTDRIVE)

Need to understand if we need all these or if the Root and Boot are redundant

Comment 3 Mike Burns 2010-03-24 15:26:25 UTC
Created attachment 402334 [details]
Patch

Comment 4 Mike Burns 2010-03-25 01:48:55 UTC
Fixed in upstream ovirt node 1.9.1


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