Jump to: navigation, search

AutoCreateBootVolumes

Revision as of 04:07, 24 October 2011 by Dan (talk)
  • Launchpad Entry: NovaSpec:auto-create-boot-volumes
  • Created: 2011-Oct-24
  • Contributors: Dan Kim

Summary

Support Creating EBS boot volumes when boot-time

Release Note

When this is implemented, VM will use auto-created volumes as root and local(defined on flovor 'local_gb'). The 'auto_create_boot_volumes' flag should be True to tragger this logic.

Rationale

With BootFromVolume blueprint, we can use a volume as root like EC2 supports EBS-based volume.

But it needs pre-created and pre-os-installed volumes.

With this blueprint, There's no need the pre-created volume.

Below steps will be added.

1) create volumes using volume-manager on boot time.

2) copy cached OS image into the root volume device.

3) inject ssh key or metadata or files into the root volume device if it needs.

User stories

  • Administrator will set 'auto_create_boot_volumes' flag to True.
  • User will see instances booted with volumes attached.

Assumptions

For root volume support, the following blueprints are assumed.

Design

attachment:auto_create_boot_volume_concept

Implementation

TBD

UI Changes

Code Changes

TBD Code changes should include an overview of what needs to change, and in some cases even the specific details.

Migration

TBD Include:

  • data migration, if any
  • redirects from old URLs to new ones, if any
  • how users will be pointed to the new way of doing things, if necessary.

Test/Demo Plan

This need not be added or completed until the specification is nearing beta.

Unresolved issues

TBD

BoF agenda and discussion

Use this section to take notes during the BoF; if you keep it in the approved spec, use it for summarising what was discussed and note any options that were rejected.