Cloudify on openstack without an External network

431 views
Skip to first unread message

Ben Haines

unread,
Aug 13, 2014, 10:28:05 AM8/13/14
to cloudif...@googlegroups.com
Hi,

I'm using cloudify 3.0 (via pip) on our internal openstack deployment. The bootstrapping ("cfy bootsrap") process is failing because the external network (ext_network) in our openstack deployment isn't truly external. Meaning it uses RFC1918 address space and as such has the "external network" flag set to no.

Exception occurred in provider: 400-{u'NeutronError': {u'message': u'Bad router request: Network 07b42e97-7b03-48f6-8a6c-6d7cfdb3240a is not a valid external network', u'type': u'BadRequest', u'detail': u''}}

I can avoid the Router error (above) being thrown by creating a router, but it then simply fails for the same reason trying to secure a floating IP.

Exception occurred in provider: 400-{u'NeutronError': {u'message': u'Bad floatingip request: Network 07b42e97-7b03-48f6-8a6c-6d7cfdb3240a is not a valid external network', u'type': u'BadRequest', u'detail': u''}}

Does anybody have any thoughts on how I can overcome this issue? Unfortunately I don't know the codebase well enough yet to hack the code.

If it helps, our internal openstack deployment has a single large network called 'public' with RFC1918 addressing. Connections outbound to the Internet are routed via a squid proxy and inbound connections via a VIP/NAT managed separately outside of openstack.

Thanks for your help/comments in advance.

Ben

Ben Haines

unread,
Aug 13, 2014, 2:50:05 PM8/13/14
to cloudif...@googlegroups.com
With the help of some colleagues I've solved this issue.

There is actually another openstack network we use for floating IPs, using this as the external network and defining a separate admin network allows the bootstrap process to continue for a bit longer.

Ankur Arora

unread,
Dec 20, 2015, 11:11:25 AM12/20/15
to cloudify-users, ben.h...@gmail.com
Hi Ben ,

I am also facing this issue 

root@node-1:~# neutron router-gateway-set myrouter public
400-{u'NeutronError': {u'message': u'Bad router request: Network 557723cd-2b96-4fd0-92ae-7fd5fbc39fc4 is not a valid external network', u'type': u'BadRequest', u'detail': u''}}



root@node-1:~# neutron net-list
+--------------------------------------+-----------+-------------------------------------------------------+
| id                                   | name      | subnets                                               |
+--------------------------------------+-----------+-------------------------------------------------------+
| 2c3cf315-5cf2-431a-b426-2c85a1a76a73 | net04_ext | 5a187d41-1fdb-4cd6-825d-ab8ed48ad2fb 172.16.0.0/24    |
| 3eebc9c1-74de-4786-a6d6-2f87ea30dfaa | net04     | ca762276-cafa-4336-a5d0-6a2b6f638151 192.168.111.0/24 |
| 557723cd-2b96-4fd0-92ae-7fd5fbc39fc4 | public    |                                                       |
| d8f992b4-137b-4867-9a9c-04817c8a96f4 | private   | 88a42ff5-2293-4f30-bdcd-fa9a8f3a4f74 10.0.0.0/24      |
+--------------------------------------+-----------+-------------------------------------------------------+


Please guide :)

Regards
Ankur

Trammell -

unread,
Dec 21, 2015, 4:51:24 AM12/21/15
to cloudify-users, ben.h...@gmail.com
Hi Ankur,

I think your comment is intended for the Openstack support forum and not Cloudify since you are only using the Neutron CLI.
Reply all
Reply to author
Forward
0 new messages