ConfigSet not implemented

Bug #1101717 reported by Pierre Freund
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Undecided
Jeff Peeler

Bug Description

Heat seems to fail if "config" configset is not present.

[root@teststack log]# cat cfn-init.log
ERROR [2013-01-19 04:19:09,944] Error processing metadata
Traceback (most recent call last):
  File "/opt/aws/bin/cfn-init", line 70, in <module>
    metadata.cfn_init()
  File "/opt/aws/bin/cfn_helper.py", line 969, in cfn_init
    self._process_config()
  File "/opt/aws/bin/cfn_helper.py", line 949, in _process_config
    self._config = self._metadata["config"]
KeyError: 'config'

I think "config" has been set by default because configsets are not implemented. We should be able to have different Configset for differents install types :

"Metadata" : {
"AWS::CloudFormation::Init" : {
"configSets" : {
            "fullinstall" : [ "DatabaseServer", "WebServer" ],
            "lightinstall" : [ "WebServer" ],
},

[...]

"UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [
cfn-init --configset fullinstall

ConfigSet should be implemented

Revision history for this message
Pierre Freund (pierre-freund) wrote :
Revision history for this message
Pierre Freund (pierre-freund) wrote :

A template has been written for heat and proposed as a change : https://review.openstack.org/20079

Revision history for this message
Angus Salkeld (asalkeld) wrote :
Revision history for this message
Jeff Peeler (jpeeler-z) wrote :

This is part of the CloudFormation::Init blueprint, https://blueprints.launchpad.net/heat/+spec/aws-cloudformation-init.

Jeff Peeler (jpeeler-z)
Changed in heat:
assignee: nobody → Jeff Peeler (jpeeler-z)
status: New → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
milestone: none → grizzly-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: grizzly-3 → 2013.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.