Skip to content
Snippets Groups Projects
Commit 04fb9981 authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix Vitrage wrong configuration"

parents b1d7a8ad 90fd7aa0
No related branches found
No related tags found
No related merge requests found
...@@ -30,3 +30,14 @@ ...@@ -30,3 +30,14 @@
auth: "{{ openstack_vitrage_auth }}" auth: "{{ openstack_vitrage_auth }}"
endpoint_type: "{{ openstack_interface }}" endpoint_type: "{{ openstack_interface }}"
run_once: True run_once: True
- name: Adding vitrage user into admin project
kolla_toolbox:
module_name: "os_user_role"
module_args:
user: "{{ vitrage_keystone_user }}"
role: "admin"
project: "admin"
auth: "{{ openstack_vitrage_auth }}"
endpoint_type: "{{ openstack_interface }}"
run_once: True
...@@ -45,12 +45,12 @@ memcache_secret_key = {{ memcache_secret_key }} ...@@ -45,12 +45,12 @@ memcache_secret_key = {{ memcache_secret_key }}
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
[service_credentials] [service_credentials]
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
region_name = {{ openstack_region_name }} region_name = {{ openstack_region_name }}
auth_type = password auth_type = password
project_domain_id = default project_domain_id = default
user_domain_id = default user_domain_id = default
project_name = service project_name = admin
password = {{ vitrage_keystone_password }} password = {{ vitrage_keystone_password }}
username = {{ vitrage_keystone_user }} username = {{ vitrage_keystone_user }}
interface = internal interface = internal
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment