A direct reference to a swift, s3 resource can be resolved to 'None'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Maksym Iarmak |
Bug Description
If you build a custom resource 'A' that have a list of references pointing to some 'AWS::S3::Bucket', 'OS::Swift:
Basically, the original code of 'resource.Resource' got a protection if the function 'fnGetRefId' is called before storing the resource:
> def FnGetRefId(self):
> if self.resource_id is not None:
> return unicode(
> else:
> return unicode(self.name)
But 'resources.
> def FnGetRefId(self):
> return unicode(
Is there is a particular reason that reference on this 2 types of resources should not be directly made ?
Changed in heat: | |
milestone: | none → havana-3 |
Changed in heat: | |
assignee: | nobody → Maksym Iarmak (miarmak) |
Changed in heat: | |
status: | New → In Progress |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | havana-3 → 2013.2 |
Fix proposed to branch: master /review. openstack. org/41397
Review: https:/