Re: [openstack-dev] [heat] How to expose the error messages if the heat stack creation fails with software config/software deployment

2014-11-06 Thread Ton Ngo
Hi Tao Tao, If you use Ubuntu image, you can check /var/log/syslog Look for section like: Running /opt/stack/os-config-refresh/configure.d/20-os-apply-config You should see the logs for running the script, error message, script output The scripts are stored on the VM instance in:

Re: [openstack-dev] [heat] How to expose the error messages if the heat stack creation fails with software config/software deployment

2014-11-06 Thread Tao Tao
Hi, Ton: Thanks for your kind reply. What I really mean is how to expose the error messages so that I can use Heat REST API to find the error messages? In another word, how would a user to be able to find out the specific error message as a Heat client? Thanks, Tao Tao, Ph.D. IBM T. J.

Re: [openstack-dev] [heat] How to expose the error messages if the heat stack creation fails with software config/software deployment

2014-11-06 Thread Hang H Liu
Hi, Tao Tao, Here is an example, DEBUG (session) REQ: curl -i -X GET http://9.186.100.22:8004/v1/f334fc078b944b60a08d121022fae0f0/stacks/s1 ... ... RESP BODY: { stack : { capabilities : [ ], ... ... parent : null, stack_name : s1, stack_owner : admin,

Re: [openstack-dev] [heat] How to expose the error messages if the heat stack creation fails with software config/software deployment

2014-11-06 Thread Tao Tao
Hi, Henry: Appreciate very much for your kind reply! Yes, this is what I want, however, I am not seeing the detailed error message as you are seeing. I am still using OpenStack Icehouse, are you using OpenStack Juno or Icehouse? [root@openstack-03 heat(keystone_admin)]# heat stack-show

Re: [openstack-dev] [heat] How to expose the error messages if the heat stack creation fails with software config/software deployment

2014-11-06 Thread Hang H Liu
I am using devstack, which should be juno version. Best Regards, Liu, Hang(Henry) -- hang...@cn.ibm.com | Tel: +8610-58748871 | ITN: 6-9058871 -- OpenStack-dev mailing list