server network info update incorrect

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

Bug Description

1. create a stack with a nova server:

heat_template_version: 2013-05-23
resources:
 hth_server:
    type: OS::Nova::Server
    properties:
      image: cirros-0.3.0-x86_64-disk
      networks: [{network: a1f566f3-0d08-4fec-9458-f5eb75552404}]
      flavor: 1
2. the server in active, and with an ip in network1
3. update the server to network2

heat_template_version: 2013-05-23
resources:
 hth_server:
    type: OS::Nova::Server
    properties:
      image: cirros-0.3.0-x86_64-disk
      networks: [{network: 18169c58-bb5c-4ef9-bc5d-66bad9cbf9d4}]
      flavor: 1
4. expected: the server with ip in network2
    actual: the server has two ips both in network1 and network2

Changed in heat:
assignee: nobody → huangtianhua (huangtianhua)
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/161635

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

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

commit c96c37f2e35950e8b9825ca841fa3a6902b5da48
Author: huangtianhua <email address hidden>
Date: Thu Mar 5 15:49:18 2015 +0800

    Correct networks matching interface ports

    User can specify 'network' or 'uuid' for network id,
    should matching the 'uuid' for networks when finding
    equal interface.

    Change-Id: Id5716ad3b26f31b4aac7b9d2f645e481b3733aa9
    Closes-Bug: #1428489

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → kilo-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-3 → 2015.1.0
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.