This repository has been archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces the Pez instance provider
This abstracts away how/where akanda.rug.api.nova.boot_instance() creates a new resource. It preserves existing behavior of booting one-off instances for resources in the OnDemandInstanceProvider. It introduces a PezInstanceProvider which relies on a new service akanda-pez-service. This service is responsible for keeping pools of hot-standby nodes to be ready for use as appliance VMs. The size of said pools are configurable and it maintains separate pools for each enabled driver type. When configured with the the PezInstanceProvider, the Rug will request instances via RPC from Pez instead of booting directly from Nova. To enable, you must run the akanda-pez-service and then set 'instance_provider=pez' in rug.ini. The default, which preserves existing behavior, is 'instance_provider=on_demand' Implements: blueprint nodepool-support Change-Id: I7680c747d8c351c63d675f5fb377eee5edbf7b31
- Loading branch information
1 parent
85d283f
commit 96c942e
Showing
14 changed files
with
980 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.