Creation of NetworkInterface resource failed because GroupSet attribute is invalid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Jeff Peeler |
Bug Description
Heat fails to create a AWS::EC2:
Environmenet: devstack + Quantum
{
"AWSTemplateF
"Description" : "Template for testing creation of VPC resources",
"Parameters" : {
"KeyName" : {
"Description" : "Name of and existing EC2 KeyPair to enable SSH access to the instance",
"Type" : "String"
},
"InstanceType" : {
"Description" : "EC2 instance type",
"Type" : "String",
"Default" : "t1.micro",
"
"
},
"LinuxDistr
"Description" : "Distribution of choice",
"Type": "String",
"Default": "cirros-
}
},
"Resources" : {
"myVpc" : {
"Type" : "AWS::EC2::VPC",
"Properties" : {
"CidrBlock" : "20.0.0.0/16"
}
},
"mySubnet" : {
"Type" : "AWS::EC2::Subnet",
"Properties" : {
"VpcId" : { "Ref" : "myVpc" },
"CidrBlock" : "20.0.0.0/24"
}
},
"InstanceSe
"Type" : "AWS::EC2:
"Properties" : {
]
}
},
"myNetworkI
"Type" : "AWS::EC2:
"Properties" : {
"SubnetId" : { "Ref" : "mySubnet" },
"GroupSet" : [ {"Ref" : "InstanceSecuri
}
},
"myInstance" : {
"Type" : "AWS::EC2:
"Properties" : {
"ImageId" : { "Ref" : "LinuxDistribution" },
"KeyName" : { "Ref" : "KeyName" },
}
}
},
"Outputs" : {
"InstanceId" : {
"Value" : { "Ref" : "myInstance" },
"Description" : "Instance Id of newly created instance"
}
}
}
$ heat stack-create --template-file ../templates/
+------
| id | stack_name | stack_status | creation_time |
+------
| dbdde212-
+------
$ heat stack-show myStack
+------
| Property | Value |
+------
...
| stack_name | myStack |
| stack_status | CREATE_FAILED |
| stack_status_reason | Resource NetworkInterface "myNetworkInter
| | with: Invalid input for operation: |
| | 'InstanceSecuri
...
+------
Changed in heat: | |
assignee: | nobody → Jeff Peeler (jpeeler-z) |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Medium |
milestone: | none → havana-1 |
Changed in heat: | |
milestone: | havana-1 → havana-2 |
Changed in heat: | |
milestone: | havana-2 → 2013.2 |
Somehow related to the fact that Heat should quantum security groups when VpcId is specified in AWS::EC2: :SecurityGroup. /blueprints. launchpad. net/heat/ +spec/quantum- security- group
See https:/