no ping from external hosts to floating IPs

Asked by JuanFra Rodriguez Cardoso

Hi:

I have read all of related problems with my question but anything worked. Also I checked http://docs.openstack.org/trunk/openstack-compute/admin/content/associating-public-ip.html

My scenario deployed is:

- 1 controller node
- 3 compute node (include nova-network and nova-api - MULTIHOST MODE-)
- default security group (edited in Horizon):
      - ALLOW ICMP
      - ALLO TCP 22 (SSH)

I'm able to reach my instances via private and public ip but only from other compute nodes. It's not reached from external hosts.

Iptables rule has been added automatically when deploying instance: "-A nova-compute-inst-1 -p icmp -j ACCEPT"

Why I cannot access from external hosts to my floating ips? It's necessary to add manually some iptable rule?

Thanks!

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
JuanFra Rodriguez Cardoso
Solved:
Last query:
Last reply:
Revision history for this message
JuanFra Rodriguez Cardoso (juanfra-rc) said :
#1

Finally, all is working right!!

There was a problem with allocate/release processes of floating_ips.
I set up nova.conf with --auto_assign_floating_ip=True. However, when an instance terminated, its floating_ip was not released. I solved it by deleting 'floating_ips' table and re-creating 'floating-ip' range.

I suggest anyone with floating_ips problems to review carefully the following url:

http://docs.openstack.org/trunk/openstack-compute/admin/content/associating-public-ip.html

Regards!