Mentions légales du service
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
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
discovery
kolla-ansible
Commits
9dd3b527
Commit
9dd3b527
authored
6 years ago
by
Zuul
Committed by
Gerrit Code Review
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Create and use keystone_admin[project|user]"
parents
34d424a3
6a331d4e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ansible/group_vars/all.yml
+13
-10
13 additions, 10 deletions
ansible/group_vars/all.yml
ansible/roles/common/templates/admin-openrc.sh.j2
+3
-3
3 additions, 3 deletions
ansible/roles/common/templates/admin-openrc.sh.j2
etc/kolla/globals.yml
+4
-0
4 additions, 0 deletions
etc/kolla/globals.yml
with
20 additions
and
13 deletions
ansible/group_vars/all.yml
+
13
−
10
View file @
9dd3b527
...
...
@@ -370,16 +370,6 @@ set_sysctl: "yes"
# Valid options are [ none, novnc, spice, rdp ]
nova_console
:
"
novnc"
# OpenStack authentication string. You should only need to override these if you
# are changing the admin tenant/project or user.
openstack_auth
:
auth_url
:
"
{{
admin_protocol
}}://{{
kolla_internal_fqdn
}}:{{
keystone_admin_port
}}"
username
:
"
admin"
password
:
"
{{
keystone_admin_password
}}"
project_name
:
"
admin"
domain_name
:
"
default"
user_domain_name
:
"
default"
# Endpoint type used to connect with OpenStack services with ansible modules.
# Valid options are [ public, internal, admin ]
openstack_interface
:
"
admin"
...
...
@@ -595,6 +585,9 @@ keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keyston
keystone_internal_url
:
"
{{
internal_protocol
}}://{{
kolla_internal_fqdn
}}:{{
keystone_public_port
}}"
keystone_public_url
:
"
{{
public_protocol
}}://{{
kolla_external_fqdn
}}:{{
keystone_public_port
}}"
keystone_admin_user
:
"
admin"
keystone_admin_project
:
"
admin"
default_project_domain_name
:
"
Default"
default_project_domain_id
:
"
default"
...
...
@@ -607,6 +600,16 @@ fernet_token_expiry: 86400
keystone_default_user_role
:
"
_member_"
# OpenStack authentication string. You should only need to override these if you
# are changing the admin tenant/project or user.
openstack_auth
:
auth_url
:
"
{{
admin_protocol
}}://{{
kolla_internal_fqdn
}}:{{
keystone_admin_port
}}"
username
:
"
{{
keystone_admin_user
}}"
password
:
"
{{
keystone_admin_password
}}"
project_name
:
"
{{
keystone_admin_project
}}"
domain_name
:
"
default"
user_domain_name
:
"
default"
#######################
# Glance options
#######################
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/common/templates/admin-openrc.sh.j2
+
3
−
3
View file @
9dd3b527
export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=
admin
export OS_TENANT_NAME=
admin
export OS_USERNAME=
admin
export OS_PROJECT_NAME=
{{ keystone_admin_project }}
export OS_TENANT_NAME=
{{ keystone_admin_project }}
export OS_USERNAME=
{{ keystone_admin_user }}
export OS_PASSWORD={{ keystone_admin_password }}
export OS_AUTH_URL={{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3
export OS_INTERFACE=internal
...
...
This diff is collapsed.
Click to expand it.
etc/kolla/globals.yml
+
4
−
0
View file @
9dd3b527
...
...
@@ -290,6 +290,10 @@ kolla_internal_vip_address: "10.10.10.254"
# Valid options are [ fernet ]
#keystone_token_provider: 'fernet'
#keystone_admin_user: "admin"
#keystone_admin_project: "admin"
# Interval to rotate fernet keys by (in seconds). Must be an interval of
# 60(1 min), 120(2 min), 180(3 min), 240(4 min), 300(5 min), 360(6 min),
# 600(10 min), 720(12 min), 900(15 min), 1200(20 min), 1800(30 min),
...
...
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