Zane,

I tested FnGetRefId() in LaunchConfiguration to return 
unicode(self.physical_resource_name()).  It doesn't work so well.  When 
InstanceGroup resolve runtime data and resolve resource refs, the physical 
resource name (I.e.test_stack-JobServerConfig-jnzjnpomcxv5) replaced { 'Ref': 
'JobServerConfig' }.  So when InstanceGroup tries to look up the 
LaunchConfiguration resource during handle_create, it throws a KeyError on the 
physical resource name.  The LaunchConfiguration is using key 'JobServerConfig' 
in the stack's resources dictionary.  Any I missing something here?

Thanks.
Winson

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to