Bug 1013413

Summary: beaker-import should detect and import ISO install images
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: lab controllerAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.9CC: aigao, asaha, dcallagh, ebaak, llim, qwan, rmancy, xjia
Target Milestone: 0.14.4Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: DistroManagement
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: 846103
: 1035514 (view as bug list) Environment:
Last Closed: 2013-12-19 05:09:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 846103    

Description Dan Callaghan 2013-09-30 01:17:28 UTC
+++ This bug was initially created as a clone of Bug #846103 +++

Anaconda supports installing from an ISO image mounted over NFS. The kickstart needs to point at a directory containing the ISO image. Beaker currently understands distro tree URLs using the fake nfs+iso:// scheme, but beaker-import does not find and add these URLs when importing distros.

Comment 3 Raymond Mancy 2013-11-21 00:01:05 UTC
What's going to be the usual use case for this?

For ease and consistency, I think having a root around for the iso dir and importing that as an install method as part of a compose level import seems best (and only if the tree can also be imported).

Directly targeting the iso dir for import would be a bit more work, and unless someone really wants to be able to do 'bkr-import http://hostname/path/to/iso/' then we can just skip it I think.

Comment 4 Raymond Mancy 2013-11-21 01:47:34 UTC
So on second thought, although it seems the treepath is the most likely place we will find the install.img, there are other known locations (i.e images/install.img), so perhaps we can still try and import the iso even if we can't find a valid tree.

Comment 5 Raymond Mancy 2013-11-21 02:26:32 UTC
Ugh, sorry, that comment should have been for BZ#846103

Comment 6 Nick Coghlan 2013-11-26 06:44:11 UTC
Ray has a patch up on Gerrit: http://gerrit.beaker-project.org/#/c/2535/

Comment 12 Nick Coghlan 2013-11-28 00:21:54 UTC
Turns out more than just RHEL6 may need the explicit "stage2" argument in order to work, so let's remove that blacklisting and just import the ISOs for all distros.

We can add possible workarounds for distros that need the explicit argument as comments on bug 846103.