Bug 788179

Summary: autoinstall fails when local_boot or upgrade not passed on command line
Product: Red Hat Enterprise Linux 6 Reporter: Mike Burns <mburns>
Component: ovirt-nodeAssignee: Mike Burns <mburns>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.3CC: acathrow, bsarathy, cpelland, cshao, dyasny, gouyang, jboggs, leiwang, mburns, mjenner, ovirt-maint, sgordon, ycui
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-07-19 14:18:19 UTC Type: ---
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: 788225    

Description Mike Burns 2012-02-07 16:27:05 UTC
Description of problem:
when passing iscsi_name to autoinstall, the installation fails and sends you to a TUI screen stating something like "Invalid installation, please reboot with reinstall"

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

How reproducible:
always

Steps to Reproduce:
1.boot with iscsi_name=....
2.include other required params for autoinstall
3.
  
Actual results:
Fails

Expected results:
Passes and sets iscsi_name correctly

Additional info:

Comment 1 Mike Burns 2012-02-07 16:43:50 UTC
Further investigation showed that this is unrelated to iscsi_name.  It is actually due to the presence (or lack thereof) of the local_boot parameter.

If not specified, the step that would actually install the image and reboot the host would not run.

Comment 2 Mike Burns 2012-02-07 16:44:32 UTC
Note:  upgrade is an alias for local_boot and would fix this issue as well.

Comment 3 Mike Burns 2012-02-07 16:45:12 UTC
Patch posted upstream to:  http://gerrit.ovirt.org/1707

Comment 8 Stephen Gordon 2012-03-30 18:41:27 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
-- no tech note required

Comment 9 Guohua Ouyang 2012-03-31 06:54:11 UTC
Now, neither the local_boot or upgrade parameters are required for autoinstall, but firstboot or reinstall is required for autoinstall. Check details in 788225.

Verified on 6.3-20120330, autoinstall with BOOTIF storage_init firstboot/reinstall is successfully.

Set bug status to verified.

Comment 10 Stephen Gordon 2012-06-15 13:58:05 UTC
Deleted Technical Notes Contents.

Old Contents:
-- no tech note required

Comment 12 errata-xmlrpc 2012-07-19 14:18:19 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0741.html