From f52b52cadfb70b7dc808a22e3566954ac8e7829c Mon Sep 17 00:00:00 2001 From: Cian O'Driscoll Date: Wed, 26 Mar 2014 11:18:27 +0000 Subject: 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 --- nova-compute-instance.yaml | 2 +- overcloud-source.yaml | 2 +- undercloud-source.yaml | 2 +- 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 -- cgit 1.2.3-korg