Ask Your Question
0

First boot on ISO and subsequent boot on Volume

asked 2015-12-14 10:48:33 -0500

Moorthy gravatar image

We have a setup in VMWare as follows:

  • Boot a blank VM with ISO image (presented as CDROM)
  • The ISO image connects to a server (say Server A) and registers in it
  • Once registered, the Server A installs a bootable software in the blank disk of the VM
  • Detach the CDROM from the VM
  • As part of the installation the software from Server A does multiple reboot of the VM and finishes its installation

We are trying to setup the same on Openstack instance

  • Boot/Create a new instance from ISO image with a volume attached to it
  • The IOS image connects and registers in Server A
  • The software in the third server installs a bootable software in the volume attached to the instance
  • Detach the ISO Image -----> unable to detach struck here

All the above steps are controlled by Orchestration tool. When instance reboots it always boots from ISO image since unable to detach and thus the process doesn't complete.

In other words, only the first boot should boot from ISO image and the next reboots are thru volume.

Any suggestion to simulate the VMWare steps in Openstack instance.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-12-14 12:11:13 -0500

capsali gravatar image

updated 2015-12-14 12:13:25 -0500

The only working way i found is with the help of cinder volumes. Spawn an instance from iso and attack a bootle blank cinder volume. Install OS on the volume. Detach volume. Terminate instance and spawn a new instance from that volume.

It's not a perfect way but it works! Eventually the volume can be uploaded into glance as an image and boot from it if you want to use nova's ephemeral storage .

But to be honest i didn't look much into it. We create images from iso on a different PC than upload it into glance!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-12-14 10:48:33 -0500

Seen: 270 times

Last updated: Dec 14 '15