This splits the stack_status back to an action and status,
as it is represented internally in heat-engine.
It assumes there will not be an action which contains an _.
This change is needed for code (such as tempest) which assumes a
convention of all openstack client resources having a status property.
Change-Id: If00db5508bf8469b1106cac20b8fc10f7e1a854d
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
Credentials will be set instead of a token for all invocations where
--os-no-client-auth is specified.
Change-Id: I35a81a9518833ce9758228266deb36c8073f9fb8
Determine hot template and display yaml format for it, display json
format for others.
Change-Id: Ie8d72c222a992ee0048897d040e8bc88fcf51760
Fixes: bug #1201482
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
The content looks more like restructured text to me,
and it seems to be more common amongst OpenStack projects.
Change-Id: Iba8c21985c055f1712069a6e70d345bb920381bf
This is the intermediate step so that we can update the the lower
bound of keystoneclient in openstack-requirements.
Change-Id: I1b73bfaafdf404634fc321b4e536f65b6dd65a3a
All heat operations can be performed with only a token.
User credentials are required for stack create/update as they are
stored for later stack operations.
This change prevents credentials unnecessarily being sent over the wire.
Change-Id: I5ad18067c5db8ada9994d131e98f27af70a7ca06
This change has no effect if the resource details contains
no requires key (such as for older API versions).
Change-Id: I5bce5cf6a7c7cd3f531453cd126fb7b7b3e227ef
This class doesn't expect this argument. Passing the argument causes the
client to break on all HTTPS connections.
Change-Id: I56f02b3a8943ff9a8b9e7855796fd527683514f3
Fixes: bug #1190111
Causes issues with the recent re-merge with setuptools. Advice from
upstream is to stop doing explicit depends.
Change-Id: Ie4c3eb42351f1ba5caa9b092db8f544d5a0cd7ba
Per (propsed) Hacking H203 check, use the
non-deprecated except x as y: construct which
works with any Python version >= 2.6
Change-Id: Ibe58125719ba7fccf68974555a4b93f9dcdad6ae
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
This is in prep for testr changes, but also cleans up
several things in the tests where state could leak.
Change-Id: I7f53dcee2f1fcffb622dd475ea8cf433ce43dbb2
This keeps it consistent with the other heat projects, and gets us
away from having a global 'tests' package.
Change-Id: Ic41b5fc235df0fce0feecfe678f743621e379aec
PrettyTable 0.7.2 defaults to print a table even if
the resultset is empty. Restore previous behavior
to be in line with older prettytable releases.
Change-Id: Iaa9e1cf5444c8daa229aad53e3a3c15038a7d57e