The floatingip won't be associated to nova server if specify network only

Bug #1571992 reported by huangtianhua
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
huangtianhua

Bug Description

1. create a stack with a nova server:
*********************************
server:
    type: OS::Nova::Server
    properties:
      image: { get_param: image }
      flavor: { get_param: flavor }
      key_name: { get_param: key_name }
      networks:
      - network: {get_param: int_net}
        floating_ip: {get_resource: floatingip}
************************************

2. server was created successful, but without the floatingip

3. if using neutron, we should associate floatingip after the server was created successful in check_create_complete()

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

Changed in heat:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to heat (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/316047

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/315467
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=534dfe4b8cc66899fa0ffa6801789d5c9a6d20f1
Submitter: Jenkins
Branch: master

commit 534dfe4b8cc66899fa0ffa6801789d5c9a6d20f1
Author: huangtianhua <email address hidden>
Date: Thu May 12 18:09:31 2016 +0800

    Don't support floating ip if only specify 'network'

    If only specify 'network' and 'floating_ip' for server nics,
    the floating ip isn't be associated to server ports.
    Due the ports are created out of heat, and heat doesn't know which
    port should the floating ip to associated with. This change adds
    validation of the case.

    Change-Id: I1ee61d242d8ec9d756bd38f6b03c0751f740fd63
    Closes-Bug: 1571992

Changed in heat:
status: In Progress → Fix Released
Changed in heat:
milestone: none → newton-1
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/heat 7.0.0.0b1

This issue was fixed in the openstack/heat 7.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on heat (master)

Change abandoned by Rico Lin (<email address hidden>) on branch: master
Review: https://review.openstack.org/316047
Reason: Hi, this patch stays untouched for few months, would like to abandon for now. Feel free to restore it if you still working on this. Thank you!

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.