[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Rdo-list] How to access the 192.0.2.1:8004 URL to get the deployment failure logs



On 10/29/2015 12:27 PM, Ramkumar GOWRISHANKAR wrote:
> Hi,
> 
> My virtual test bed deployment with just one controller and no computes
> is failing at ControllerNodesPostDeployment. The debug steps when a
> deployment fails tells to run the following command: "heat resource-show
> overcloud ControllerNodesPostDeployment". When I run the command, I see
> 3 URL starting with http://192.0.2.1:8004.
> How do I access these URLs? When I try a wget on these URLs or when I
> create a ssh tunnel from the base machine and try to access the URLs I
> get permission denied message. When I try to access just the base URL
> (http://192.0.2.1:8004 mapped to http://localhost:8005) via a tunnel, I
> get the following message:
> {"versions": [{"status":"CURRENT", "id": "v1.0", "links":
> [{"href":"http://localhost:8005/v1/","rel":"self"}]}]}
> 
> I have looked through the /var/log/heat/ folder for any error messages
> but I cannot find any more detailed error message other than deployment
> failed at step 1 LoadBalancer.
> 
> Any pointers on how to debug a deployment?
> 
> Thanks,
> 
> Ramkumar
> 
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list redhat com
> https://www.redhat.com/mailman/listinfo/rdo-list
> 
> To unsubscribe: rdo-list-unsubscribe redhat com
> 

Ram,

Sorry for the slow response.  You might want to try determining the the
IP of the controller node that seems to be in error and ssh-ing into
that node via the heat-user.

If you are able to access the failed node, you can typically look at the
os-collect-config log via:

sudo journalctl -u os-collect-config

A lot of times this will provide at least a good start on what the root
cause is.


It sounds like you already have some of the basics[1] down for debugging
heat issues, but I wanted to re-paste a very handy link in case you had
not seen it before.

Thanks,
- Mike

[1]
http://hardysteven.blogspot.com/2015/04/debugging-tripleo-heat-templates.html




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]