I have a three node installation of openstack, everything works fine before. But now i can't ping or ssh the instances in openstack.
I can ping the ip of the controler and the networker, also from my controller i can see that all nova agents are up and the same thing for neutron-agents
I can ping the gateway to the external net from router namspace. I can also ping the subnet interface from router but i can't ping the instance using the floating ip adress
Can someone help me fix this issue?
Thank you
Please restart Neutron services on controller, networking and Compute nodes.
Thank you Farhad it solved my problem.
I followed this tutorial to restart the services. Must restart nova and neutron services on both controller and compute nodes.
https://askubuntu.com/questions/438871/how-to-restart-openstack-services-after-restart-logout/1341668#1341668
Related
I’ve installed openstack all-in-one in Centos 7. But, i have an issue with networking. I created an external network in ‘flat’ form (192.168.242.0/24 with gateway 192.168.242.1), and a private network (10.10.10.0/24 with gateway 10.10.10.1).
my instances can ping the router’s gateway (192.168.242.22), the floating ip (192.168.242.37), and the host (192.168.242.42), but they can’t reach the real external gateway (192.168.242.1) nor internet. The ping's message is: Destination Host Unreachable.
In return my host (192.168.242.42) can ping the tenant network’s gateway (10.10.10.1), the floating ip, and the router’s gateway.
Also i can ssh in both sides, and i've already permited ICMP in both sides.
Could you please help me with this issue? I'm really stuck with that.
Thank you in advance.
I am running Devstack on my machine and i would like to know if it is possible to ping an instance from Host. The default external network of Devstack is 172.24.4.0/24 and br-ex on Host has the IP 172.24.4.1. I launch an instance using the internal network of Devstack (192.168.233.0/24) and the instance gets the IP 192.168.233.100. My Host's IP is 192.168.1.10. Is there a way to ping 192.168.233.100 from my Host? Another thing i thought is to boot up a VM directly to the external network (172.24.4.0/24) but the VM does not boot up correctly. I can only use that network for associating floating IP's.
I have edited the security group and i have allowed ICMP and SSH, so this is not a problem.
An instance created in the OpenStack can not access the internet. I have created an instance from the ubuntu cloud image.
In the security groups, I allowed all the ports for ingress and egress request of ICMP, TCP and UDP. I can ssh the instance and ping the floating IP of the instance and all the other instances on the private network but I can not ping any other IP address outside the network. In the network topology, the router is connecting the public and private network but the instance can not access the internet and i can not ping 8.8.8.8.
Does anyone know how to resolve this issue?
check you ml2 and linuxbridge or ovs agent. this is because of miss-configuration. presumably type-driver and mechanism-driver mismatch, or provider network is not set correctly.
please post your config here, so we can find the problem.
Thanks for your answer. I was able to resolve this issue by allowing ICMP ingress requests because of port 22 in the security groups.
I installed Mininet as per the instructions over here. After starting the mininet VM, when I try to ping google.com, it gives the error:
Could anyone please help me figure out the problem?
The problem seems to be happening because DNS server is not configured correctly on the mininet VM. Please check the DNS configuration on the mininet VM. Open the file /etc/resolv.conf and configure the DNS server IP address (nameserver ).
If ping to google.com still doesn't work, check the default gateway configuration on the VM using "route -n" command.
You need to add "--nat" when start topology with "sudo mn .."
The IP of of an instance created through Openstack is 10.0.0.2. But when I tried to ping this IP from other machine, it was not successful, however I am able to ping this IP from the machine on which Openstack(Devstack) is installed.
What could be the reason and how to resolved this?
This may help you: http://www.liquidstate.net/blog/technology/openstack-havana-home-lab-on-centos6-with-external-networking/
Basically, you need a virtual router to connect from you LAN to OpenStack private network.
I think, you don't need a Floating IP exactly on each instance. Only a virtual router, then you can create a static route on each machine in you LAN, for example:
ip route add 10.0.0.0/8 via 192.168.1.100 dev em1
Good Luck!
This IP is a private one, by default, when you deploy a new instance it is deployed with a private IP.
If you want to have a public IP, you need to create a floating IP for your project and afterward, you should assign one IP from this pool to the server instance that you have created previously.
After that you could access to your server instance without any problem.
I hope that it could help you.