diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-05 12:59:44 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-05 12:59:44 +0000 |
commit | 1968d4042e7818ccacf49af110f60b6f617c3a82 (patch) | |
tree | 43b1e0126b732b1ebccb0c33ae228c735283fa64 | |
parent | a87bacd5080bb739b26ea32841b1ac72e45542f1 (diff) | |
parent | 0b07b5c8bd931124a3d12fdc8c503f97f038f567 (diff) |
Merge "Remove nova placement config for compute service node on upgrade"
-rw-r--r-- | puppet/major_upgrade_steps.j2.yaml | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/puppet/major_upgrade_steps.j2.yaml b/puppet/major_upgrade_steps.j2.yaml index 8420f99d..b44095bd 100644 --- a/puppet/major_upgrade_steps.j2.yaml +++ b/puppet/major_upgrade_steps.j2.yaml @@ -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' |