Climate Project
Dina Belova, Mirantis
Sylvain Bauza, Bull
Resource Reservation Service
Reasons
What may be reserved?
Climate features
Reservation concepts
Useful terms
Events Handling Workflow
Climate Manager
Climate DB
1. get event that should be done at this time
2. commit all needed actions
Resource Plugin
Create lease with reserved VM workflow
Nova API
OpenStack Dashboard / Nova CLI
1. reserve instance with some lease params
2. create reserved instance, lease ID
Nova Scheduler
3. instance creation request
Nova DB
Nova Compute
4. do all instance creation steps except running
5. create record in the DB
Climate Client
Climate API
6. lease params (+instance ID)
6. lease params
Climate Manager
7. create lease request
Climate DB
8. create lease, reservation and event records
Demo Scenario (Instance Reservation)
Create/Start lease with reserved host workflow
Climate Client / OpenStack Dashboard
1. reserve host(s) with some lease params
2. create reserved host
Nova API
Nova Scheduler
Nova DB
Nova Compute
4. create pcloud with no hosts
Climate API
Climate Manager
3. create lease request
Climate DB
5. create lease, reservation record and event records
6. returns lease uuid
7. (at lease start) elects host(s) and add in pcloud
VM creation with reserved host workflow
OpenStack Dashboard / Nova CLI
Nova API
Nova Scheduler
Nova DB
Nova Compute
1. starts VM with scheduler hint : reservation uuid
2. filters hosts only within the pcloud(=reservation)
What have we started with (physical use case)?
What shall we do later?
What shall we do later?
What shall we do later?
Community related questions
Useful links
Q&A
Thank you for the attention
Dina Belova, dbelova@mirantis.com
Sylvain Bauza, sylvain.bauza@bull.net