Heat SoftwareDeployment resource and timing out

asked 2016-08-23 12:25:12 -0500

toddbaumann gravatar image

updated 2016-08-24 03:52:22 -0500

yprokule gravatar image

I am attempting to deploy a heat template using the "OS::Heat::SoftwareConfig" and "OS::Heat::SoftwareDeployment" resources and am not able to get it working. If it matters I am trying to do the configuration with Ansible on the configure side. When I deploy the stack it sits with the SoftwareDeployment operation in progress but never does anything. It eventually times out and fails the stack deploy, but the VM stays running.

When I look into the VM startup logs I see

2016-08-21 00:23:46,375 - util.py[WARNING]: Failed running /var/lib/cloud/instance/scripts/userdata [-]
2016-08-21 00:23:46,380 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts)
2016-08-21 00:23:46,380 - util.py[WARNING]: Running scripts-user (<module 'cloudinit.config.cc_scripts_user' from '/usr/lib/python2.7/dist-packages/cloudinit/config/cc_scripts_user.pyc'>) failed

I broke it down to the simplest example that was available online and still see the same behavior (so not using ansible). I am running out of places to check for what could be wrong.

Does anyone know if the Ubuntu Cloud image contains all the necessary packages to be able to hook into heat to grab the configuration and do the deployment? Do I have to use the disk-image-builder utility to get all of the heat hooks into my base image to be able to do this ? I am deployed using Mirantis 9 community version. Is there some configuration in Heat I am missing ?

Any help would be appreciated.

edit retag flag offensive close merge delete