Can not create node group template in OpenStack with nova network without auto assignment floating ip's

Bug #1308541 reported by Vadim Rovachev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Denis Egorenko
Sahara
Fix Released
High
Alexander Ignatov
Icehouse
Fix Released
High
Alexander Ignatov

Bug Description

Bug reproduces on OpenStack with Nova-Network, which has auto_assign_floating_ip=False in nova.conf

Create node group template with the following json:
{
    "name": "test-name",
    "description": "Test template",
    "flavor_id": "2",
    "plugin_name": "vanilla",
    "hadoop_version": "1.1.2",
    "node_processes": ["jobtracker", "namenode"],
 "volumes_per_node": 0,
 "volume_size": 0,
    "node_configs": {
        "HDFS": {"Name Node Heap Size": 1500},
        "MAPREDUCE": {"Job Tracker Heap Size": 1500}
    }
 "floating_ip_pool": "nova"
}

Expect result: responce status: 200
Actual result: responce status: 400
               error message: Floating IP pool nova for node group 'test-name' not found

The same issue occurs if one tries to create a cluster with floating_ip_pool field set.

Changed in sahara:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Alexander Ignatov (aignatov)
milestone: none → juno-1
summary: - node group template not create in OpenStack with nova network without
- auto assignment floating ip's
+ Can not create node group template in OpenStack with nova network
+ without auto assignment floating ip's
description: updated
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/87988

Changed in sahara:
status: Triaged → In Progress
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to sahara (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/89510

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/87988
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=f950942649e13fd6cafd4ce1e9bf966c20df9350
Submitter: Jenkins
Branch: master

commit f950942649e13fd6cafd4ce1e9bf966c20df9350
Author: Alexander Ignatov <email address hidden>
Date: Wed Apr 16 18:47:12 2014 +0400

    Fixed validation of novanetwork w/o autoassignment

     Novanetwork can't work with floating ip pools with IDs. And it always
     fails to start cluster when novanetwork used without auto_assignment
     of floating IPs. So added feature to check floating ip pools by name
     in validation

    Change-Id: I9ef9897a95350e142bd0729402a8f26906349ee5
    Closes-Bug: #1308541

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
Dmitry Mescheryakov (dmitrymex) wrote :

We also want that fix to be backported to Fuel 5.0, hence added Fuel as an affected project

Changed in fuel:
assignee: nobody → Denis Egorenko (degorenko)
status: New → In Progress
Changed in fuel:
importance: Undecided → Medium
milestone: none → 5.0
Revision history for this message
Denis Egorenko (degorenko) wrote :
Revision history for this message
Denis Egorenko (degorenko) wrote :

Fix merged

tags: added: release-notes
Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to sahara (stable/icehouse)

Reviewed: https://review.openstack.org/89510
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=f9b2ad7aa21b0b765df5e7605570d54b4760fbb4
Submitter: Jenkins
Branch: stable/icehouse

commit f9b2ad7aa21b0b765df5e7605570d54b4760fbb4
Author: Alexander Ignatov <email address hidden>
Date: Wed Apr 16 18:47:12 2014 +0400

    Fixed validation of novanetwork w/o autoassignment

     Novanetwork can't work with floating ip pools with IDs. And it always
     fails to start cluster when novanetwork used without auto_assignment
     of floating IPs. So added feature to check floating ip pools by name
     in validation

    Change-Id: I9ef9897a95350e142bd0729402a8f26906349ee5
    Closes-Bug: #1308541
    (cherry picked from commit f950942649e13fd6cafd4ce1e9bf966c20df9350)

tags: added: in-stable-icehouse
Revision history for this message
Meg McRoberts (dreidellhasa) wrote :

Marked as fixed issue in 5.0 Release Notes.

Thierry Carrez (ttx)
Changed in sahara:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in sahara:
milestone: juno-1 → 2014.2
Revision history for this message
OSCI Robot (oscirobot) wrote :
Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.