Ask Your Question
0

Savanna/Sahara: How to assign a floating_ip_pool on node group?

asked 2014-03-25 19:24:48 -0500

spcla1 gravatar image

updated 2014-03-26 13:04:59 -0500

I am running Savanna 0.3 and I thought I have everything setup until I start a cluster. I am getting an error message:

Error: Node Group master is missing 'floating_ip_pool' field

The /etc/savanna/savanna.conf file has the following details but I am a little bit confused on how to set the floating_ip_pool for Node Groups.

If set to True, Savanna will use floating IPs to communicate with instances. To make sure that all instances have floating IPs assigned in Nova Network set "auto_assign_floating_ip=True" in nova.conf. If Neutron is # used for networking, make sure that all Node Groups have "floating_ip_pool" parameter defined. (boolean value)

I am currently running Openstack Havana with Neutron. Based on the info above I have to set the floating_ip_pool for all Node groups. I tried setting the floating_ip_pool to network name of the existing external network but didn't work so I tried to set it to the network id of the external, it didn't work either.

If I disable the use of floating ip (use_floating_ip=false), then i can start a cluster but it just stays in "waiting" state although all instances are up and running.

2014-03-25 15:52:02.914 21384 DEBUG savanna.service.instances [-] Can't login to node iptest-worker2-001 (172.10.1.4), reason error: [Errno 110] Connection timed out _check_if_accessible /
2014-03-25 15:53:06.408 21384 DEBUG savanna.service.instances [-] Can't login to node iptest-worker2-002 (172.10.1.5), reason error: [Errno 110] Connection timed out _check_if_accessible 
2014-03-25 15:53:06.948 21384 DEBUG savanna.service.instances [-] Can't login to node iptest-worker2-003 (172.10.1.6), reason error: [Errno 111] Connection refused _check_if_accessible 
2014-03-25 15:54:11.409 21384 DEBUG savanna.service.instances [-] Can't login to node iptest-master-001 (172.10.1.2), reason error: [Errno 110] Connection timed out _check_if_accessible

Here's my savanna config (/etc/savanna/savanna.conf)

use_floating_ips=True
floating_ip_pool=ext-net
use_neutron=True
use_namespaces=True

I also have SAVANNA_USE_NEUTRON set to True in /etc/openstack-dashboard/local_settings

Thanks in advance for any help!

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-03-26 03:01:40 -0500

dmitrymex gravatar image

Here is what you should do:

  1. Set the networking parameters to the following values in savanna.conf:
      use_floating_ips=True
      use_neutron=True
      use_namespaces=False
    
  2. Remove 'floating_ip_pool', Savanna does not have such parameter in config file.
  3. Make sure that the parameters above are not redefined somewhere else in the config file and restart Savanna.
  4. In /etc/openstack-dashboard/local_settings set.
  5. SAVANNA_USE_NEUTRON=True
    AUTO_ASSIGNMENT_ENABLED=False
    
  6. Restart Horizon.

After that when you create a new node group template in the UI, you should see a new 'Floating IP pool' parameter.

edit flag offensive delete link more

Comments

Thank you so much for your quick response. I can now see the floating ip pool option. All nodes now are getting the correct floating ip but I am still getting an error message. Any idea?

2014-03-26 11:01:24.690 23191 DEBUG savanna.service.instances [-] Can't login to node test1-worker1-003 (xx.xx.114.38), reason AuthenticationException: Authentication failed. _check_if_accessible /usr/lib/python2.6/site-packages/savanna/service/instances.py:375
2014-03-26 11:01:25.325 23191 DEBUG savanna.service.instances [-] Can't login to node test1-master1-001 (xx.xx.114.39), reason AuthenticationException: Authentication failed. _check_if_accessible /usr/lib/python2.6/site-packages/savanna/service/instances.py:375
2014-03-26 11:01:25.986 23191 DEBUG savanna.service.instances [-] Can't login to node test1-worker1-002 (xx.xx.114.40), reason AuthenticationException: Authentication failed. _check_if_accessible /usr/lib/python2.6/site-packages/savanna/service/instances.py:375
2014-03-26 11:01:26.626 23191 DEBUG savanna.service ...
(more)
spcla1 gravatar imagespcla1 ( 2014-03-26 13:03:07 -0500 )edit

Please disregard my comment above. The problem is related to the image. Has to modify some network related parameters so when the image is booted up, it can connect to the network.

spcla1 gravatar imagespcla1 ( 2014-03-26 20:24:49 -0500 )edit

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

Stats

Asked: 2014-03-25 19:24:48 -0500

Seen: 1,068 times

Last updated: Mar 26 '14