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
11e5b7df
Commit
11e5b7df
authored
9 years ago
by
Steven Dake
Browse files
Options
Downloads
Patches
Plain Diff
Make Heat bootstrapping idempotent
Change-Id: I155707ec6c1973d2a36606a0c73e57bda58ed037 Closes-Bug: #1569696
parent
3e1acf00
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/heat/heat-api/extend_start.sh
+1
-1
1 addition, 1 deletion
docker/heat/heat-api/extend_start.sh
with
1 addition
and
1 deletion
docker/heat/heat-api/extend_start.sh
+
1
−
1
View file @
11e5b7df
...
@@ -6,7 +6,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
...
@@ -6,7 +6,7 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
heat-manage db_sync
heat-manage db_sync
CURRENT_HEAT_DOMAIN_NAME
=
$(
openstack domain list |
grep
heat |
awk
'{print $4}'
)
CURRENT_HEAT_DOMAIN_NAME
=
$(
openstack domain list |
grep
heat |
awk
'{print $4}'
)
if
[[
"heat"
!=
"
$CURRENT_HEAT_DOMAIN_NAME
"
]]
;
then
if
[[
"heat
_user_domain
"
!=
"
$CURRENT_HEAT_DOMAIN_NAME
"
]]
;
then
openstack domain create heat_user_domain
openstack domain create heat_user_domain
openstack user create
--domain
heat_user_domain heat_domain_admin
--password
${
HEAT_DOMAIN_ADMIN_PASSWORD
}
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 role add
--domain
heat_user_domain
--user
heat_domain_admin admin
...
...
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