Hi,

   Below is a snippet of a template I am debugging.  I was trying to
test HARestarter in this case, so I am supposed to provide a
configuration file for cfn-hup.

   The problem I have is that I cannot get the pseudo parameters work.
When trying the create the stack, I am getting the following errors:

ERROR: Property error : ServerConfig: cloud_config The Parameter
(OS::region) was not provided.

   I got no luck trying 'AWS::StackName' or 'AWS::Region' as well. Can
someone help out?

   Thanks.

  ServerConfig:
    type: OS::Heat::CloudConfig
    properties:
      cloud_config:
        write_files:
          - path: /etc/cfn/cfn-hup.conf
            content:
              str_replace:
                template: |
                  [main]
                  stack=P_STACKNAME
                  credential-file=/etc/cfn/cfn-credentials
                  region=P_REGION
                  interval=P_INTERVAL
                params:
                  P_STACKNAME: { get_param: 'OS::stack_name' }
                  P_REGIN: { get_param: 'OS::region' }
                  P_INTERVAL: { get_param: HupPollInterval}

 Qiming
 Research Scientist
 IBM Research - China Lab
 <tengqim at cn dot ibm dot com>


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to