Security groups with rules don't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Angus Salkeld |
Bug Description
heat/engine/
Here is the error from log:
var/log/
/var/log/
Here is the template fragment:
"InstanceSe
"Type" : "AWS::EC2:
"Properties" : {
]
}
},
Here is the fix:
diff --git a/heat/
index 0c55e7a..c62dffa 100644
--- a/heat/
+++ b/heat/
@@ -38,7 +38,7 @@ class SecurityGroup(
groups = self.nova(
for group in groups:
- if group['name'] == self.physical_
+ if group.name == self.physical_
@@ -47,12 +47,12 @@ class SecurityGroup(
- self.resource_
+ self.resource_
if self.properties
for i in self.properties
- rule = rules_client.
+ rule = rules_client.
@@ -75,7 +75,7 @@ class SecurityGroup(
except clients.
else:
- for rule in sec['rules']:
+ for rule in sec.rules:
Changed in heat: | |
assignee: | nobody → Angus Salkeld (asalkeld) |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | grizzly-rc1 → 2013.1 |
patch inline - worth pulling into rc1