Browse Source

Heat user should belong to "service" project, not "admin"

Reconfigure Heat user to be in "service" project like all other
services do.

Change-Id: I08b5d672e8dee9efe1a9161f9b903c4e9fd54786
changes/37/409037/1
Ilya Shakhat 2 years ago
parent
commit
2cfef3bc3a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      service/files/heat.conf.j2
  2. 1
    1
      service/heat-api.yaml

+ 1
- 1
service/files/heat.conf.j2 View File

@@ -31,7 +31,7 @@ auth_url = {{ address('keystone', keystone.admin_port, with_scheme=True) }}/v3
31 31
 auth_type = password
32 32
 project_domain_id = default
33 33
 user_domain_id = default
34
-project_name = {{ openstack.project_name }}
34
+project_name = service
35 35
 username = {{ heat.user }}
36 36
 password = {{ heat.password }}
37 37
 memcached_servers = {{ address('memcached', memcached.port) }}

+ 1
- 1
service/heat-api.yaml View File

@@ -38,7 +38,7 @@ service:
38 38
             - heat-user-create
39 39
           type: single
40 40
           command:
41
-            openstack role add --project {{ openstack.project_name }} --user {{ heat.user }} admin
41
+            openstack role add --project service --user {{ heat.user }} admin
42 42
         - name: heat-service-create
43 43
           dependencies:
44 44
             - keystone-create-project

Loading…
Cancel
Save