Instance resource should implement the SubnetId property
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Winson Chan | ||
Grizzly |
Fix Released
|
Medium
|
Robert Pothier |
Bug Description
It should be possible to create an instance attached to an subnet which already exists.
Currently the creation of the following template fails with error "StackValidatio
{
"AWSTemplateF
"Description" : "Sample template showing how to create an instance in an existing VPC/subnet. It assumes you have already created a VPC and a subnet. Derived from https:/
"Parameters" : {
"KeyName" : {
"Description" : "Name of and existing KeyPair to enable SSH access to the instance",
"Type" : "String"
},
"SubnetId" : {
"Type" : "String",
"Description" : "SubnetId of an existing subnet in your Virtual Private Cloud (VPC)"
},
"InstanceType" : {
"Description" : "EC2 instance type",
"Type" : "String",
"Default" : "m1.large",
"
"
},
"ImageId" : {
"Type" : "String",
"Description" : "Image name"
}
},
"Resources" : {
"Ec2Instance" : {
"Type" : "AWS::EC2:
"Properties" : {
"ImageId" : { "Ref" : "ImageId" },
"SubnetId" : { "Ref" : "SubnetId" },
"KeyName" : { "Ref" : "KeyName" }
}
}
},
"Outputs" : {
"InstanceId" : {
"Value" : { "Ref" : "Ec2Instance" },
"Description" : "Instance Id of newly created instance"
}
}
}
Changed in heat: | |
status: | New → Triaged |
Changed in heat: | |
milestone: | none → havana-1 |
importance: | Undecided → Medium |
Changed in heat: | |
assignee: | nobody → Winson Chan (winson-c-chan) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
tags: | added: grizzly-backport-potential |
Changed in heat: | |
milestone: | havana-1 → 2013.2 |
tags: | removed: grizzly-backport-potential |
Associated discussion on the openstack-dev mailing list => http:// lists.openstack .org/pipermail/ openstack- dev/2013- April/007130. html