Not need to do prepare_for_replace if port hasn't create yet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
huangtianhua |
Bug Description
1. create a stack with a neutron port resource
*******
heat_template_
resources:
port:
type: OS::Neutron::Port
properties:
network: 3447dd80-
name: port_hth
mac_address: 00-B0-D0-86-BB-E7
replaceme
2. update the stack with the same template. Enter port UpdateReplacement, but the new port can't be created, due the mac_address is in-use, the stack went to UPDATE_FAILED.
3. update the stack to set another mac_address(
There are two problems:
1. no need to do the prepare_
2. we should catch the exception and then set stack to FAILED(not leave it to UPDATE_
So this bug we fix the first problem.
Changed in heat: | |
assignee: | nobody → huangtianhua (huangtianhua) |
Changed in heat: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-1 |
status: | In Progress → Triaged |
Changed in heat: | |
status: | Triaged → In Progress |
tags: | added: liberty-backport-potential |
tags: | removed: liberty-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/239375
Review: https:/