DevStack 部署 OpenStack 多节点_devstack多节点部署(1)

  • PUBLIC_INTERFACE: 外部网络网卡名称
  • PUBLIC_NETWORK_GATEWAY:外部网络网关地址
  • Q_USE_PROVIDERNET_FOR_PUBLIC:允许配置Neutron L3 Agent的外部接口使用provider网络,从而实现对OpenStack云实例的公共网络访问。
  • OVS_PHYSICAL_BRIDGE:指定了一个OVS网桥br-ex作为物理网桥,外部网络的流量将通过这个OVS网桥br-ex,底层物理网卡将连接到br-ex网桥上
  • PUBLIC_BRIDGE:直接将之前定义的br-ex网桥指定为公共网络的网桥,所有外部网络的流量都将通过br-ex网桥
  • OVS_BRIDGE_MAPPINGS:映射外部网络到之前定义的br-ex网桥

安装控制节点

$ ./stack.sh

确认安装成功

......
=========================
DevStack Component Timing
 (times are in seconds)  
=========================
wait_for_service      12
async_wait           102
osc                  180
apt-get               71
test_with_retry        5
dbsync                 7
pip_install          128
apt-get-update         1
run_process           27
git_timed             85
-------------------------
Unaccounted time     184
=========================
Total runtime        802

=================
 Async summary
=================
 Time spent in the background minus waits: 322 sec
 Elapsed time: 802 sec
 Time if we did everything serially: 1124 sec
 Speedup:  1.4015


Post-stack database query stats:
+------------+-----------+-------+
| db         | op        | count |
+------------+-----------+-------+
| keystone   | SELECT    | 31269 |
| keystone   | INSERT    |    82 |
| neutron    | SELECT    |  4482 |
| neutron    | CREATE    |     1 |
| neutron    | SHOW      |     4 |
| neutron    | INSERT    |  4113 |
| neutron    | DELETE    |    27 |
| neutron    | UPDATE    |   116 |
| placement  | SELECT    |    38 |
| placement  | INSERT    |    55 |
| placement  | SET       |     1 |
| nova_api   | SELECT    |   305 |
| nova_cell0 | SELECT    |    65 |
| nova_cell1 | SELECT    |   317 |
| nova_cell0 | INSERT    |     5 |
| nova_cell0 | UPDATE    |     3 |
| nova_cell1 | INSERT    |     4 |
| nova_cell1 | UPDATE    |    20 |
| placement  | UPDATE    |     3 |
| glance     | SELECT    |    57 |
| glance     | INSERT    |    14 |
| glance     | UPDATE    |     2 |
| nova_api   | INSERT    |    23 |
| nova_api   | SAVEPOINT |    11 |
| nova_api   | RELEASE   |    11 |
+------------+-----------+-------+



This is your host IP address: 192.168.93.21
This is your host IPv6 address: ::1
Horizon is now available at http://192.168.93.21/dashboard
Keystone is serving at http://192.168.93.21/identity/
The default users are: admin and demo
The password: secret

Services are running under systemd unit files.
For more information see: 
https://docs.openstack.org/devstack/latest/systemd.html

DevStack Version: 2024.1
Change: f4f09416ca8de09820b52599c7bcd2911b407466 Merge "Drop unused environments for TripleO and heat agents" 2024-03-19 18:55:14 +0000
OS Version: Ubuntu 22.04 jammy

修改网卡配置,增加bridges部分,使网桥开机自动启动

stack@devstack21:~/devstack$ sudo vim /etc/netplan/00-installer-config.yaml
# This is the network config written by 'subiquity'
network:
  ethernets:
    ens33:
      addresses:
      - 192.168.93.21/24
      nameservers:
        addresses:
        - 223.5.5.5
        - 223.6.6.6
        search: []
      routes:
        - to: default
          via: 192.168.93.2
    ens37:
      dhcp4: false
  bridges:
    br-ex:
      openvswitch
  • 23
    点赞
  • 22
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值