Newton and Ocata: can't ping VM on CentOS 7.3 and Ubuntu 17

asked 2017-06-09 03:23:03 -0500

tland12 gravatar image

updated 2017-06-14 21:58:56 -0500

Hello OpenStack users, I stuck in OpenStack Neutron for a month. Please help me solve this problem.

My environment is below

  1. CentOS 7.3 + Newton + Linuxbridge + Flat type = failed to ping VM but successful for DHCP namespace

  2. Ubuntu 16.04.2 + Newton +Linuxbridge +Flat type = ping is successful for VM and DHCP namespace

  3. CentOS 7.3 +Ocata + Linuxbridge + Flat type = failed to ping VM but successful for DHCP namespace

  4. Ubuntu 17.04 + Ocata + Linuxbridge + Flat type = failed to ping VM but successful for DHCP namespace

Even if I copied all configuration files from Ubuntu 16.04 and Newton to CentOS 7.3 and Newton, ping did not work. It means that ping works well in Newton of Ubuntu 16.04.2 but does not work in Newton of CentOS 7.3 using same configurations and environments. I can not find any error messages on the log files from Nova and Neutron after creating VM.

I am using same OpenStack version (Newton) and ping works well on Ubuntu 16.04.2 but failed to ping on CentOS7.3.

I installed CentOS 7 on VMWare Workstation as a host and create 3 instances as guests. 3 instances are CentOS7 created using virt-install and CentOS7.3 created using CentOS cloud image and cirros.

In the log file '/var/log/messages' I found when sent ping 213.0.113.102 (Instance) on Controller node 'controller1 avahi-daemon[746]: Received response from host 169.254.145.82 with invalid source port 54663 on interface 'eno16777736.0' and eno16777736 is the interface name connected for Provider network.

In Compute Node I found same log from /var/log/messages

compute1 avahi-daemon[795]: Received response from host 169.254.145.82 with invalid source port 54663 on interface 'brq03f03b81-1c.0'
Here interface brq03f03b81-1c.0' is the interface name of bridge connected for Provider network on Compute node.

In the DHCP namespace I found these IP addresses

[root@network1 ~]# ip addr

ns-98a44388-21@if6: <broadcast,multicast,up,lower_up> mtu 1500 qdisc noqueue state UP qlen 1000 link/ether fa:16:3e:bb:61:d1 brd ff:ff:ff:ff:ff:ff link-netnsid 0

**inet 213.0.113.101/24 brd 213.0.113.255 scope global ns-98a44388-21 valid_lft forever preferred_lft forever

inet 169.254.169.254/16 brd 169.254.255.255 scope global ns-98a44388-21 valid_lft forever preferred_lft forever**

Thank you for your help in advance.

edit retag flag offensive close merge delete

Comments

So using the same version of OpenStack (Newton) and a flat type, you CAN ping ubuntu but CANNOT ping centOS?

Are you using the cloud version of centOS? What does the console log show?

AndyWojo gravatar imageAndyWojo ( 2017-06-09 13:28:18 -0500 )edit

AndyWbjo thank you for your comment.

Please check my updated question above about your question.

tland12 gravatar imagetland12 ( 2017-06-10 05:23:15 -0500 )edit