Openstack instances can't ping the outside world
Hello,
We're trying to setup a single node installation of Openstack, and soon a multi-node one. We're using puppetto achieve that, following this great article : http://www.cloudbase.it/deploy-openstack-kilo-with-puppet/ (http://www.cloudbase.it/deploy-openst...)
After installation, we can't directly create floating ip and use them, we need to add these two security-group rules :
nova secgroup-add-rule default icmp -1 -1 0.0.0.0/0
nova secgroup-add-rule default tcp 22 22 0.0.0.0/0
And then we can ping our instances from the host, and instances can ping the host.
The problem is: instances can't ping the outside world (ex: 8.8.8.8 or http://google.com).
I believe the answer can solve another issue I didn't fully understand, we got an IP Block (/27) When I run this command:
ifconfig eth1 <my_public_ip>
Then I can ping my_public_ip from anywhere, but when neutron try to use those public IPs it doesn't work and I can't access my instances.
Can anyone give us some leads to find out what's wrong ?
EDIT: As suggested in comments, I switched to RDO deployment.
Now, instances can ping the outside world, and name resolution works. So the "title question" is solved. Should I create another question on http://ask.openstack.org to continue troubleshoot my installation ?
Public IP block given by ISP isn't working, I installed packstack this way
packstack --allinone --provision-demo-floatrange=1.2.3.4/27
VM are accessible, but public IPs can't be accessed from outside.
Check your resolv.conf file maybe you need to add the nameserver
My /etc/resolv.conf:
The host can pin 8.8.8.8 and resolve hostname like http://google.com
Your choice of puppet technology for Openstack deployment looks a bit strange, unless it's your own project.
There's some puppet project maintained by openstack community, it seems like a logical choice to me.
What would you suggest ?
RH RDO deployment via packstack.