This is a precursor to having them run under check and gate.
This also fixes a single test which fails on PyPy, the test failes at
because it assumes a ``dict`` has a particular order for its keys when
it is printed out, on PyPy dicts have a different order sometimes, the
exact ordering is not a guarnteed property of Python.
The need was introduced with the renaming of field logical_resource_id
to resource_name, so let heatclient display the good one for the two
Fixes bug #1216903
All Unauthorized exceptions are currently trapped and
the following message is printed:
Invalid OpenStack Identity credentials.
This is unhelpful now that heat-api is providing structured
errors with (sometimes) helpful context for authorization failures.
This change removes this error trapping and prints the intended
The order is correct already if python heat client does not recorder
it. Add option to make print_list not to reorder possible, and call it
Fixes: bug #1209506
Pagination on the server has not yet been implemented, however
the client assumes it is, causing infinite recursion when paginate
With this change, no pagination is attempted unless page_size is
specified. However the 'limit' parameter is still honored, so it
is still possible to cap the total number of results returned.
heatclient users should not set page_size until pagination has been
implemented on the server. The stack list in Horizon currently
does not attempt to paginate, so is not affected.
Fixes: bug #1207839
The current instance delete method assumes that a Stack
instance can be passed to the manager delete method, however
the manager delete method only accepts a stack identifier.
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.
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.
Make format_parameters() raise CommandError with
the same message. Rather than raise MalformedRequestBody
and then catch that and raise CommandError. This just
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.
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