Add more granular boot-from-volume envs

There may be situations where it is useful to boot only the
undercloud or only the baremetal nodes from volume.  This commit
adds environment files to enable that.
This commit is contained in:
Ben Nemec 2018-01-22 14:39:16 -06:00
parent 71652499e0
commit 4f2ae35882
4 changed files with 76 additions and 0 deletions

View File

@ -82,6 +82,15 @@ the host cloud, but at the cost of potential inconsistency if the state
of a baremetal instance is changed without using the BMC.
Boot Baremetal Instances from Volume
------------------------------------
**File:** environments/boot-baremetal-from-volume.yaml
**Description:** Boot the baremetal instances from Cinder volumes instead of
ephemeral storage.
Boot Undercloud and Baremetal Instances from Volume
---------------------------------------------------
@ -91,6 +100,15 @@ Boot Undercloud and Baremetal Instances from Volume
ephemeral storage.
Boot Undercloud Instance from Volume
------------------------------------
**File:** environments/boot-undercloud-from-volume.yaml
**Description:** Boot the undercloud instance from a Cinder volume instead of
ephemeral storage.
Create a Private Network
------------------------

View File

@ -0,0 +1,17 @@
# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Boot Baremetal Instances from Volume
# description: |
# Boot the baremetal instances from Cinder volumes instead of
# ephemeral storage.
parameter_defaults:
# The size of the baremetal instance volumes
# Type: number
baremetal_volume_size: 41
resource_registry:
OS::OVB::ServerPair: ../templates/virtual-baremetal-servers-volume.yaml

View File

@ -0,0 +1,17 @@
# *******************************************************************
# This file was created automatically by the sample environment
# generator. Developers should use `tox -e genconfig` to update it.
# Users are recommended to make changes to a copy of the file instead
# of the original, if any customizations are needed.
# *******************************************************************
# title: Boot Undercloud Instance from Volume
# description: |
# Boot the undercloud instance from a Cinder volume instead of
# ephemeral storage.
parameter_defaults:
# The size of the volume for the undercloud instance
# Type: number
undercloud_volume_size: 50
resource_registry:
OS::OVB::UndercloudEnvironment: ../templates/undercloud-volume.yaml

View File

@ -183,6 +183,30 @@ environments:
resource_registry:
OS::OVB::UndercloudEnvironment: ../templates/undercloud-volume.yaml
OS::OVB::ServerPair: ../templates/virtual-baremetal-servers-volume.yaml
-
name: boot-baremetal-from-volume
title: Boot Baremetal Instances from Volume
description: |
Boot the baremetal instances from Cinder volumes instead of
ephemeral storage.
files:
templates/virtual-baremetal-servers-volume.yaml:
parameters:
- baremetal_volume_size
resource_registry:
OS::OVB::ServerPair: ../templates/virtual-baremetal-servers-volume.yaml
-
name: boot-undercloud-from-volume
title: Boot Undercloud Instance from Volume
description: |
Boot the undercloud instance from a Cinder volume instead of
ephemeral storage.
files:
templates/undercloud-volume.yaml:
parameters:
- undercloud_volume_size
resource_registry:
OS::OVB::UndercloudEnvironment: ../templates/undercloud-volume.yaml
-
name: bmc-use-cache
title: Enable Instance Status Caching in BMC