FloatingIPAssociation problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
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 heat: | |
assignee: | nobody → Dmitriy (duvarenkov) |
Changed in heat: | |
status: | New → Confirmed |
milestone: | none → newton-3 |
importance: | Undecided → High |
Changed in heat: | |
status: | Confirmed → In Progress |
Reviewed: https:/ /review. openstack. org/350029 /git.openstack. org/cgit/ openstack/ heat/commit/ ?id=432e2402705 3b485335f1262aa 6d150ee4176faa
Committed: https:/
Submitter: Jenkins
Branch: master
commit 432e24027053b48 5335f1262aa6d15 0ee4176faa
Author: Dmitriy Uvarenkov <email address hidden>
Date: Tue Aug 2 16:53:40 2016 +0300
Fix iteration in floatingip's add dependencies method
port. Port.FIXED_ IPS can be None and we can't iterate by None.
Closes bug: #1608973
Change-Id: I273c6383ab77ad fbc5c51b94a2f3b 2fa7cdbafc0