I run a little dev vagrant box with Openstack installed on it thanks to devstack. Everything runs pretty good, but I can't manage to connect through ssh to my new instance. When I try ssh -i ~/.ssh/id_rsa cirros@10.0.0.2 I get the following message :
ssh connect to host 10.0.0.2 port 22: No route to host
My security group rules are fine but I'm not able to find the problem.
A useful Resource is the RDO Website .
From Networking :
Verify that traffic to port 22 and ICMP traffic of any type (-1:-1) is allowed in the default security group.
Verify that you can ping and SSH the host where the instance is running From the host where you are attempting to connect to your instance, verify that network traffic is being correctly routed to the compute node in question.
ip netns list
# Identify virtual router to which your subnet is connected
ip netns exec qrouter-YOUR-OVSROUTER-ID ping YOUR-INSTANCE-IP
# IP address and qrouter ID correspond to the network namespace and private IP address for instance
If that is working your network is working fine. You can try restarting the following services:
sudo systemctl restart neutron-metadata-agent.service
sudo systemctl restart neutron-dhcp-agent.service
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.