Have a multi-node MAAS-JUJU-Openstack setup, i.e., nova-cloud-controller, nova-compute, and quantum/neutron gateway are on separate hosts. In this setup, MAAS and openstack share as their management network, while Quantum charm is connected via eth0 to public network I am able to spawn instances, and assign floating ip addresses to them. I can also ping to and from public network. Furthermore, the 2 cirros instances, which are on the same subnet, can ssh each other. However, am not able to ssh to instances either through router namespace, i.e., ip netns exec qr-xxxx ssh -i <full path to key> cirros@privateipaddr, or from outside. I've generated key-pairs both through dashboard and nova, with similar results. Also tried chmod 0600 key, ssh-add key to no avail. A sample output is shown here http://pastebin.ubuntu.com/7676660/, which eventually times out. Connecting via vnc to cirros image shows, under /var/log messages, the following:

Jun20 14:29:21 cir3 authpriv.info dropbear[364]: Child connection from GatewayPrivateIp:32818
Jun20 14:29:21 cir3 authpriv.info dropbear[364]: Exit before auth: Timeout before auth

Similar logs are observed, when ssh-ing from public network. In case of public network access, wireshark shows repeated retransmission of ssh ACK from source to VM's public address, with ARP calls asking who owns either the source or VM's ip address, and finally, VM sending [FIN, ACK] and closing the connection.

I have set up the meta-data server and followed the 2nd method as noted in Cloud instances in OpenStack can't import public SSH key, and am seeing the following during boot up, http://pastebin.ubuntu.com/7676789/. (Not sure if these are significant: failed to get warning: no ec2 metadata for user-data) To isolate testing, I've created a new security group that allows all tcp ranges in both ingress and egress directions. Seems to me that this is not a firewall or policy issue as connection to port 22 is possible, I am wondering if wrong meta-data is being generated during boot up. Any and all suggestions are appreciated. Cheers,


In our multi-node environment, problem ended up being packet fragmentation. The work around for is to increase mtu to 1700 on management nics of both compute and neutron nodes, e.g., ifconfig ethxxx mtu 1700

| improve this answer | |
  • 1
    Do you accomplish this by setting network-device-mtu to 1700 in neutron-api and nova-compute? – Daniel Bidwell Nov 9 '15 at 16:40
  • Either command line or in /etc/network/interfaces - I am running on Ubuntu. – Nastooh Nov 11 '15 at 22:57

In my 3 node openstack instance (ML2 - OpenVSwitch - GRE tunnel) I had to set MTU to 1400. The default MTU was 1500. Experiment with various MTU sizes.

| improve this answer | |
  • 1
    Try to expand your answer a little bit, so the answer you are providing is more clear to the question he is asking. – Akiva Aug 11 '14 at 3:39
  • Did you do this in addition to the mtu settings above or instead of them? Did you set instance-mtu to 1400 in neutron-gateway? – Daniel Bidwell Nov 9 '15 at 16:59
  • I did a juju set neutron-gateway instance-mtu=1400 and rebooted my vm. When it came up I was able to communicate with it, both inbound and outbound. – Daniel Bidwell Dec 24 '15 at 5:03

I had a similar problem with the metadata, my solution was create a file named dnsmasq-neutron.conf with the content:


and point it inside the /etc/neutron/dhcp_agent.ini using


Also check the auth_region = regionOne inside the /etc/neutron/metadata_agent.ini, at my configuration it is with r and at the metadata default configuration it is with R.

| improve this answer | |

Problem: VM nodes, cannot ssh to physical nodes, and physical nodes cannot ssh to VM nodes, but ping works between all. VMs on Physical can ssh successfully to each other.

Change the VM node NIC MTU value from 1500 to 1420.
Now the VM nodes and Physical nodes can ssh each other.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.