Ask Your Question

Savanna with Quantum Network

asked 2013-07-21 07:34:11 -0500


I installed Savanna including the dashboard. I am able to create everything, like node group templates, cluster templates etc. But when i try to launch the cluster, i get an error. Later from few searches i found that Savanna is not ready to fully support Neutron/Quantum and only support Nova-Network [Pls correct me if i am wrong].

Is there any workaround, that can make Savanna work on a Quantum Network. I am getting the following error in the savanna API Log.

2013-07-20 19:53:26.218 18342 WARNING savanna.service.instances [-] Can't start cluster 'test' (reason: unexpected type <type 'nonetype'=""> for addr arg) Traceback (most recent call last): File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/eventlet/hubs/", line 346, in fire_timers timer() File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/eventlet/hubs/", line 56, in __call__ cb(args, *kw) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/eventlet/", line 194, in main result = function(args, *kwargs) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/", line 127, in wrapper func(args, *kwargs) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 110, in _provision_cluster i.create_cluster(cluster) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 48, in create_cluster _rollback_cluster_creation(cluster, ex) File "/usr/lib/python2.7/", line 24, in __exit__ File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 36, in create_cluster _await_instances(cluster) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 183, in _await_instances if not _check_if_up(instance): File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 203, in _check_if_up if not networks.init_instances_ips(instance, server): File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/savanna/service/", line 55, in init_instances_ips network = netaddr.IPNetwork(nova_network.cidr) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/netaddr/ip/", line 907, in __init__ implicit_prefix, flags) File "/usr/local/savanna/savanna-venv/local/lib/python2.7/site-packages/netaddr/ip/", line 802, in parse_ip_network raise TypeError('unexpected type %s for addr arg' % type(addr)) TypeError: unexpected type <type 'nonetype'=""> for addr arg (18342) accepted ('', 42740)

Thanks in advance.

edit retag flag offensive close merge delete

16 answers

Sort by ยป oldest newest most voted

answered 2013-08-29 22:29:52 -0500

Thx Thej, our current infrastructure won't allow for floating IPs. The change above will get us working until the Neutron bp is completed.

edit flag offensive delete link more

answered 2013-07-30 06:43:23 -0500

when I am launching cluster after some floating ip available, I can see the instace, but when the launching finished and the cluster turned error ,the instaces were deleted. Does that mean, if I use quantum, I can not run savanna? What can I do if I want to run savanna? Thanks.

edit flag offensive delete link more

answered 2013-07-21 10:13:31 -0500

SergeyLukjanov gravatar image

Unfortunately we are not test Savanna with Neutron now. Here is a bp for integration with Neutron - (

BTW you can try to use flag use-floating-ips to make savanna use only internal ips, theoretically if savanna will able to access instances using internal network than cluster should be created ok.

edit flag offensive delete link more

answered 2013-07-21 14:49:26 -0500

Dear Sergey,

Thanks for you reply. But in my case I have set "use_floating_ips=False" in my config file. And the interesting part is even when use_floating_ips is set to true i am getting the same error.

Any help please.


edit flag offensive delete link more

answered 2013-07-21 15:20:07 -0500

arindam-live gravatar image

quantum does not support auto assignment of floating ip. link: (

edit flag offensive delete link more

answered 2013-07-21 16:00:17 -0500

SergeyLukjanov gravatar image

Savanna could work w/o floating ip if internal network is accessible from host where savanna installed.

edit flag offensive delete link more

answered 2013-07-21 16:33:00 -0500

SergeyLukjanov gravatar image

I read code one more time and I think savanna will not work with neutron at all before this bp will be implemented.

edit flag offensive delete link more

answered 2013-07-22 05:52:13 -0500

Okie, but I dont want it to have floating IP, is it possible to patch the code, to work without neutron and to work only with internal IP's so that we need not wait till the bp to be implemented for people who want to try out savanna.

also use_floating_ips doesn't seem to have any effect i believe. So cant it be considered as a bug.

Thanks & Regards.

edit flag offensive delete link more

answered 2013-07-30 09:34:45 -0500

WangDong, in order to use Savanna you can change Quantum to Nova-network in your OpenStack environment. Quantum (Neutron) support targeted for Savanna 0.3 which is tentatively expected to release in mid-October: (

edit flag offensive delete link more

answered 2013-07-31 12:12:14 -0500

Dear DongWang,

Kindly replace your with the modifications i made after that restart the savanna-api.

The will be at <savanna install="" dir="">/lib/python2.7/site-packages/savanna/service/

After replacing the file and restarting savanna api, launch cluster, all the vm's in your cluster will come up, and you can verify this from the instances page.

Once you find the instances are up, assign floating ip for all nodes.

If you are running savanna api with --debug flag, you will see some informative logs.

I have added some logs, for my understanding, and the code is not neat and clean. (i am not a programmer basically) :)

Kindly let me know if this works or not.


edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-07-21 07:34:11 -0500

Seen: 46 times

Last updated: Aug 29 '13