Merge "Remove nova placement config for compute service node on upgrade"
This commit is contained in:
commit
1968d4042e
@ -44,24 +44,6 @@ resources:
|
||||
- ''
|
||||
- - "#!/bin/bash\n\n"
|
||||
- "set -eu\n\n"
|
||||
- "if hiera -c /etc/puppet/hiera.yaml service_names | grep nova_compute ; then\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement auth_type password\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement username placement\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement project_domain_name Default\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement user_domain_name Default\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement project_name service\n\n"
|
||||
- " crudini --set /etc/nova/nova.conf placement os_interface internal\n\n"
|
||||
- str_replace:
|
||||
template: |
|
||||
crudini --set /etc/nova/nova.conf placement password 'SERVICE_PASSWORD'
|
||||
crudini --set /etc/nova/nova.conf placement os_region_name 'REGION_NAME'
|
||||
crudini --set /etc/nova/nova.conf placement auth_url 'AUTH_URL'
|
||||
params:
|
||||
SERVICE_PASSWORD: { get_param: NovaPassword }
|
||||
REGION_NAME: { get_param: KeystoneRegion }
|
||||
AUTH_URL: { get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
|
||||
- " systemctl restart openstack-nova-compute\n\n"
|
||||
- "fi\n\n"
|
||||
- str_replace:
|
||||
template: |
|
||||
ROLE='ROLE_NAME'
|
||||
|
Loading…
x
Reference in New Issue
Block a user