FloatingIPAssociation problem in Mitaka
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Dmitriy |
Bug Description
a heat template which creates a network, server and allocates + associates a floating ip to server interface don't work in Mitaka 9.0.
Same template tested in Liberty and Kilo without errors.
mitaka_
heat_template_
parameters:
Public:
type: string
default: 'admin_
description: Public net
Image:
type: string
default: 'TestVM'
resources:
My_net:
type: OS::Neutron::Net
properties:
name: My_net
My_subnet:
type: OS::Neutron::Subnet
properties:
name: My_subnet
cidr: 192.168.1.0/24
network: {get_resource: My_net}
My_router:
type: OS::Neutron::Router
properties:
name: My_router
distributed: false
external_
network: {get_param: Public}
My_router_
type: OS::Neutron:
properties:
router: {get_resource: My_router}
subnet: {get_resource: My_subnet}
My_port:
type: OS::Neutron::Port
properties:
name: My_port
network: { get_resource: My_net }
Server:
type: OS::Nova::Server
properties:
name: MyServer
image: {get_param: Image}
flavor: m1.medium
networks:
- port: { get_resource: My_port }
availabil
My-IP:
type: OS::Neutron:
properties:
floating_
My-IP-
type: OS::Neutron:
properties:
floatingi
port_id: { get_resource: My_port }
steps to reproduce:
Note. The command must be run as an Admin because router operations seems to require it.
(OS_PROJECT_
heat stack-create mystack -f mitaka_
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
The error "ERROR heat.common.wsgi " <clip> "Exception handling resource: 'NoneType' object is not iterable" might have something to do with this problem.
Seems that there is a parsing problem.
If the My-IP-Association block is commented out then stack will be created.
The association can be done successfully later e.g. from Horizon
Changed in mos: | |
status: | New → Confirmed |
importance: | Undecided → High |
assignee: | nobody → MOS Heat (mos-heat) |
milestone: | none → 9.1 |
Changed in mos: | |
assignee: | MOS Heat (mos-heat) → Dmitriy (duvarenkov) |
Changed in mos: | |
status: | Confirmed → Fix Committed |
tags: | added: area-heat |
tags: | added: on-verification |
Corresponding patch is merged in master https:/ /review. openstack. org/#/c/ 350029/
Now waiting for merge sync with MOS.