1. create a stack with nova server:
***************************
server:
type: OS::Nova::Server
properties:
image: { get_param: image }
flavor: { get_param: flavor }
key_name: { get_param: key_name }
user_data_format: SOFTWARE_CONFIG
networks:
- network: 69f998ce-05f0-4d97-8dc0-aa51ee0c6d0f
subnet: 86d410e2-0905-4026-966e-0270de952bb7
floating_ip: {get_resource: floatingip}
security_groups:
- {get_resource: the_sg}
****************************************
2. the server created successful, but I found the server in security_group "default"
3. if user specified the subnet, heat will create an internal port, but didn't specify the security_group for the port.
Fix proposed to branch: master /review. openstack. org/314048
Review: https:/