[openstack-dev] [Heat] SoftwareDeployment resource is always in progress
david ferahi
david.ferahi at gmail.com
Wed Aug 13 10:55:00 UTC 2014
Hello,
Thank you Steve for your reply !
Yes I'm using the same manual you provided to create my image.
https://github.com/openstack/heat-templates/tree/master/hot/software-config/elements
In my network configuration, the tenant network is created in the same
subnet as OpenStack Management
network (in order to ensure that controller, compute and network nodes can
ping my instances and vice versa).
The problem is:
- From controller, network and compute nodes I can not ping my
instance and router address connected to tenant network.
- From my instance I can just ping the router address but not
controller node.
Note that ICMP rules are added in the security group.
Maybe the deployments can't signal back because the instance can not reach
the controller node.
Thank you in advance.
Regards,
David
2014-08-12 23:19 GMT+02:00 Steve Baker <sbaker at redhat.com>:
> 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 !
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140813/d3a21a67/attachment.html>
More information about the OpenStack-dev
mailing list