From 159d0bb94befa2e350e8969263d45c2800aba6bb Mon Sep 17 00:00:00 2001 From: Major Hayden Date: Wed, 9 Mar 2016 09:52:04 -0600 Subject: [PATCH] Docs/Reno: Make default_schedule_zone configurable This patch adds documentation and release notes for the new default_schedule_zone variable proposed in I69627d7987a3158a3a005406245ea6df881715d8. Closes-Bug: 1472428 Change-Id: I51d4dcbcc7842f3f4b1650a18195c3a9215b5383 --- doc/source/install-guide/configure-nova.rst | 14 ++++++++++++++ ...ova-default-schedule-zone-934e236985f34cf4.yaml | 5 +++++ 2 files changed, 19 insertions(+) create mode 100644 releasenotes/notes/nova-default-schedule-zone-934e236985f34cf4.yaml diff --git a/doc/source/install-guide/configure-nova.rst b/doc/source/install-guide/configure-nova.rst index f7656e464f..27e9c183e5 100644 --- a/doc/source/install-guide/configure-nova.rst +++ b/doc/source/install-guide/configure-nova.rst @@ -7,6 +7,20 @@ The compute service (nova) handles the creation of virtual machines within an OpenStack environment. Many of the default options used by OpenStack-Ansible are found within `defaults/main.yml` within the nova role. +Availability zones +~~~~~~~~~~~~~~~~~~ + +Deployers with multiple availability zones (AZ's) can set the +``nova_default_schedule_zone`` Ansible variable to specify an AZ to use for +instance build requests where an AZ is not provided. This could be useful in +environments with different types of hypervisors where builds are sent to +certain hardware types based on their resource requirements. + +For example, if a deployer has some servers with spinning hard disks and others +with SSDs, they can set the default AZ to one that uses only spinning disks (to +save costs). To build an instance using SSDs, users must select an AZ that +includes SSDs and provide that AZ in their instance build request. + Block device tuning for Ceph (RBD) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/releasenotes/notes/nova-default-schedule-zone-934e236985f34cf4.yaml b/releasenotes/notes/nova-default-schedule-zone-934e236985f34cf4.yaml new file mode 100644 index 0000000000..f1d69a93c6 --- /dev/null +++ b/releasenotes/notes/nova-default-schedule-zone-934e236985f34cf4.yaml @@ -0,0 +1,5 @@ +--- +features: + - Deployers can set a default availability zone (AZ) for new instance builds + which do not provide an AZ. The value is ``None`` by default, but it can be + changed with the ``nova_default_schedule_zone`` Ansible variable.