Improve performance of unshelve instance
The aim of this feature is to improve the performance of unshelve instance by eliminating downloading/copying snapshot time. All instance files will be retained in the instance store backed by shared or non-shared storage on the compute node when an instance is shelved.
When you unshelve hundreds of instances at the same time, instance spawning time varies and it mainly depends on the size of the instance snapshot and the network speed between glance and nova servers.
If you have configured file store (shared storage) as a backend in Glance for storing images/snapshots, then it's possible to improve the performance of unshelve instance dramatically by configuring nova.image.
Use Cases
----------
1. Service provider wants to use capacity of shelved instances for launching new instances on the shelved compute host.
2. User wants to use public images provided by the service provider for launching new instances.
Today, the #1 use case for the service provider is implemented by configuring “shelved_
If we want unshelving instance to be fast, then it is possible today if you have shelved instance booted from volume. But in order to reach to this point, each of the tenant first needs to copy the public image to volume, take a snapshot of it and finally use that snapshot (internally it will create another volume from it) for launching new instances. This is a very tedious and time consuming process.
This is the main motivation why we want to improve the performance of unshelving instances booted from image.
Blueprint information
- Status:
- Started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Abhishek Kekane
- Direction:
- Needs approval
- Assignee:
- Abhishek Kekane
- Definition:
- New
- Series goal:
- None
- Implementation:
-
Good progress
- Milestone target:
- None
- Started by
- Abhishek Kekane
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Improve performance of UnShelve API
Addressed by: https:/
POC: Improve performance of Unshelve api
Work Items
Work items:
Move image creation from compute api to manager: DONE
Add new HostAggregateGr
Copy instance files from source to dest node: DONE
Improve performance of Unshelve api: DONE
Dependency tree

* Blueprints in grey have been implemented.