Bug 1013413 - beaker-import should detect and import ISO install images
Summary: beaker-import should detect and import ISO install images
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: lab controller
Version: 0.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.14.4
Assignee: Raymond Mancy
QA Contact: tools-bugs
URL:
Whiteboard: DistroManagement
Depends On:
Blocks: 846103
TreeView+ depends on / blocked
 
Reported: 2013-09-30 01:17 UTC by Dan Callaghan
Modified: 2018-02-06 00:41 UTC (History)
8 users (show)

Fixed In Version:
Clone Of: 846103
: 1035514 (view as bug list)
Environment:
Last Closed: 2013-12-19 05:09:27 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1035514 0 unspecified CLOSED anaconda cannot find stage2 image when attempting to install from ISO 2021-02-22 00:41:40 UTC

Internal Links: 1035514

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.


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