标签:roo 虚拟 loopback ansible 建议 tps 线程 百度网盘 cloud
密码: gba2
3块网卡(一块桥接到局域网,一块桥接到本笔记本回环1网卡,最后桥接到本笔记本回环2网卡)
? 出现菜单,如果需要修改IP(敲一下Tab,修改IP地址),选择
kolla,之后回车开始安装系统。
[libvirt] connection_uri = qemu+tcp://10.99.0.2/system virt_type = qemu cpu_mode = none
[root@control01 network-scripts]# ifconfig docker0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 172.17.0.1 netmask 255.255.0.0 broadcast 0.0.0.0 inet6 fe80::42:b8ff:fea6:b614 prefixlen 64 scopeid 0x20<link> ether 02:42:b8:a6:b6:14 txqueuelen 0 (Ethernet) RX packets 8 bytes 536 (536.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 8 bytes 648 (648.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ens33: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.99.0.2 netmask 255.255.255.0 broadcast 10.99.0.255 inet6 fe80::20c:29ff:fed2:ace2 prefixlen 64 scopeid 0x20<link> ether 00:0c:29:d2:ac:e2 txqueuelen 1000 (Ethernet) RX packets 853 bytes 81999 (80.0 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 612 bytes 103483 (101.0 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ens34: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::20c:29ff:fed2:acec prefixlen 64 scopeid 0x20<link> ether 00:0c:29:d2:ac:ec txqueuelen 1000 (Ethernet) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 14 bytes 1008 (1008.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ens35: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 10.10.10.41 netmask 255.255.255.0 broadcast 10.10.10.255 inet6 fe80::20c:29ff:fed2:acf6 prefixlen 64 scopeid 0x20<link> ether 00:0c:29:d2:ac:f6 txqueuelen 1000 (Ethernet) RX packets 19 bytes 1704 (1.6 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12 bytes 1452 (1.4 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 0 bytes 0 (0.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 0 bytes 0 (0.0 B) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 vethadb00e5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet6 fe80::1c23:5eff:febd:dc20 prefixlen 64 scopeid 0x20<link> ether 1e:23:5e:bd:dc:20 txqueuelen 0 (Ethernet) RX packets 8 bytes 648 (648.0 B) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 16 bytes 1296 (1.2 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
检查kolla的相关IP地址配置
[root@control01 network-scripts]# cd /etc/kolla/ [root@control01 kolla]# ls globals.yml passwords.yml [root@control01 kolla]# vim globals.yml 检查是不是本机的IP地址、默认是10.99.0.2 kolla内网的VIP kolla_internal_vip_address: "10.99.0.2" docker仓库的地址 docker_registry: "10.99.0.2:4000" docker_namespace: "99cloud" 内网的接口 network_interface: "ens33" 外网的接口 neutron_external_interface: "ens34" 如果做高可用要启用 enable_haproxy: "no"
开始部署 /root/kolla-ansible-4.0.3.dev36/tools/kolla-ansible deploy 大约一个小时左右
标签:roo 虚拟 loopback ansible 建议 tps 线程 百度网盘 cloud
原文地址:https://www.cnblogs.com/w787815/p/9304485.html