aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCian O'Driscoll <cian@hp.com>2014-03-26 11:18:27 +0000
committerCian O'Driscoll <cian@hp.com>2014-03-26 11:18:27 +0000
commitf52b52cadfb70b7dc808a22e3566954ac8e7829c (patch)
tree06b56259ccdcbb30215491ece641f33a73f1c42d
parent06b199e889e86c120aa270c95db09adf349b2213 (diff)
Update templates to default to preserve ephemeral
Updated heat templates to default to preserve ephemeral partition on a heat stack update. Allows undercloud and overcloud to be re-imaged/updated and state preserved. Change-Id: I6626af48d8c55672022a46fe48e5725ad2619f0c
-rw-r--r--nova-compute-instance.yaml2
-rw-r--r--overcloud-source.yaml2
-rw-r--r--undercloud-source.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/nova-compute-instance.yaml b/nova-compute-instance.yaml
index 81217362..92e9a019 100644
--- a/nova-compute-instance.yaml
+++ b/nova-compute-instance.yaml
@@ -15,7 +15,7 @@ Parameters:
Type: String
Default: baremetal
ImageUpdatePolicy:
- Default: 'REPLACE'
+ Default: 'REBUILD_PRESERVE_EPHEMERAL'
Description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
Type: String
NovaImage:
diff --git a/overcloud-source.yaml b/overcloud-source.yaml
index bba161e1..9ad57c78 100644
--- a/overcloud-source.yaml
+++ b/overcloud-source.yaml
@@ -44,7 +44,7 @@ Parameters:
Type: String
NoEcho: true
ImageUpdatePolicy:
- Default: 'REPLACE'
+ Default: 'REBUILD_PRESERVE_EPHEMERAL'
Description: What policy to use when reconstructing instances. REBUILD for rebuilds, REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
Type: String
KeyName:
diff --git a/undercloud-source.yaml b/undercloud-source.yaml
index 3e053af5..410d8e1c 100644
--- a/undercloud-source.yaml
+++ b/undercloud-source.yaml
@@ -42,7 +42,7 @@ Parameters:
Type: String
NoEcho: true
ImageUpdatePolicy:
- Default: REPLACE
+ Default: REBUILD_PRESERVE_EPHEMERAL
Description: What policy to use when reconstructing instances. REBUILD for rebuilds,
REBUILD_PRESERVE_EPHEMERAL to preserve /mnt.
Type: String