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
b7bfe84a
Commit
b7bfe84a
authored
7 years ago
by
Jeffrey Zhang
Browse files
Options
Downloads
Patches
Plain Diff
Use octavia account instead of admin in octavia
Closes-Bug: #1719503 Change-Id: I705de11614f2d086bd123ea5b3841f59b5a24666
parent
8103b903
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/octavia/tasks/register.yml
+12
-0
12 additions, 0 deletions
ansible/roles/octavia/tasks/register.yml
ansible/roles/octavia/templates/octavia.conf.j2
+2
-2
2 additions, 2 deletions
ansible/roles/octavia/templates/octavia.conf.j2
with
14 additions
and
2 deletions
ansible/roles/octavia/tasks/register.yml
+
12
−
0
View file @
b7bfe84a
...
...
@@ -32,3 +32,15 @@
module_extra_vars
:
openstack_octavia_auth
:
"
{{
openstack_octavia_auth
}}"
run_once
:
True
-
name
:
Adding octavia user into admin project
kolla_toolbox
:
module_name
:
"
os_user_role"
module_args
:
user
:
"
{{
octavia_keystone_user
}}"
role
:
admin
project
:
admin
auth
:
"
{{
'{{
openstack_octavia_auth
}}'
}}"
module_extra_vars
:
openstack_octavia_auth
:
"
{{
openstack_octavia_auth
}}"
run_once
:
True
This diff is collapsed.
Click to expand it.
ansible/roles/octavia/templates/octavia.conf.j2
+
2
−
2
View file @
b7bfe84a
...
...
@@ -26,8 +26,8 @@ max_retries = -1
[service_auth]
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
auth_type = password
username = {{ o
penstack_auth.username
}}
password = {{ keystone_
admin_
password }}
username = {{ o
ctavia_keystone_user
}}
password = {{
octavia_
keystone_password }}
user_domain_name = {{ default_user_domain_name }}
project_name = {{ openstack_auth.project_name }}
project_domain_name = {{ default_project_domain_name }}
...
...
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