Bug 1157442 - rhevh7.0:auto install with enable iscsi boot failed in uefi mode machine
Summary: rhevh7.0:auto install with enable iscsi boot failed in uefi mode machine
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-node
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: ---
: 3.5.2
Assignee: Ryan Barry
QA Contact: Virtualization Bugs
URL:
Whiteboard: node
Depends On:
Blocks: rhevh-7.0 rhevh-software-iscsi-root
TreeView+ depends on / blocked
 
Reported: 2014-10-27 09:28 UTC by haiyang,dong
Modified: 2016-02-10 20:04 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 10:56:03 UTC
oVirt Team: Node
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
attached Screenshot for auto install with iscsi boot.jpg (4.17 MB, image/jpeg)
2014-10-27 09:28 UTC, haiyang,dong
no flags Details
attached ovirt.log (40.87 KB, text/plain)
2014-10-27 09:30 UTC, haiyang,dong
no flags Details
attached ovirt-node.log (4.38 KB, text/plain)
2014-10-27 09:31 UTC, haiyang,dong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34572 0 master ABANDONED EL7 EFI+iscsi fixes Never

Description haiyang,dong 2014-10-27 09:28:49 UTC
Created attachment 950919 [details]
attached Screenshot for auto install with iscsi boot.jpg

Description of problem:
Auto install RHEV-H  with the follow parameters in uefi mode machine:
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-04.com:hadong iscsi_install iscsi_server=10.66.8.222:3260
firstboot.

but it failed in Bootloader Installation during auto install process.(Seen auto install with iscsi boot.jpg)

Version-Release number of selected component (if applicable):
rhev-hypervisor7-7.0-20141006.0.el7ev
ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch.rpm

How reproducible:
100%

Steps to Reproduce:
1.Auto install RHEV-H  with the follow parameters in uefi mode machine:
BOOTIF=eth0 storage_init=/dev/sda,/dev/sdb iscsi_init=/dev/sdb iscsi_target_name=iqn.2013-04.com:hadong iscsi_install iscsi_server=10.66.8.222:3260
firstboot.

Actual results:
auto install with enable iscsi boot failed in uefi mode machine

Expected results:
auto install with enable iscsi boot success in uefi mode machine

Additional info:
cat error info from ovirt-node.log
-------
2014-10-26 07:51:12,039       INFO Captured nothing
2014-10-26 07:51:12,039      ERROR '<type 'exceptions.RuntimeError'>' on transaction '<Transaction elements='[<PrepareInstallation 'Prepare installation'>, <ConfigureNetworking 'Configuring network'>, <AutomaticDiskPartitioning 'Performing automatic disk partitioning'>, <ConfigureLogging 'Configuring Logging'>, <PerformInstallation 'Transferring image'>, <ConfigureKdump 'Configuring KDump'>, <InstallBootloader 'Installing Bootloader'>, <RunHooks 'Running Hooks'>]' title='Automatic Installation' at 0x49014d0>': Bootloader Installation Failed - Bootloader Installation Failed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/ovirt/node/utils/console.py", line 119, in __run_transaction
  File "/usr/libexec/ovirt-auto-install", line 209, in commit
    raise RuntimeError("Bootloader Installation Failed")
RuntimeError: Bootloader Installation Failed

cat error info from ovirt.log
----------------------
2014-10-26 07:51:11,913 - DEBUG - ovirtfunctions - udevadm settle
2014-10-26 07:51:11,913 - DEBUG - ovirtfunctions - 
2014-10-26 07:51:11,921 - DEBUG - ovirtfunctions - echo '/sbin/grub2-install /dev/mapper/SAMSUNG_HD322GM_S2PAJ90B519911 --boot-directory=/boot/efi --root-directory=/boot/efi --efi-directory=/boot/efi --bootloader-id=redhat --force' >> /liveos/efi/cmd
2014-10-26 07:51:11,921 - DEBUG - ovirtfunctions - 
2014-10-26 07:51:11,921 - INFO - install - /sbin/grub2-install /dev/mapper/SAMSUNG_HD322GM_S2PAJ90B519911 --boot-directory=/boot/efi --root-directory=/boot/efi --efi-directory=/boot/efi --bootloader-id=redhat --force
2014-10-26 07:51:12,038 - INFO - install - Installing for x86_64-efi platform.
/sbin/grub2-install: error: /boot/efi doesn't look like an EFI partition.
.

2014-10-26 07:51:12,038 - ERROR - install - grub2-install Failed
2014-10-26 07:51:12,039 - ERROR - install - Grub2 Installation Failed

Comment 1 haiyang,dong 2014-10-27 09:30:38 UTC
Created attachment 950922 [details]
attached ovirt.log

Comment 2 haiyang,dong 2014-10-27 09:31:40 UTC
Created attachment 950923 [details]
attached ovirt-node.log


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