Stop nova-api before upgrading package
[apex-tripleo-heat-templates.git] / puppet / services / nova-api.yaml
index 9e097d9..0adefec 100644 (file)
@@ -112,7 +112,7 @@ outputs:
           nova::keystone::authtoken::project_name: 'service'
           nova::keystone::authtoken::password: {get_param: NovaPassword}
           nova::keystone::authtoken::auth_uri: {get_param: [EndpointMap, KeystoneInternal, uri] }
-          nova::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneAdmin, uri_no_suffix]}
+          nova::keystone::authtoken::auth_url: {get_param: [EndpointMap, KeystoneInternal, uri_no_suffix]}
           nova::api::enabled: true
           nova::api::default_floating_pool: {get_param: NovaDefaultFloatingPool}
           nova::api::sync_db_api: true
@@ -194,12 +194,12 @@ outputs:
           tags: step0,pre-upgrade
           when: is_bootstrap_node
           command: nova-manage db online_data_migrations
-        - name: update nova api
-          tags: step2
-          yum: name=openstack-nova-api state=latest
         - name: Stop and disable nova_api service (pre-upgrade not under httpd)
           tags: step2
           service: name=openstack-nova-api state=stopped enabled=no
+        - name: update nova api
+          tags: step2
+          yum: name=openstack-nova-api state=latest
         - name: Create puppet manifest to set transport_url in nova.conf
           tags: step5
           when: is_bootstrap_node