Attempt to Create a Router is Failing

  • by Leslie Lundquist October 24, 2016
  • Tags:

    • troubleshooting

    • nova

    • router

    • IPs

    • availability

Q. Why is my attempt to create a router failing? I get this error shown in the UI:

Error: Router `test-pavan-router was created but connecting to an external network failed. The created router has been deleted, as the overall operation failed.

A. Usually, when the error you’re getting occurs, it’s because you’re out of IP addresses on one or more of the networks you’re trying to attach the router to. You can check how many IPs are left on the network by running neutron net-ip-availability-show, as detailed in this article. You may need to delete IPs that are assigned to projects that no longer exist, by using the command:

nova floating-ip-delete

If you do have plenty of IPs available, have you tried creating the router via the command line to see if it gives you a more informative error? Especially helpful would be an error message that includes a Request-ID, so the support team can search for that in the logs.

A step-by-step user guide on how to create a router from the command line can be found on the OpenStack website. Hope this helps!