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

Tao Tao ttao at us.ibm.com
Fri Nov 7 00:08:17 UTC 2014


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. Watson Research Center
1101 Kitchawan Road
Yorktown Heights, NY 10598
Phone: (914) 945-4541
Email: ttao at us.ibm.com



From:	Ton Ngo/Watson/IBM at IBMUS
To:	"OpenStack Development Mailing List \(not for usage questions
            \)" <openstack-dev at lists.openstack.org>
Date:	11/06/2014 07:04 PM
Subject:	Re: [openstack-dev] [heat] How to expose the error messages if
            the heat stack creation fails with software config/software
            deployment



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:  /var/lib/heat-config/heat-config-script
Ton Ngo,



From:		 Tao Tao/Watson/IBM at IBMUS
To:		 "OpenStack List" <openstack-dev at lists.openstack.org>
Date:		 11/06/2014 12:09 PM
Subject:		 [openstack-dev] [heat] How to expose the error messages
if the
            heat stack creation fails with software config/software
            deployment



Hi, All:

When the heat stack creation fails due to software config/software
deployment with scripts/chef/puppet, we are not able to locate the error
message with Heat REST APIs.

What is the best practice to solve this problem?


Thanks,
Tao Tao, Ph.D.
IBM T. J. Watson Research Center
1101 Kitchawan Road
Yorktown Heights, NY 10598
Phone: (914) 945-4541
Email: ttao at us.ibm.com_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



_______________________________________________
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/20141106/e9f53f27/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: graycol.gif
Type: image/gif
Size: 105 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141106/e9f53f27/attachment.gif>


More information about the OpenStack-dev mailing list