Comment 1 for bug 1418566

Revision history for this message
Radek Pospisil (radek-pospisil) wrote :

Is the "empty body" of request or response ?

Empty body of the *response* has to be also handled:

* $ murano environment-create dummy
+----------------------------------+-------+---------------------+---------------------+
| ID | Name | Created | Updated |
+----------------------------------+-------+---------------------+---------------------+
| db98819a639b4235b401763c3f8c3d81 | dummy | 2015-02-25T09:21:38 | 2015-02-25T09:21:38 |
+----------------------------------+-------+---------------------+---------------------+

* $ murano service-show db98819a639b4235b401763c3f8c3d81 /
'list' object has no attribute 'items'

The reason is that muranoclient/common/http.py json_request(..) return None on the empty list of env's services.