Skip to content

Instantly share code, notes, and snippets.

@logan2211
Created March 19, 2018 22:14
Show Gist options
  • Select an option

  • Save logan2211/d2c9548f8a405e663ea356adb83b6e97 to your computer and use it in GitHub Desktop.

Select an option

Save logan2211/d2c9548f8a405e663ea356adb83b6e97 to your computer and use it in GitHub Desktop.

Revisions

  1. logan2211 revised this gist Mar 19, 2018. 1 changed file with 1 addition and 2 deletions.
    3 changes: 1 addition & 2 deletions user_variables.yml
    Original file line number Diff line number Diff line change
    @@ -7,8 +7,7 @@ keystone_service_internaluri: "{{ keystone_service_internaluri_proto }}://{{ mas
    # Make sure your keystone_auth_admin_password in user_secrets for the second region matches the password from regionOne

    # These settings avoid username collisions when using the same keystone
    # deployment across multiple regions. They should be moved to osdeploy when
    # we are ready to migrate the us-dfw-1 service usernames.
    # deployment across multiple regions.
    glance_service_user_name: "glance-{{ service_region }}"
    cinder_service_user_name: "cinder-{{ service_region }}"
    nova_service_user_name: "nova-{{ service_region }}"
  2. logan2211 created this gist Mar 19, 2018.
    20 changes: 20 additions & 0 deletions user_variables.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    service_region: regionTwo
    master_region_keystone_address: "10.53.3.2"
    keystone_service_region: regionOne
    keystone_service_adminuri: "{{ keystone_service_adminuri_proto }}://{{ master_region_keystone_address }}:{{ keystone_admin_port }}"
    keystone_service_internaluri: "{{ keystone_service_internaluri_proto }}://{{ master_region_keystone_address }}:{{ keystone_service_port }}"

    # Make sure your keystone_auth_admin_password in user_secrets for the second region matches the password from regionOne

    # These settings avoid username collisions when using the same keystone
    # deployment across multiple regions. They should be moved to osdeploy when
    # we are ready to migrate the us-dfw-1 service usernames.
    glance_service_user_name: "glance-{{ service_region }}"
    cinder_service_user_name: "cinder-{{ service_region }}"
    nova_service_user_name: "nova-{{ service_region }}"
    nova_placement_service_username: "placement-{{ service_region }}"
    neutron_service_user_name: "neutron-{{ service_region }}"
    heat_service_user_name: "heat-{{ service_region }}"

    # typically in the second region you would not define any identity_hosts or dashboard_hosts in your openstack_user_config.yml
    # that means only regionOne has keystone and horizon, and the dashboard and identity service for all regions is accessed thru regionOne