Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openstack mitaka on VM, can not ping floatingip of inner guest VM

Hi all,

I have one CentOS 7 VM and installed Openstack Mitaka ready

I used OVS and create two networks, one is public network and the other is internal network

I upload cirros image for some simple test

I deployed one guest vm from cirros image and associate floatingip

Then I logined to host and try to ping this new VM floating ip, but failed

I checked security group and found I did set for icmp and tcp

I did know most openstack installed on physical host

But we are in CI test, so use VM to install openstack run some tempest

Could anyone support me to fix this problem? I searched in web and found many solution, but not work.

Below is some info for our env.

host ip: 108.11.11.3/24 public network: 108.11.11.0/24, floatingip range: 108.11.11.220-250 internal network: 192.168.10.0/24

guest VM ip: 192.168.10.59, floatingip: 108.11.11.226

router ip: 108.11.11.221, gateway: 192.168.10.1

  1. I logined to 108.11.11.3 and ping 108.11.11.226 failed
  2. ip netns list ... qrouter-375934b5-ad4d-4474-9aa6-f127d809a43b

  3. from router, try to ping guest vm ip netns exec qrouter-375934b5-ad4d-4474-9aa6-f127d809a43b ping -c 4 108.11.11.226 PING 108.11.11.226 (108.11.11.226) 56(84) bytes of data. 64 bytes from 108.11.11.226: icmp_seq=1 ttl=64 time=2.37 ms 64 bytes from 108.11.11.226: icmp_seq=2 ttl=64 time=0.584 ms 64 bytes from 108.11.11.226: icmp_seq=3 ttl=64 time=0.584 ms 64 bytes from 108.11.11.226: icmp_seq=4 ttl=64 time=0.526 ms

  4. ping -c 108.11.11.221 failed

Thanks!

BRs/Xu Gang