Feature #2952

Multiple boot devices

Added by EOLE Team over 6 years ago. Updated over 6 years ago.

Status:ClosedStart date:05/27/2014
Priority:HighDue date:
Assignee:Carlos Martín% Done:

0%

Category:Sunstone
Target version:Release 4.8
Resolution:fixed Pull request:

Description

Hello,

Using ONE 4.6.1 with the following template:

TEMPLATE 3 INFORMATION
ID             : 3
NAME           : Install ISO EOLE 2.4.0 (amd64)
USER           : oneadmin
GROUP          : oneadmin
REGISTER TIME  : 05/27 11:20:57

PERMISSIONS
OWNER          : um-
GROUP          : ---
OTHER          : ---

TEMPLATE CONTENTS
CONTEXT=[
  NETWORK="YES",
  SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]" ]
CPU="1" 
DISK=[
  IMAGE="IMG-20G",
  IMAGE_UNAME="oneadmin" ]
DISK=[
  IMAGE="ISO-eole-2.4.0",
  IMAGE_UNAME="oneadmin",
  TARGET="hda" ]
GRAPHICS=[
  KEYMAP="fr",
  LISTEN="0.0.0.0",
  TYPE="VNC" ]
INPUT=[
  BUS="usb",
  TYPE="tablet" ]
MEMORY="512" 
NIC=[
  NETWORK="CR_admin",
  NETWORK_UNAME="oneadmin" ]
OS=[
  ARCH="x86_64",
  BOOT="hd" ]

works on Precise Pangolin but not on Trusty Thar.

It looks like the qemu-kvm on Trusty (2.0.0+dfsg-2ubuntu1) does not fallback on second drive when the first is not bootable.

The workaround I found is to add a RAW section to my template to add a second boot device.

RAW=[
  DATA=" 
        <os>
                <boot dev='cdrom'/>
        </os>
",
  TYPE="kvm" ]

I see two possible solution:

  1. transform OS=[BOOT="<TYPE>"] to a list
  2. add an attribute to each disk to mark them bootable, ONE could generate the boot list accordingly

Regards.

Associated revisions

Revision 146ac365
Added by Carlos Martín over 6 years ago

Feature #2952: Add multiple boot devices to sunstone wizard

Revision 28e8ee11
Added by Carlos Martín over 6 years ago

Revert "Feature #2952: Add multiple boot devices to sunstone wizard"

This reverts commit 146ac36522d93b4e3c69aaac3debe29e3ed5962c.

Revision ca666304
Added by Carlos Martín over 6 years ago

Feature #2952: Add multiple boot devices to sunstone wizard

History

#1 Updated by EOLE Team over 6 years ago

There is a thread on the user mailing-list.

#2 Updated by Ruben S. Montero over 6 years ago

  • Status changed from Pending to Closed

#3 Updated by EOLE Team over 6 years ago

Ruben S. Montero wrote:

BOOT accepts a comma separated list of boot devices.

http://docs.opennebula.org/4.6/user/references/template.html#os-and-boot-options-section

It's working when editing the template with the CLI or in “advance mode” in sunstone.

Is it possible to reopen this request to transform the fixed list in sunstone to a list of checkboxes?

Regards.

#4 Updated by Ruben S. Montero over 6 years ago

  • Tracker changed from Request to Feature
  • Category set to Sunstone
  • Status changed from Closed to New
  • Target version set to Release 4.8

Makes sense! thanks for your feedback!

#5 Updated by Daniel Molina over 6 years ago

  • Priority changed from Normal to High

#6 Updated by Ruben S. Montero over 6 years ago

  • Assignee set to Tino Vázquez

#7 Updated by Ruben S. Montero over 6 years ago

  • Target version changed from Release 4.8 to Release 4.8 - Beta 1

#8 Updated by Carlos Martín over 6 years ago

  • Assignee changed from Tino Vázquez to Carlos Martín

#9 Updated by Carlos Martín over 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

#10 Updated by Carlos Martín over 6 years ago

  • Status changed from Closed to New
  • Resolution deleted (fixed)

#11 Updated by Ruben S. Montero over 6 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

#12 Updated by Javi Fontan over 6 years ago

  • Target version changed from Release 4.8 - Beta 1 to Release 4.8

Also available in: Atom PDF