Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
64b767f9
Commit
64b767f9
authored
9 years ago
by
Michal Rostecki
Browse files
Options
Downloads
Patches
Plain Diff
Use trusts in heat.conf
Change-Id: Ie91b3498e9f9d0d74a502ba6945db531ef967516 Closes-Bug: #1492736
parent
4caf6faf
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/heat/templates/heat.conf.j2
+13
-1
13 additions, 1 deletion
ansible/roles/heat/templates/heat.conf.j2
docker/heat/heat-api/extend_start.sh
+5
-3
5 additions, 3 deletions
docker/heat/heat-api/extend_start.sh
with
18 additions
and
4 deletions
ansible/roles/heat/templates/heat.conf.j2
+
13
−
1
View file @
64b767f9
...
...
@@ -10,7 +10,9 @@ stack_domain_admin_password = {{ heat_domain_admin_password }}
stack_user_domain_name = heat_user_domain
rpc_backend = rabbit
deferred_auth_method = password
notification_driver = noop
deferred_auth_method = trusts
trusts_delegated_role = heat_stack_owner
syslog_log_facility=LOG_LOCAL0
use_syslog=yes
...
...
@@ -46,6 +48,16 @@ project_name = service
username = heat
password = {{ heat_keystone_password }}
[trustee]
auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }}
auth_url = http://{{ kolla_internal_address }}:{{ keystone_admin_port }}
auth_plugin = password
project_domain_id = default
user_domain_id = default
project_name = service
username = heat
password = {{ heat_keystone_password }}
[ec2authtoken]
auth_uri = http://{{ kolla_internal_address }}:{{ keystone_public_port }}
...
...
This diff is collapsed.
Click to expand it.
docker/heat/heat-api/extend_start.sh
+
5
−
3
View file @
64b767f9
...
...
@@ -4,8 +4,10 @@
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if
[[
"
${
!KOLLA_BOOTSTRAP[@]
}
"
]]
;
then
heat-manage db_sync
openstack domain create heat_user_domain
openstack user create
--domain
heat_user_domain heat_domain_admin
--password
${
HEAT_DOMAIN_ADMIN_PASSWORD
}
openstack role add
--domain
heat_user_domain
--user
heat_domain_admin admin
openstack domain create heat
openstack user create
--domain
heat heat_domain_admin
--password
${
HEAT_DOMAIN_ADMIN_PASSWORD
}
openstack role add
--domain
heat
--user
heat_domain_admin admin
openstack role create heat_stack_owner
openstack role create heat_stack_user
exit
0
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment