[openstack-dev] [Heat] SoftwareDeployment resource is always in progress

Steve Baker sbaker at redhat.com
Tue Aug 12 21:19:01 UTC 2014


On 11/08/14 20:42, david ferahi wrote:
> Hello,
>
> I 'm trying to create a simple stack with heat (Icehouse release).
> The template contains SoftwareConfig, SoftwareDeployment and a single
> server resources.
>
> The problem is that the SoftwareDeployment resource is always in
> progress !
>
So first I'm going to assume you're using an image that you have created
with diskimage-builder which includes the heat-config-script element:
https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements

When I a diagnosing deployments which don't signal back I do the following:
- ssh into the server and sudo to root
- stop the os-collect-config service:
  systemctl stop os-collect-config
- run os-collect-config manually and check for errors:
  os-collect-config --one-time --debug

> After waiting for more than an hour the stack deployment failed and I
> got this error:
>
>  TRACE heat.engine.resource HTTPUnauthorized: ERROR: Authentication
> failed. Please try again with option --include-password or export
> HEAT_INCLUDE_PASSWORD=1
> TRACE heat.engine.resource Authentication required
>
This looks like a different issue, you should find out what is happening
to your server configuration first.


> When I checked the log file (/var/log/heat/heat-engine.log), it shows
>  the following message(every second):
> 2014-08-10 19:41:09.622 2391 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): 192.168.122.10
> 2014-08-10 19:41:10.648 2391 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): 192.168.122.10
> 2014-08-10 19:41:11.671 2391 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): 192.168.122.10
> 2014-08-10 19:41:12.690 2391 INFO urllib3.connectionpool [-] Starting
> new HTTP connection (1): 192.168.122.10
>
> Here the template I am using :
> https://github.com/openstack/heat-templates/blob/master/hot/software-config/example-templates/wordpress/WordPress_software-config_1-instance.yaml
>
> Please help !
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140813/22116ed1/attachment.html>


More information about the OpenStack-dev mailing list