Incorrect update on "networks" parameter change
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Rabi Mishra |
Bug Description
Hi colleagues,
facing an annoying behaviour - when updating stack, deleting one from two attached ports:
n1:
type: OS::Nova::Server
properties:
flavor: B-cup
image: xenial
key_name: doka-key
name: lbt-n1
scheduler
networks:
- port: { get_resource: n1-lan }
- port: { get_resource: n1-wan }
by either commenting or deleting row with n1-wan or n1-lan (thus leaving one port), I get FAIL with the following message:
{"badRequest": {"message": "Multiple possible networks found, use a Network ID to be more specific.", "code": 400}}
2017-10-19 13:54:42.883 24717 DEBUG heat.engine.stack [req-90c3f46e-
in log, there is empty "interfaceAttac
REQ: curl -g -i -X POST http://
ervers/
-API-Version: 2.1" -H "X-Auth-Token: {SHA1}bb231126a
uth1/session.py:375
The interesting is that despite the fail:
$ openstack server list
+------
| ID | Name | Status | Networks | Image | Flavor |
+------
| ac1bf0f4-
+------
I'm using the following versions of modules:
$ dpkg -l |egrep "nova|heat"
heat-api 1:9.0.0-
heat-api-cfn 1:9.0.0-
heat-common 1:9.0.0-
heat-engine 1:9.0.0-
nova-api 2:16.0.
nova-common 2:16.0.
nova-compute 2:16.0.
nova-compute-kvm 2:16.0.
nova-compute-
nova-conductor 2:16.0.
nova-consoleauth 2:16.0.
nova-novncproxy 2:16.0.
nova-placement-api 2:16.0.
nova-scheduler 2:16.0.
python-heat 1:9.0.0-
python-heatclient 1.11.0-
python-nova 2:16.0.
python-novaclient 2:9.1.0-
on Ubuntu 16.04.3.
Is it bug or problem somewhere in my configuration?
Thanks.
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → queens-2 |
Fix proposed to branch: master /review. openstack. org/513611
Review: https:/