It's not possible to get network address via network id from server networks attribute
Bug #1441480 reported by
Ethan Lynn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Ethan Lynn |
Bug Description
If I using following template.
heat_template_
parameters:
network:
type: string
resources:
server:
type: OS::Nova::Server
properties:
image: cirros-
flavor: m1.nano
networks:
- network: {get_param: network}
outputs:
server_ip:
value: {get_attr: [server, networks, {get_param: network}, 0]}
If user pass a network_id as parameter, then I can not get server_ip as output.
Is it ok to both return network_name and network_id in networks attribute?
like
{
"7076e273-
"10.0.0.3"
],
"private": [
"10.0.0.3"
]
}
Changed in heat: | |
assignee: | nobody → Ethan Lynn (ethanlynn) |
tags: | added: kilo-backport-potential |
Changed in heat: | |
importance: | Undecided → Medium |
Changed in heat: | |
milestone: | none → liberty-1 |
status: | Fix Committed → Fix Released |
tags: | removed: kilo-backport-potential |
Changed in heat: | |
milestone: | liberty-1 → 5.0.0 |
no longer affects: | heat/kilo |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/171534
Review: https:/