Add instance-creation-timeout Request Parameter

Registered by sandeep nandal

Summary
=======
There should be support for an Instance-Creation-Timeout Parameter for booting up instance. It is like a QoS for booting up an instance. If an instance doesn't boot up successfully within that timeout interval, then that instance creation will be discarded and all the resources held by that instance will be released. And all the changes will be reverted.

Motivation
========
User will not have to keep waiting long and then manually abort the action after the time passes. At the time of creation request, user knows that when does he/she wants the instance to be ready, and there are scenarios in which instances are needed to be ready within a particular time only, if they take longer time, then there won't be any user of them. Therefore, By this feature the resources and quota will be efficiently used in nova. And it will increase the availability of the resources in nova.

Description
=========
Instance-creation-timeout parameter will take time value in seconds. Every time whenever we create a new instance using nova, it takes some amount of time in processing to make the instance ready and to make in running state.

If at the time of creating the instance if we can provide the instance-creation-timeout, then nova will try to create the instance ready in running state within the time provided as instance-creation-timeout parameter, if the instance is not made ready in running state with in the given time, then the whole process will be given up and all the resources are made free, so that it won't eat up the quotas and resources. This parameter will be optional. If user doesn't provide this argument then the nova will consider the timeout as infinite and will work as it works now.

UX
===
- Add "instance-creation-timeout" parameter to "Create Instance" Form. It takes integer time values as seconds.

Testing
======
Proper Tests would be added to check the system's behaviour after adding this feature.

Outside Dependencies
==================
Functionality must be added to nova cli, openstack cli and horizon, after the implementation in the API.

Requirements Update Required
========================
Update requirement versions for each the packages ie. nova-cli and openstack-cli.

Doc Impact
=========
Nova documentation needs to be updated in order to expose to the user the new features that will be introduced. The configuration details should be added in the documentation of nova about this argument in boot command.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
sandeep nandal
Direction:
Needs approval
Assignee:
sandeep nandal
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.