Skip to content

Commit

Permalink
Connect to localhost:8082 when aaa_mode is
Browse files Browse the repository at this point in the history
configured as no-auth in the api-server.

Change-Id: Ibf699beda523747d0691aeda5d9e355cdd51b64f
Closes-Bug: 1712509
  • Loading branch information
cijohnson committed Sep 2, 2017
1 parent f0cda96 commit 937972e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions playbooks/roles/contrail/common/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ collectors_with_space_delim: "{{ analytics_list | join(' ') }}"
controllers_with_space_delim: "{{ controller_list | join(' ') }}"

api_server_protocol: "{{ 'https' if api_server_use_ssl else 'http' }}"
api_server_url: "http://{{ '127.0.0.1' if cloud_orchestrator == 'openstack' else config_server_list[0] }}:{{ '8095' if cloud_orchestrator == 'openstack' else api_server_port }}"
local_api_server_url: "http://127.0.0.1:{{ '8095' if cloud_orchestrator == 'openstack' else api_server_port }}"
api_server_url: "http://{{ config_server_list[0] }}:{{ api_server_port }}"
local_api_server_url: "http://127.0.0.1:{{ '8095' if cloud_orchestrator == 'openstack' and api_aaa_mode != 'no-auth' else api_server_port }}"

provision_auth: "{% if cloud_orchestrator == 'openstack' %}keystone{% else %}noauth{% endif %}"
provision_auth: "{% if cloud_orchestrator == 'openstack' and api_aaa_mode != 'no-auth' %}keystone{% else %}noauth{% endif %}"

# vnc api client input file's global configuration
global_vnc_api_configs:
Expand Down

0 comments on commit 937972e

Please sign in to comment.