Bug 1041264

Summary: [RFE][nova]: Expose ability to configure kernel and ramdisk via REST and CLI. And add ability to pass in kernel command line at instance launch time
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/nova/+spec/expose-ramdisk-kernel-and-command-line-via-rest-and-cli
Whiteboard: upstream_milestone_none upstream_status_good-progress upstream_definition_drafting
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:39:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 14:12:15 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/nova/+spec/expose-ramdisk-kernel-and-command-line-via-rest-and-cli.

Description:

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

Specification URL (additional information):

None