heat: doesn't use EC2 tags API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Invalid
|
Medium
|
Stephen Gran | ||
Grizzly |
Invalid
|
Medium
|
Stephen Gran |
Bug Description
in EC2, creating either an autoscaling group or a cloudformation stack will tag the instances with
aws:autoscaling
aws:cloudformat
aws:cloudformat
aws:cloudformat
for just an autoscaling group not created as part of a cloudformation stack, only the first tag is automatically created.
The API used is the EC2 CreateTags call. This is distinct from the openstack metadata (I think) key/value pairs as tags do not appear in instance metadata. I have written a patch set to implement the *Tags calls in the openstack EC2 API, as well as the ability to search for instances by tags.
Changed in heat: | |
milestone: | none → grizzly-3 |
Related links:
For AWS::EC2::Instance, we currently implement the Tags property, but incorrectly append the tags data to the instance metadata (which is only availably via the openstack-native nova metadata API). This does not align with AWS since they specify the Tags get appended to the EC2 tags, as described above by the reporter.
http:// docs.aws. amazon. com/AWSCloudFor mation/ latest/ UserGuide/ aws-properties- ec2-instance. html#cfn- ec2-instance- tags
http:// docs.aws. amazon. com/AWSCloudFor mation/ latest/ UserGuide/ aws-properties- ec2-tags. html
From:
http:// aws.amazon. com/cloudformat ion/faqs/
"AWS CloudFormation automatically tags EBS volumes and EC2 instances with the name of the AWS CloudFormation stack they are part of."
Assigning this to the reporter as they indicated they may contribute this fix when their nova EC2 Tags patch is accepted.