<div dir="ltr">Ignore the last update. The issue is still there. <br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Vijayabhaskar<br></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 28, 2016 at 5:55 PM, Vijay Baskar <span dir="ltr"><<a href="mailto:vijay.baskar47@gmail.com" target="_blank">vijay.baskar47@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I fixed this issue by changing auth_version to v3.0 in keystone_authtoken section. I also noticed that heat-cfn was not installed and so installed it. I did these 2 and issue is now fixed. Though I am not clear which one fixed the issue.<br></div><div class="gmail_extra"><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Vijayabhaskar<br></div></div></div><div><div class="h5">
<br><div class="gmail_quote">On Thu, Jun 23, 2016 at 6:11 PM, Vijay Baskar <span dir="ltr"><<a href="mailto:vijay.baskar47@gmail.com" target="_blank">vijay.baskar47@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>I am running a private cloud in openstack kilo version. I want to do software deployments with heat. I can create stacks without any issues, but when I try to deploy a stack with - user_data_format: SOFTWARE_CONFIG while creating a server(OS::Nova::Server), the configuration script fails with error:<br><br><pre>[ 40.912057] cloud-init[805]: 2016-06-23 12:00:46,861 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/userdata [-]
[ 40.927560] cloud-init[805]: 2016-06-23 12:00:46,875 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
[ 40.930312] cloud-init[805]: 2016-06-23 12:00:46,875 - util.py[WARNING]: Running module scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/site-packages/cloudinit/config/cc_scripts_user.pyc'>) failed</pre>Taken from boot logs of ubuntu 14.04 cloud server.<br></div><div><br></div>Template:<br><br>heat_template_version: 2013-05-23<br><br><br>parameters:<br> file_content:<br> type: string<br> description: The contents of the file /tmp/file<br><br>resources:<br> boot_config:<br> type: OS::Heat::CloudConfig<br> properties:<br> cloud_config:<br> write_files:<br> - path: /tmp/file<br> content: {get_param: file_content}<br><br> server_with_cloud_config:<br> type: OS::Nova::Server<br> properties:<br> # flavor, image etc<br> flavor: m1.mini <br> image: d7f70692-48c1-4d42-adc4-213a9c7cdb35<br> networks: <br> - network: 397f1cc4-5368-41d9-a02e-1d1d89003dd7<br> key_name: my-key<br> user_data_format: SOFTWARE_CONFIG<br> user_data: {get_resource: boot_config}<br><br><br></div>If I change the user_data_format: to "RAW" the configuration works. user_data_format needs to be SOFTWARE_CONFIG if software deployments are to be done(OS::Heat::SoftwareDeployment).<br><div><div><div><br><br clear="all"><div><div data-smartmail="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Vijayabhaskar<br></div></div></div>
</div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div>