Update templates to default to preserve ephemeral
authorCian O'Driscoll <cian@hp.com>
Wed, 26 Mar 2014 11:18:27 +0000 (11:18 +0000)
committerCian O'Driscoll <cian@hp.com>
Wed, 26 Mar 2014 11:18:27 +0000 (11:18 +0000)
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

nova-compute-instance.yaml
overcloud-source.yaml
undercloud-source.yaml

index 8121736..92e9a01 100644 (file)
@@ -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:
index bba161e..9ad57c7 100644 (file)
@@ -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:
index 3e053af..410d8e1 100644 (file)
@@ -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