This is to:
1. Add missing print format for "%(hook_type)".
2. Add ws between words in log message "notavailable".
Change-Id: Iaee8697c95f66bff0536db9a266158a3cbc89412
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 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>
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
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
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
Remove references to the now-removed oslo-incubator jsonutils,
which has been deprecated and replaced with oslo.serialization
Change-Id: I2483f5e1036471a9aae4e3185bf4b2f24afa99ea
PartialBug: 1380629
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
Setup the command line options and calls for generating
a template from an installed resource.
blueprint resource-template
Change-Id: If533bd90b1ec73bbe2603b55a0a7621879d355ec
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 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
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
Instead of just getting the HTTP code, the message from the actual
exception is printed to the console
Change-Id: I43265e1e01e3e972e444778b3058637c0e1fd441