<div dir="ltr"><p class="MsoNormal" style="font-size:12.7272720336914px">Hi all,</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">I am new to heat orchestration and am trying to create a coreOS cluster with it. I have a OS::Heat::SoftwareConfig resource and a OS::Heat::CloudConfig resource and I have joined them both in a OS::Heat::MultipartMime resource which is then used as a user_data for a OS::Nova::Server resource. Unfortunately I am not able to see the configurations happening in my server resource using cloud-init. When I give the OS::Heat::SoftwareConfig resource and the OS::Heat::CloudConfig resource individually to the user_data of server resource it is working fine. Any inputs are appreciated.</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">These are my resources</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">  coreOS_cloudconfig:</p><p class="MsoNormal" style="font-size:12.7272720336914px">    type: OS::Heat::CloudConfig</p><p class="MsoNormal" style="font-size:12.7272720336914px">    properties:</p><p class="MsoNormal" style="font-size:12.7272720336914px">      cloud_config:</p><p class="MsoNormal" style="font-size:12.7272720336914px">        write_files:</p><p class="MsoNormal" style="font-size:12.7272720336914px">        - path: /etc/sysconfig/docker</p><p class="MsoNormal" style="font-size:12.7272720336914px">          owner: core:core</p><p class="MsoNormal" style="font-size:12.7272720336914px">          permissions: 0644</p><p class="MsoNormal" style="font-size:12.7272720336914px">          content: |</p><p class="MsoNormal" style="font-size:12.7272720336914px">           ulimit -l unlimited</p><p class="MsoNormal" style="font-size:12.7272720336914px">           ulimit -n 10240</p><p class="MsoNormal" style="font-size:12.7272720336914px">           ulimit -c unlimited</p><p class="MsoNormal" style="font-size:12.7272720336914px">        coreos:</p><p class="MsoNormal" style="font-size:12.7272720336914px">          etcd:</p><p class="MsoNormal" style="font-size:12.7272720336914px">            discovery: { get_param: Tokenurl }</p><p class="MsoNormal" style="font-size:12.7272720336914px">            addr: $private_ipv4:4001</p><p class="MsoNormal" style="font-size:12.7272720336914px">            peer-addr: $private_ipv4:7001</p><p class="MsoNormal" style="font-size:12.7272720336914px">            #peer-heartbeat-interval: 100</p><p class="MsoNormal" style="font-size:12.7272720336914px">            #peer-election-timeout: 500</p><p class="MsoNormal" style="font-size:12.7272720336914px">          fleet:</p><p class="MsoNormal" style="font-size:12.7272720336914px">            public-ip: $private_ipv4</p><p class="MsoNormal" style="font-size:12.7272720336914px">            etcd-request-timeout: 15</p><p class="MsoNormal" style="font-size:12.7272720336914px">          units:</p><p class="MsoNormal" style="font-size:12.7272720336914px">            - name: etcd.service</p><p class="MsoNormal" style="font-size:12.7272720336914px">              command: start</p><p class="MsoNormal" style="font-size:12.7272720336914px">            - name: fleet.service</p><p class="MsoNormal" style="font-size:12.7272720336914px">              command: start</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">sample_shscript:</p><p class="MsoNormal" style="font-size:12.7272720336914px">    type: OS::Heat::SoftwareConfig</p><p class="MsoNormal" style="font-size:12.7272720336914px">    properties:</p><p class="MsoNormal" style="font-size:12.7272720336914px">      group: ungrouped</p><p class="MsoNormal" style="font-size:12.7272720336914px">      config: |</p><p class="MsoNormal" style="font-size:12.7272720336914px">        #!/bin/bash</p><p class="MsoNormal" style="font-size:12.7272720336914px">        echo "The three is bar" > /tmp/three</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">server_init:</p><p class="MsoNormal" style="font-size:12.7272720336914px">    type: OS::Heat::MultipartMime</p><p class="MsoNormal" style="font-size:12.7272720336914px">    properties:</p><p class="MsoNormal" style="font-size:12.7272720336914px">      parts:</p><p class="MsoNormal" style="font-size:12.7272720336914px">      - config: {get_resource: coreOS_cloudconfig}</p><p class="MsoNormal" style="font-size:12.7272720336914px">      - config: {get_resource: sample_shscript}</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">tvecoreos01:</p><p class="MsoNormal" style="font-size:12.7272720336914px">    type: OS::Nova::Server</p><p class="MsoNormal" style="font-size:12.7272720336914px">    properties:</p><p class="MsoNormal" style="font-size:12.7272720336914px">      key_name: newkey</p><p class="MsoNormal" style="font-size:12.7272720336914px">      image: { get_param: ImageID }</p><p class="MsoNormal" style="font-size:12.7272720336914px">      flavor: m1.medium</p><p class="MsoNormal" style="font-size:12.7272720336914px">      networks:</p><p class="MsoNormal" style="font-size:12.7272720336914px">        - network: { get_param: NetID }</p><p class="MsoNormal" style="font-size:12.7272720336914px">      security_groups: [default]</p><p class="MsoNormal" style="font-size:12.7272720336914px">      user_data_format: RAW</p><p class="MsoNormal" style="font-size:12.7272720336914px">      user_data:</p><p class="MsoNormal" style="font-size:12.7272720336914px">        get_resource: server_init</p><p class="MsoNormal" style="font-size:12.7272720336914px"> </p><p class="MsoNormal" style="font-size:12.7272720336914px">Thanks and Regards,</p><p class="MsoNormal" style="font-size:12.7272720336914px">Vignesh Kumar Kathiresan</p></div>