Skip to content

Instantly share code, notes, and snippets.

@a1git
Created December 8, 2020 16:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save a1git/4368656babd5d74753eb1ce3e5c2bc83 to your computer and use it in GitHub Desktop.
Save a1git/4368656babd5d74753eb1ce3e5c2bc83 to your computer and use it in GitHub Desktop.
## controller c1 ( only 1 controller)
root@c1:~# lxc-ls -f
NAME STATE AUTOSTART GROUPS IPV4 IPV6 UNPRIVILEGED
c1_cinder_api_container-4a325a5b RUNNING 1 onboot, openstack 10.0.3.42, 172.29.238.187, 172.29.246.217 - false
c1_cinder_volumes_container-e545416c RUNNING 1 onboot, openstack 10.0.3.175, 172.29.239.7, 172.29.246.248 - false
c1_galera_container-54a687c9 RUNNING 1 onboot, openstack 10.0.3.32, 172.29.238.247 - false
c1_glance_container-6bde6d53 RUNNING 1 onboot, openstack 10.0.3.8, 172.29.237.85, 172.29.245.169 - false
c1_heat_api_container-40e07616 RUNNING 1 onboot, openstack 10.0.3.54, 172.29.236.85 - false
c1_horizon_container-b26ffd3b RUNNING 1 onboot, openstack 10.0.3.195, 172.29.236.158 - false
c1_keystone_container-d32e9784 RUNNING 1 onboot, openstack 10.0.3.15, 172.29.239.17 - false
c1_memcached_container-48f7ccb1 RUNNING 1 onboot, openstack 10.0.3.10, 172.29.239.194 - false
c1_neutron_server_container-4408fe2f RUNNING 1 onboot, openstack 10.0.3.100, 172.29.238.6 - false
c1_nova_api_container-7660ec72 RUNNING 1 onboot, openstack 10.0.3.98, 172.29.236.232 - false
c1_octavia_server_container-bd64dff3 RUNNING 1 onboot, openstack 10.0.3.220, 172.29.232.223, 172.29.237.248 - false
c1_placement_container-dd75ea2e RUNNING 1 onboot, openstack 10.0.3.216, 172.29.236.139 - false
c1_rabbit_mq_container-6cfcb481 RUNNING 1 onboot, openstack 10.0.3.90, 172.29.238.227 - false
c1_repo_container-11b79096 RUNNING 1 onboot, openstack 10.0.3.94, 172.29.237.140 - false
c1_utility_container-daac7cf4 RUNNING 1 onboot, openstack 10.0.3.28, 172.29.236.197 - false
root@c1:~# brctl show
bridge name bridge id STP enabled interfaces
br-lbaas 8000.e20036b0616c no bd64dff3_eth14
v-br-lbaas.27
br-mgmt 8000.52540041e392 no 11b79096_eth1
40e07616_eth1
4408fe2f_eth1
48f7ccb1_eth1
4a325a5b_eth1
54a687c9_eth1
6bde6d53_eth1
6cfcb481_eth1
7660ec72_eth1
b26ffd3b_eth1
bd64dff3_eth1
d32e9784_eth1
daac7cf4_eth1
dd75ea2e_eth1
e545416c_eth1
enp2s0
br-storage 8000.525400733958 no 4a325a5b_eth2
6bde6d53_eth2
e545416c_eth2
enp4s0
br-vlan 8000.5254000d2dcb no enp5s0
v-br-vlan
br-vxlan 8000.525400c14579 no enp3s0
lxcbr0 8000.fe09a4b14d05 no 11b79096_eth0
40e07616_eth0
4408fe2f_eth0
48f7ccb1_eth0
4a325a5b_eth0
54a687c9_eth0
6bde6d53_eth0
6cfcb481_eth0
7660ec72_eth0
b26ffd3b_eth0
bd64dff3_eth0
d32e9784_eth0
daac7cf4_eth0
dd75ea2e_eth0
e545416c_eth0
root@c1:~# tcpdump -ni v-br-lbaas.27
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on v-br-lbaas.27, link-type EN10MB (Ethernet), capture size 262144 bytes
16:07:01.635267 ARP, Request who-has 10.62.0.1 tell 10.62.1.168, length 28
16:07:02.649858 ARP, Request who-has 10.62.0.1 tell 10.62.1.168, length 28
16:07:03.673773 ARP, Request who-has 10.62.0.1 tell 10.62.1.168, length 28
compute node:
root@h1:~# brctl show
bridge name bridge id STP enabled interfaces
br-mgmt 8000.525400622e13 no enp2s0
br-storage 8000.5254000cafe5 no enp4s0
br-vlan 8000.525400151603 no enp5s0
br-vxlan 8000.525400f8b579 no enp3s0
brq47a62e3d-3f 8000.525400151603 no br-vlan.27
tapb08721ec-74
root@h1:~# virsh list --all
Id Name State
-----------------------------------
1 instance-00000015 running
root@h1:~#
root@h1:~# tcpdump -ni br-vlan.27
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on br-vlan.27, link-type EN10MB (Ethernet), capture size 262144 bytes
16:06:32.632003 ARP, Request who-has 10.62.0.1 tell 10.62.1.168, length 28
16:06:33.655930 ARP, Request who-has 10.62.0.1 tell 10.62.1.168, length 28
variables:
neutron_lbaas_octavia: true
octavia_ssh_enabled: false
octavia_management_net_subnet_allocation_pools: 10.62.0.10-10.62.7.250
octavia_management_net_subnet_cidr: 10.62.0.0/21
octavia_provider_network_name: vlan
octavia_provider_segmentation_id: 27
octavia_provider_network_type: vlan
octavia_container_network_name: lbaas_address
horizon_enable_neutron_lbaas: False
config
lbaas: 172.29.232.0/22
- network:
container_bridge: "br-lbaas"
container_type: "veth"
container_interface: "eth14"
host_bind_override: "eth14"
ip_from_q: "lbaas"
type: "raw"
net_name: "lbaas"
group_binds:
- neutron_linuxbridge_agent
- octavia-workera
- octavia-housekeeping
- octavia-health-manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment