Expose ability to configure kernel and ramdisk via REST and CLI. And add ability to pass in kernel command line at instance launch time

Registered by Dennis Kliban

In an effort to streamline the image creation process using OpenStack the following observations have been made: nova-compute RPC API provides that ability to specify ramdisk_id and kernel_id when creating an instance [1]. However, the REST API does not expose this functionality and the kernel_id and ramdisk_id are inherited from the image being used to launch the instance. Another limitation is the inability to pass in the kernal command line.

This blueprint proposes two changes:

   1) Exposing ability to pass in kernel_id and ramdisk_id from REST API and CLI.
   2) Adding ability to pass in kernal command line from REST API and CLI

Making the kernel and ramdisk launch-time configurable more closely matches the existing EC2 behavior.

[1] https://github.com/openstack/nova/blob/master/nova/compute/api.py#L1102

Blueprint information

Status:
Started
Approver:
Russell Bryant
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Dennis Kliban
Definition:
Drafting
Series goal:
None
Implementation:
Good progress
Milestone target:
None
Started by
Dennis Kliban

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/expose-ramdisk-kernel-and-command-line-via-rest-and-cli,n,z

Addressed by: https://review.openstack.org/43513
    Added ability to read kernel command line from glance image properties.

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

Gerrit topic: https://review.openstack.org/#q,topic:bp/expose-ramdisk-kernel-and-command-line-via-rest-and-cli,n,z

Addressed by: https://review.openstack.org/43513
    Added ability to read kernel command line from glance image properties.

Removed from next, as next is now reserved for near misses from the last milestone --johnthetubaguy

If you are still working on this, please re-submit via nova-specs. If not, please mark as obsolete, and add a quick comment to describe why. --johnthetubaguy (20th April 2014)

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.