Ask Your Question
0

openstack-ansible: compute node don't access to the container services

asked 2019-08-12 15:07:29 -0500

iman gravatar image

updated 2019-08-13 09:31:49 -0500

hi

I've setup openstack ansible version stein with no error, in installation process. compute node and controller node have the same mgmt network. all containers in controller can ping each other as well as controller management ip. unfortunately there is no connection between compute and containers .

ping > controller > compute (( OK ))

ping > controller > containers (( OK ))

ping > compute > containers (( error ))

ping > desktop > containers (( error ))

here are netwrok configurations:

controller:

# Physical interface - MANAGEMENT 
auto ens160
iface ens160 inet manual

auto ens160.30
iface ens160.30 inet manual
  vlan-raw-device ens160

auto ens160.31
iface ens160.31 inet manual
  vlan-raw-device ens160

# Container/Host management bridge
auto br-mgmt
iface br-mgmt inet static
   bridge_stp off
   bridge_waitport 0
   bridge_fd 0
   bridge_ports ens160.30
   address 172.20.30.251
   netmask 255.255.255.0
   gateway 172.20.30.1

 # Bind the External VIP
auto br-mgmt:0
iface br-mgmt:0 inet static
   address 172.20.30.250
   netmask 255.255.255.0

auto br-vxlan
iface br-vxlan inet static
   bridge_stp off
   bridge_waitport 0
   bridge_fd 0
   bridge_ports ens160.31
   address 172.20.31.251
   netmask 255.255.255.0

# OpenStack Networking VLAN bridge
auto br-vlan
iface br-vlan inet manual
   bridge_stp off
   bridge_waitport 0
   bridge_fd 0
   pre-up ip link add br-vlan-veth type veth peer name eth12 || true
   pre-up ip link set br-vlan-veth up
   pre-up ip link set eth12 up
   post-down ip link del br-vlan-veth || true
   bridge_ports ens160 br-vlan-veth

root@infra1-neutron-server-container-06c9a7b7:~# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
84: eth0@if85: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:44:77:f4 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 10.0.3.195/24 brd 10.0.3.255 scope global dynamic eth0
       valid_lft 3367sec preferred_lft 3367sec
    inet6 fe80::216:3eff:fe44:77f4/64 scope link 
       valid_lft forever preferred_lft forever
86: eth1@if87: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:e3:ba:80 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet 172.20.30.142/24 brd 172.20.30.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3eff:fee3:ba80/64 scope link 
       valid_lft forever preferred_lft forever

root@compute1:~# ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: ens160: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-vlan state UP group default qlen 1000
    link/ether 00:50:56:84:de:5f brd ff:ff:ff:ff ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-08-13 09:38:25 -0500

iman gravatar image

i solved my problem. but couldn't find why?

deployment, infra and compute nodes were 3 VM on vmware hypervisor and i migrated virtualization platform to proxmox and now every thing is ok. all switch port configuration on both vmware and proxmox are the same and i wonder why i couldn't connect to my containers when i ran virtual env on vmware ?!. anyway...

thx

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-08-12 15:07:29 -0500

Seen: 8 times

Last updated: Aug 12