[stable/queens] Disable default config-download method for PreNetworkConfig

While backporting config-download support for NFV from rocky, the
default option is to use config-download. But in queens the default
option is to use heat with an opt-in config-download support. Disable
config-download based resources and provide an option to enable via
environment file.
Related-Bug: #1813610

Change-Id: I9c0bf922555f9c3cd8c11e42e2ee525490754845
This commit is contained in:
Saravanan KR 2019-01-28 12:27:11 +05:30
parent 8aa46b6c8d
commit 967542fcb1
3 changed files with 8 additions and 13 deletions

View File

@ -9,3 +9,7 @@ resource_registry:
OS::TripleO::Ssh::KnownHostsDeployment: OS::Heat::None
OS::TripleO::Ssh::HostPubKey: OS::Heat::None
# stable/queens fix to enable config-download for PreNetworkConfig
OS::TripleO::Services::BootParams: ../extraconfig/pre_network/boot-params-service.yaml
OS::TripleO::Reboot::SoftwareDeployment: OS::Heat::None

View File

@ -1,11 +0,0 @@
# 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
# Used only for config-download deployment, for non-config-download deployment,
# PreNetworkConfig (host-config-and-reboot.yaml) stack will handle it.
OS::TripleO::Services::BootParams: OS::Heat::None
OS::TripleO::Reboot::SoftwareDeployment: OS::TripleO::SoftwareDeployment

View File

@ -14,7 +14,8 @@ resource_registry:
# Tasks (for internal TripleO usage)
OS::TripleO::Tasks::UpdateWorkflow: OS::Heat::None
OS::TripleO::Tasks::PackageUpdate: extraconfig/tasks/yum_update.yaml
OS::TripleO::Reboot::SoftwareDeployment: OS::Heat::None
# stable/queens fix to enabled PreNetworkConfig via heat
OS::TripleO::Reboot::SoftwareDeployment: OS::TripleO::SoftwareDeployment
{% for role in roles %}
OS::TripleO::{{role.name}}::PreNetworkConfig: OS::Heat::None
@ -355,7 +356,8 @@ resource_registry:
OS::TripleO::Services::Logging::NovaPlacement: docker/services/logging/files/nova-placement.yaml
OS::TripleO::Services::Logging::PankoApi: docker/services/logging/files/panko-api.yaml
OS::TripleO::Services::BootParams: extraconfig/pre_network/boot-params-service.yaml
# stable/queens fix to disable BootParams service (required for config-download)
OS::TripleO::Services::BootParams: OS::Heat::None
parameter_defaults:
EnablePackageInstall: false