port_extra_properties feature of the OS::Nova::Server Heat resource in Mitaka doesn't seem to be working correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Thomas Herve |
Bug Description
port_extra_
Neutron didn't receive any allowed_
Request body: {u'port': {u'network_id': u'b6bdd5ae-
When adding subnet info to the template (uncomment the line of subnet below), Heat passed value_specs to neutron which won't understand value_specs.
Request body: {u'port': {u'name': u'server1-port-0', u'allowed_
#template
resources:
server1:
type: OS::Nova::Server
properties:
name: Server1
image: { get_param: image }
flavor: { get_param: flavor }
key_name: { get_param: key_name }
networks:
- network: { get_param: private_net_id }
# subnet: { get_param: private_subnet_id }
- ip_address: 192.168.10.0/24
So you need the subnet to be able to create the port. If you don't pass the subnet, heat ignores port_extra_ properties, which sounds like a problem. The other problem is that when you pass the subnet, it fails on value_specs because it's not a correct property.