Switch to config-download by default

Updates overcloud-resource-registry.j2.yaml to include the mappings from
enviornments/config-download-environment.yaml. This enables
config-download by default. The environment to explicitly enable
config-download is deprecated.

An environment at environments/disable-config-download.yaml is added
which can be used to disable config-download but is marked as
deprecated.

Change-Id: I8389a0c48e1aa610fdc6a8580516889340883034
implements: blueprint config-download-default
This commit is contained in:
James Slagle 2018-04-04 16:59:17 -04:00
parent 1bec57e977
commit f44e8d7bd2
4 changed files with 25 additions and 4 deletions

View File

@ -1,3 +1,6 @@
# DEPRECATED: these mappings are now the default in
# overcloud-resource-registry-puppet.j2.yaml. This environment file will be
# removed during the Stein release.
resource_registry:
OS::TripleO::SoftwareDeployment: ../config-download-structured.yaml

View File

@ -0,0 +1,6 @@
# Deprecated as config-download is now the default.
resource_registry:
OS::TripleO::SoftwareDeployment: OS::Heat::StructuredDeployment
OS::TripleO::Ssh::HostPubKey: ../extraconfig/tasks/ssh/host_public_key.yaml
OS::TripleO::Ssh::KnownHostsDeployment: OS::Heat::StructuredDeployments
OS::TripleO::DeploymentSteps: OS::Heat::StructuredDeploymentGroup

View File

@ -1,13 +1,15 @@
resource_registry:
OS::TripleO::SoftwareDeployment: OS::Heat::StructuredDeployment
OS::TripleO::SoftwareDeployment: config-download-structured.yaml
OS::Heat::SoftwareDeployment: config-download-software.yaml
OS::Heat::StructuredDeployment: config-download-structured.yaml
OS::TripleO::PostDeploySteps: common/post.yaml
OS::TripleO::AllNodes::SoftwareConfig: puppet/all-nodes-config.yaml
OS::TripleO::AllNodesDeployment: OS::Heat::StructuredDeployments
OS::TripleO::Hosts::SoftwareConfig: hosts-config.yaml
OS::TripleO::Ssh::HostPubKey: extraconfig/tasks/ssh/host_public_key.yaml
OS::TripleO::Ssh::HostPubKey: OS::Heat::None
OS::TripleO::Ssh::KnownHostsConfig: extraconfig/tasks/ssh/known_hosts_config.yaml
OS::TripleO::Ssh::KnownHostsDeployment: OS::Heat::StructuredDeployments
OS::TripleO::Ssh::KnownHostsDeployment: OS::Heat::None
OS::TripleO::DefaultPasswords: default_passwords.yaml
OS::TripleO::RandomString: OS::Heat::RandomString
@ -94,7 +96,7 @@ resource_registry:
OS::TripleO::DeployedServerEnvironment: OS::Heat::None
OS::TripleO::DeploymentSteps: OS::Heat::StructuredDeploymentGroup
OS::TripleO::DeploymentSteps: OS::Heat::None
OS::TripleO::WorkflowSteps: OS::Mistral::ExternalResource
# services

View File

@ -0,0 +1,10 @@
---
features:
- The mappings from environments/config-download-environment.yaml are now
included by default in overcloud-resource-registry.j2.yaml. config-download
is now the default way of deploying. An environment at
environments/disable-config-download.yaml is added to enable the previous
method, but that method is deprecated.
deprecations:
- environments/disable-config-download.yaml can be used to disable
config-download but is deprecated.