[Openstack] sending HttpFailureAlarm- connection failed.
Steven Hardy
shardy at redhat.com
Mon Jun 9 13:14:53 UTC 2014
On Thu, Jun 05, 2014 at 04:25:02PM -0400, Parisa wrote:
> Hi,
> I have installed Heat on Havana and want to test the HA template:
> https://github.com/openstack/heat-templates/blob/master/cfn/F17/WordPress_Single_Instance_With_HA.template
>
>
> The stack is created successfully. When I kill httpd service inside the VM,
> it reboots successfully. The problem is that it is supposed to escalate and
> reboot the whole stack after 3 failures but it is not. I checked the
> cfn-push-stats.log file and it seems that the notification cannot be sent to
> the server.
> The heat_watch_server_url=http://192.168.0.11:8003 is defined in heat.conf
> file but the port 8003 is not open on the server. I couldn't find anything
> about creating an endpoint etc in the documents.
>
> Can anybody help what is missing/wrong?
The most likely reason is one of:
- heat-api-cloudwatch is not running on the machine referenced by
heat_watch_server_url
- There is a firewall preventing access to tcp/8003 on the machine
referenced by heat_watch_server_url
My debug steps would be:
1. Log on to 192.168.0.11, ps ax | grep heat-api-cloudwatch
2. netstat -taupen | grep 8003 - check the API service is listening on 8003
3. Log on to a VM launched by nova/heat, install nmap, nmap 192.168.0.11
In step 3 you should see tcp/8003 open, if you don't then either
heat_watch_server_url is specifying the wrong IP or there is a firewall
preventing access.
Hope that helps
Steve
More information about the Openstack
mailing list