Bug 1460478

Summary: USB iso Installation not able to proceed during anaconda installer with Error setting up base repository on UEFI mode
Product: [oVirt] ovirt-node Reporter: kamarasu
Component: Installation & UpdateAssignee: Yuval Turgeman <yturgema>
Status: CLOSED CURRENTRELEASE QA Contact: cshao <cshao>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1CC: bugs, cshao, huzhao, kamarasu, rbarry, stirabos, yturgema
Target Milestone: ovirt-4.1.4Flags: rule-engine: ovirt-4.1+
cshao: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-28 14:14:01 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:
Attachments:
Description Flags
uefi1
none
uefi2 none

Description kamarasu 2017-06-11 01:01:25 UTC
Description of problem:

Ovirt node Installation not able to proceed during anaconda installer with Error setting up base repository on UEFI mode

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

How reproducible:

always

Steps to Reproduce:
1. Download ovirt node iso
http://resources.ovirt.org/pub/ovirt-4.1/iso/ovirt-node-ng-installer/ovirt-node-ng-installer-ovirt-4.1-2017052309.iso

2. Boot into UEFI enabled system using iso burned onto USB device

Actual results:

at the Installation summary the installation source selection fails with Error setting up base repository

Expected results:

installation source selection should succeeds automatically

Additional info:
kamarasu

Comment 1 cshao 2017-06-13 03:17:08 UTC
The issue was gone with below the latest version. Please have a try.

http://resources.ovirt.org/pub/ovirt-4.1-snapshot/iso/ovirt-node-ng-installer-ovirt/ovirt-node-ng-installer-ovirt-4.1-pre-2017061204.iso

Comment 3 kamarasu 2017-06-17 12:46:55 UTC
Hi cshao

I'm sorry I have made mistake while testing before, none of them works the issue still persists. Actually I did not set the server bios mode to UEFI and thus it worked on booting into Legacy BIOS mode.

I have installed same iso on the server through ILO virtual media in UEFI mode everything owrked fine, something fizzy going on while using USB device as source for installation media.

Comment 4 Yuval Turgeman 2017-06-18 06:15:06 UTC
(In reply to kamarasu from comment #3)
> Hi cshao
> 
> I'm sorry I have made mistake while testing before, none of them works the
> issue still persists. Actually I did not set the server bios mode to UEFI
> and thus it worked on booting into Legacy BIOS mode.
> 
> I have installed same iso on the server through ILO virtual media in UEFI
> mode everything owrked fine, something fizzy going on while using USB device
> as source for installation media.

Hi, how did you copy the iso to the usb device ?

Comment 5 kamarasu 2017-06-18 13:12:56 UTC
I did copied iso using dd and have also used livecd tools, all methods behaves similar issues.

Comment 6 Yuval Turgeman 2017-06-27 08:09:06 UTC
I tried with 

dd if=ovirt-node-ng-installer-ovirt-4.1-pre-2017062209.iso of=/dev/sdb bs=4MB

and could not reproduce this, can you please try with the latest iso and paste the command you used for transferring the iso to the usb ?

Comment 7 cshao 2017-06-29 07:28:55 UTC
(In reply to kamarasu from comment #5)
> I did copied iso using dd and have also used livecd tools, all methods
> behaves similar issues.

Does it work on BIOS mode?
Could you upload screen-shot with the issue?

Comment 8 cshao 2017-06-29 08:41:17 UTC
I can reproduce it now.But there are some different with the original issue.
During anaconda installation, you can create a new repository and fill a valid url to download package metadata, then the installation source selection should succeeds automatically.

Test steps:
1. Download ISO
2. dd if=ovirt-node-ng-installer-ovirt-4.1-2017061204.iso of=/dev/sdb bs=4M
3. Boot into UEFI enabled system using iso burned onto USB device
4. Enter - Installation Summary > Software > Create new repository >  fill a valid url to download package metadata

Test result:
The installation can't continue, it always show "Downloading package metadata..." and lasts about 20 minutes. I am not sure whether it is related with my local url, but you can have a try with above steps first.

Comment 9 cshao 2017-06-29 08:44:11 UTC
Created attachment 1292814 [details]
uefi1

Comment 10 cshao 2017-06-29 08:58:57 UTC
Created attachment 1292818 [details]
uefi2

Comment 11 cshao 2017-07-11 04:50:13 UTC
Yuval,

Could you help to fill the "fixed in version" that QE can verify this bug according the indication.

NOTE:
In the latest ovirt-node-ng-installer-ovirt-4.1-pre-2017071004.iso, it still using RHEL 73 package but not RHEL 7.4.

Comment 12 Huijuan Zhao 2017-07-12 03:46:09 UTC
Test version:
ovirt-node-ng-installer-ovirt-4.1-2017070915.iso
imgbased-0.9.31-1.el7.centos.noarch


Test steps:
1. Download ISO
2. Make USB install disk:
   # dd if=ovirt-node-ng-installer-ovirt-4.1-2017070915.iso of=/dev/sdb bs=4M
3. Boot into UEFI enabled system using iso burned onto USB device
4. Install ovirt-node-ng via anaconda
5. Enter host, do some checks


Test results:
1. After step 4, install ovirt-node-ng successful.

2. After step 5, 
# imgbase w
2017-07-12 03:28:59,027 [INFO] You are on ovirt-node-ng-4.1.3-0.20170709.0+1

# imgbase layout
ovirt-node-ng-4.1.3-0.20170709.0
 +- ovirt-node-ng-4.1.3-0.20170709.0+1

# rpm -qa | grep imgbase
imgbased-0.9.31-1.el7.centos.noarch


So this bug is fixed in ovirt-node-ng-installer-ovirt-4.1-2017070915.iso, change the status to VERIFIED.

Comment 13 Yuval Turgeman 2017-07-12 10:19:07 UTC
Thanks, it's probably not relevant after the verify, but all versions after 20170629 should be fixed.