• 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:(region_one_vip:regionOne的keystone IP)

     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 [root@controller ~]# cat /etc/kolla/config/global.conf 
    2 [keystone_authtoken]
    3 auth_uri = {{ keystone_internal_url }}
    4 auth_url = {{ keystone_admin_url }}
    1 [root@controller ~]# 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 [root@controller ~]# 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 [root@controller ~]# cat /etc/kolla/config/nova.conf 
    2 [placement]
    3 auth_url = {{ keystone_admin_url }}

     两个region节点都要执行kolla-ansible deploy

  • 相关阅读:
    c# 坑人的发邮件组件
    生成拼音
    FileDb
    WMI tester
    c# 纯代码调用 webservice
    c# 中 利用 CookieContainer 对 Cookie 进行序列化和反序列化校验
    在经过身份验证的服务中不支持跨域 javascript 回调
    c# 使用 namedpipe 通信
    c++ 创建线程以及参数传递
    c#函数地址传入c++
  • 原文地址:https://www.cnblogs.com/wangjq19920210/p/10330692.html
Copyright © 2020-2023  润新知