OpenStack kolla 多 region 部署配置
Posted wangjq19920210
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了OpenStack kolla 多 region 部署配置相关的知识,希望对你有一定的参考价值。
region one:
1 cat /etc/kolla/globals.yml 2 3 openstack_region_name: "RegionOne" 4 multiple_regions_names: 5 - "{{ openstack_region_name }}" 6 - "RegionTwo" 7 8 enable_keystone: "yes"
region two:
1 cat /etc/kolla/globals.yml 2 3 openstack_region_name: "RegionTwo" 4 5 kolla_internal_fqdn_r1: region_one_vip 6 keystone_admin_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_admin_port }}" 7 keystone_internal_url: "{{ internal_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_public_port }}" 8 9 openstack_auth: 10 auth_url: "{{ admin_protocol }}://{{ kolla_internal_fqdn_r1 }}:{{ keystone_admin_port }}" 11 username: "admin" 12 password: "{{ keystone_admin_password }}" 13 project_name: "admin" 14 domain_name: "default" 15 16 enable_keystone: "no"
region two:
1 [[email protected] ~]# cat /etc/kolla/config/global.conf 2 [keystone_authtoken] 3 auth_uri = {{ keystone_internal_url }} 4 auth_url = {{ keystone_admin_url }}
1 [[email protected] ~]# cat /etc/kolla/config/mistral.conf 2 [keystone_authtoken] 3 auth_uri = {{ keystone_internal_url }}/v3 4 auth_url = {{ keystone_admin_url }}/v3 5 [openstack_actions] 6 default_region = RegionTwo
1 [[email protected] ~]# cat /etc/kolla/config/heat.conf 2 [DEFAULT] 3 region_name_for_services = RegionTwo 4 [trustee] 5 auth_uri = {{ keystone_internal_url }} 6 auth_url = {{ keystone_internal_url }} 7 [ec2authtoken] 8 auth_uri = {{ keystone_internal_url }} 9 [clients_keystone] 10 auth_uri = {{ keystone_internal_url }}
1 [[email protected] ~]# cat /etc/kolla/config/nova.conf 2 [placement] 3 auth_url = {{ keystone_admin_url }}
以上是关于OpenStack kolla 多 region 部署配置的主要内容,如果未能解决你的问题,请参考以下文章
使用kolla-ansible部署多节点OpenStack(T版)及对接Ceph