ffu: Add fast-forward-upgrade env

This change introduces a simple environment file to be used when
updating the inital overcloud stack to generate the required Ansible
outputs. This environment introduces the following:

- resource_registry entries to ensure compatability between the deployed
  Newton stack and the new Queens stack. These services having been
  previously deprecated in Ocata before removal in Pike.
- parameter_defaults for StackUpdateType and UpgradeRemoveUnusedPackages

bp fast-forward-upgrades
Change-Id: I3c690b8d08ca3a7d75481e176760a0efddebf82a
This commit is contained in:
Lee Yarwood 2017-11-21 23:00:07 +00:00 committed by Marius Cornea
parent 69a011727e
commit 93083a656c
1 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,19 @@
# NOTE(lyarwood): Required as these services were deprecated in O and then
# removed in P but will still be present in the initial N Overcloud stack at
# the start of a fast-forward upgrade.
resource_registry:
OS::TripleO::Services::Core: OS::Heat::None
OS::TripleO::Services::GlanceRegistry: OS::Heat::None
OS::TripleO::Services::VipHosts: OS::Heat::None
OS::TripleO::Services::CephExternal: OS::Heat::None
OS::TripleO::Services::CephMgr: OS::Heat::None
OS::TripleO::Services::CephMon: OS::Heat::None
OS::TripleO::Services::CephOSD: OS::Heat::None
OS::TripleO::Services::CephClient: OS::Heat::None
OS::TripleO::Services::CephMds: OS::Heat::None
OS::TripleO::Services::CephRbdMirror: OS::Heat::None
OS::TripleO::Services::CephRgw: OS::Heat::None
parameter_defaults:
StackUpdateType: FASTFORWARDUPGRADE
UpgradeRemoveUnusedPackages: true