summaryrefslogtreecommitdiff
path: root/heatclient/exc.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix missing print formatzhufl2019-05-211-2/+1
| | | | | | | | This is to: 1. Add missing print format for "%(hook_type)". 2. Add ws between words in log message "notavailable". Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
* Move required modules from oslo-incubatorrabi2016-11-121-0/+4
| | | | | | | | | | | | Move the required module to heatclient/common. - heatclient/openstack/common/apiclient/base.py It also moves some required functions and exceptions from heatclient/openstack/common/cliutils.py and heatclient/openstack/common/exceptions.py. Change-Id: I68704c7fab9417492d8390ad05a9797f78d46907
* Graduate to oslo.i18n and cleanup incubator usageChuck Short2016-11-081-1/+1
| | | | | | | | | Graduate from Oslo Incubator to oslo.i18n library. Cleanup of unused Oslo Incubator utils. Added optional enable_lazy() usage. Change-Id: I5ec02477f3f52f4d7097669120581e82cced3748 Signed-off-by: Chuck Short <chuck.short@canonical.com>
* Merge "Fill status code for every HTTPException"Jenkins2016-03-141-2/+4
|\
| * Fill status code for every HTTPExceptionBartlomiej Biernacki2015-11-121-2/+4
| | | | | | | | | | Change-Id: Ib73398f0a555c9ac4534fd3ce4a1c06e51bc5962 Closes-Bug: #1515519
* | Use oslo.utils.reflection to extract class nameBo Wang2016-02-161-3/+4
| | | | | | | | | | | | | | | | The oslo.utils.reflection.get_class_name() handles more variations of where a class name may come from (on) python 2 and python 3. Its usage allows getting more accurate class names so we'd better use it. Change-Id: I97cc7f1e818161c2fe265da1ed1b52add1951c90
* | Enable pep8 E126 testricolin2015-12-011-2/+1
| | | | | | | | | | | | Enable E126 continuation line over-indented for hanging indent. Change-Id: I12ca2d8d610574dfcd528b0e613ec0328f4fb45e
* | Enable pep8 E265 testricolin2015-11-231-1/+1
|/ | | | | | Enable E265 block comment should start with '# ' Change-Id: I78813e73f8dd800bc58a1d69eedc2c066ccb8c28
* Poll functionality for stack create actionRakesh H S2015-08-101-0/+4
| | | | | | | | | | | | | | | | | Poll functionality is required for long running stacks. When stack-create is passed with --poll argument, it will first print stack-show output and then continously print the events in log format until stack completes its action with success/failure. This patch only implements poll for stack create action. DocImpact A new option --poll is added to stack-create. Partial-Bug: #1420541 Change-Id: Ib7d35b66521f0ccca8544fd18fb70e04eaf98e5a
* Migrate to new oslo_xxx namespacetengqm2015-03-231-1/+1
| | | | | | | | This patch migrates the namespace of oslo packages from oslo.foobar to oslo_foobar. The oslo_incubator code need to be resynced, which will be submitted in another patch. Change-Id: Id77207750556b71f20797a0ee6f2cafd62ea30e1
* Add transtlation markers for error messagesTetiana Lashchova2014-12-101-7/+14
| | | | | Change-Id: Ic44073880b7e65b6530a7314a5a2d65eb4aadb09 Partial-Bug: #1269930
* Move to oslo.serializationSteven Hardy2014-11-101-1/+1
| | | | | | | | Remove references to the now-removed oslo-incubator jsonutils, which has been deprecated and replaced with oslo.serialization Change-Id: I2483f5e1036471a9aae4e3185bf4b2f24afa99ea PartialBug: 1380629
* Port to python requestsChmouel Boudjnah2014-02-071-5/+4
| | | | | | | | | | Since python requests has builtins SSL verification we can get ride of our own implementation. Increase tests coverage of heatclient.common.http along the way. Partial Implements: blueprint python-requests-port Change-Id: I04a169da2334acc91e538ca02cba79d9765752b5
* Use jsonutils from oslo incubatorChmouel Boudjnah2013-12-161-6/+3
| | | | | Partial-Bug: #1261224 Change-Id: I9a1e4e661e11a423586869ca504c41028934f8de
* Generate a template from a resourceAndrew Plunk2013-08-071-0/+4
| | | | | | | | | Setup the command line options and calls for generating a template from an installed resource. blueprint resource-template Change-Id: If533bd90b1ec73bbe2603b55a0a7621879d355ec
* Parse error object (in json format) returned by heat-apiJianing YANG2013-07-261-0/+31
| | | | | | | | With this fix, heatclient will display a clear error message when encounter an server-side error. Additionally, the corresponding traceback will be displayed when "--verbose" is set. Change-Id: I99b828465f61478a3c63fcf549d044a62523be1f
* Make the parameter checking consistent.Angus Salkeld2013-07-161-5/+0
| | | | | | | | | Make format_parameters() raise CommandError with the same message. Rather than raise MalformedRequestBody and then catch that and raise CommandError. This just simplifies things. Change-Id: Ic05af32dd916e953e6b162daccc4525cb4734a46
* Fixes text split for parametersSulochan Acharya2013-05-311-0/+5
| | | | | | | | | | Make text split only on the first "=" element, this will allow for values to have multiple "=" in the string. Also, ensure that key = value pair is honored in parameters, exit otherwise with error message. Tests included. Fixes bug #1183842 Change-Id: Ic8897405c61dee49f5927b53f055b0d0686eea7d
* Fix some "H" pep errorsAngus Salkeld2013-05-201-11/+11
| | | | | | And be more specific about which ones we ignore. Change-Id: I69fd6897957e3dcb5939cf48651a0f1b41b711dd
* Display a better error message on HTTP exceptionSteve Baker2012-12-111-13/+4
| | | | | | | Instead of just getting the HTTP code, the message from the actual exception is printed to the console Change-Id: I43265e1e01e3e972e444778b3058637c0e1fd441
* remove some glanceisms from the docsSteve Baker2012-12-041-1/+1
| | | | Change-Id: Iee3eb218086d3a9810d7f7e0e92500293b90a1f1
* Initial importSteve Baker2012-10-101-0/+163