tripleo-heat-templates/environments/undercloud-enable-nova.yaml
David Vallee Delisle faab7e7856 Removing scheduler_default_filters for Nova
This setting was renamed enabled_filters a while back. For the sake of
consistency, we need to change this here as well.

Therefore, we're deprecating NovaSchedulerDefaultFilters and creating a
new setting called NovaSchedulerEnabledFilters. This is jointly
committed with a relevant change in puppet-nova.

Depends-On: I110f612f1b78899e8969da607e6b400e2e64c8a1
Change-Id: I0e425e247be1e3ad7004a5667a0887949a2a031c
2020-12-14 09:32:50 -05:00

36 lines
2.0 KiB
YAML

# This heat environment can be used to enable the nova/glance services used on
# the undercloud.
parameter_defaults:
NovaSchedulerAvailableFilters: 'tripleo_common.filters.list.tripleo_filters'
NovaSchedulerEnabledFilters: ['TripleOCapabilitiesFilter', 'ComputeCapabilitiesFilter', 'AvailabilityZoneFilter', 'ComputeFilter', 'ImagePropertiesFilter', 'ServerGroupAntiAffinityFilter', 'ServerGroupAffinityFilter']
NovaSchedulerMaxAttempts: 30
# Disable compute auto disabling:
# As part of Pike, nova introduced a change to have the nova-compute
# process automatically disable the nova-compute instance in the case of
# consecutive build failures. This can lead to odd errors when deploying
# the ironic nodes on the undercloud as you end up with a ComputeFilter
# error. This parameter disables this functionality for the undercloud since
# we do not want the nova-compute instance running on the undercloud for
# Ironic to be disabled in the case of multiple deployment failures.
NovaAutoDisabling: '0'
NovaCorsAllowedOrigin: '*'
NovaSyncPowerStateInterval: -1
# Overwrite compute_server_user policy to allow any user with role admin
# to post to novajoin (required for mistral workflow)
NovajoinPolicies:
compute_service_user:
key: 'compute_service_user'
value: 'role:admin'
MistralExecutorVolumes:
- /var/lib/config-data/nova/etc/nova:/etc/nova:ro
resource_registry:
OS::TripleO::Services::NovaApi: ../deployment/nova/nova-api-container-puppet.yaml
OS::TripleO::Services::NovaConductor: ../deployment/nova/nova-conductor-container-puppet.yaml
OS::TripleO::Services::NovaIronic: ../deployment/nova/nova-ironic-container-puppet.yaml
OS::TripleO::Services::NovaScheduler: ../deployment/nova/nova-scheduler-container-puppet.yaml
OS::TripleO::Services::GlanceApi: ../deployment/glance/glance-api-container-puppet.yaml
OS::TripleO::Services::PlacementApi: ../deployment/placement/placement-api-container-puppet.yaml
OS::TripleO::Services::Logging::PlacementApi: ../deployment/logging/files/placement-api.yaml