stack@vagrant-ubuntu-trusty-64:~$ heat --debug stack-create stack -f ./rand.yaml DEBUG (session) REQ: curl -g -i -X GET http://xxx.xxx.xxx.xxx:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO (connectionpool) Starting new HTTP connection (1): xxx.xxx.xxx.xxx DEBUG (connectionpool) "GET /v2.0 HTTP/1.1" 200 335 DEBUG (session) RESP: [200] content-length: 335 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Wed, 22 Jul 2015 03:34:52 GMT content-type: application/json x-openstack-request-id: req-856bee23-fedf-45ca-8f04-085828f101f4 RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://xxx.xxx.xxx.xxx:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}} DEBUG (v2) Making authentication request to http://xxx.xxx.xxx.xxx:5000/v2.0/tokens DEBUG (connectionpool) "POST /v2.0/tokens HTTP/1.1" 200 3705 DEBUG (session) REQ: curl -g -i -X POST http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks -H "Accept: application/json" -H "X-Auth-Token: {SHA1}247515ed03ab8b2406c9239926385c2b4d5e078c" -H "X-Region-Name: RegionOne" -H "X-Auth-Key: stack" -H "X-Auth-User: admin" -H "User-Agent: python-heatclient" -H "Content-Type: application/json" -H "X-Auth-Url: http://xxx.xxx.xxx.xxx:5000/v2.0" -d '{"files": {}, "disable_rollback": true, "parameters": {}, "stack_name": "stack", "environment": {}, "template": {"outputs": {"output_param_02": {"description": "description of output_param_02", "value": {"get_attr": ["randomstring2", "value"]}}, "output_param_01": {"description": "description of output_param_01", "value": {"get_resource": "randomstring1"}}, "output_param_00": {"description": "description of output_param_00", "value": {"get_resource": "randomstring0"}}}, "heat_template_version": "2013-05-23", "description": "Some random strings.", "parameters": {"length": {"default": 32, "type": "number", "description": "Random String Length.", "constraints": [{"range": {"max": 256, "min": 1}}]}, "salt": {"default": "salt", "type": "string", "description": "Default salt for random"}}, "resources": {"randomstring2": {"type": "OS::Heat::RandomString", "properties": {"length": {"get_attr": ["randomstring0", "value"]}, "salt": {"get_resource": "randomstring1"}}}, "randomstring1": {"type": "OS::Heat::RandomString", "properties": {"length": {"get_param": "length"}, "salt": {"get_param": "salt"}}}, "randomstring0": {"type": "OS::Heat::RandomString", "properties": {"length": 2, "sequence": "digits"}}}}}' INFO (connectionpool) Starting new HTTP connection (1): xxx.xxx.xxx.xxx DEBUG (connectionpool) "POST /v1/7e9157722a414d69b472d1b176478789/stacks HTTP/1.1" 201 204 DEBUG (session) RESP: [201] content-length: 204 connection: keep-alive location: http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d date: Wed, 22 Jul 2015 03:34:52 GMT content-type: application/json x-openstack-request-id: req-1d7cb528-42a2-4bcc-b6e6-124d92a429a9 RESP BODY: {"stack": {"id": "19380f52-4f41-4701-8054-5fae1d8e8b4d", "links": [{"href": "http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d", "rel": "self"}]}} DEBUG (session) REQ: curl -g -i -X GET http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks? -H "Accept: application/json" -H "User-Agent: python-heatclient" -H "X-Region-Name: RegionOne" -H "X-Auth-Token: {SHA1}247515ed03ab8b2406c9239926385c2b4d5e078c" -H "Content-Type: application/json" -H "X-Auth-Url: http://xxx.xxx.xxx.xxx:5000/v2.0" DEBUG (connectionpool) "GET /v1/7e9157722a414d69b472d1b176478789/stacks HTTP/1.1" 200 511 DEBUG (session) RESP: [200] date: Wed, 22 Jul 2015 03:34:52 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 511 x-openstack-request-id: req-7b97a5b5-cc0f-4047-ade7-6d2ae89b3d6e RESP BODY: {"stacks": [{"description": "Some random strings.", "parent": null, "stack_status_reason": "", "stack_name": "stack", "stack_user_project_id": "96fc4d04c5344cdba31e9ea6f7f47b14", "tags": null, "creation_time": "2015-07-22T03:34:52", "links": [{"href": "http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d", "rel": "self"}], "updated_time": null, "stack_owner": "admin", "stack_status": "CREATE_IN_PROGRESS", "id": "19380f52-4f41-4701-8054-5fae1d8e8b4d"}]} +--------------------------------------+------------+--------------------+---------------------+ | id | stack_name | stack_status | creation_time | +--------------------------------------+------------+--------------------+---------------------+ | 19380f52-4f41-4701-8054-5fae1d8e8b4d | stack | CREATE_IN_PROGRESS | 2015-07-22T03:34:52 | +--------------------------------------+------------+--------------------+---------------------+ stack@vagrant-ubuntu-trusty-64:~$ heat --debug action-suspend stack DEBUG (session) REQ: curl -g -i -X GET http://xxx.xxx.xxx.xxx:5000/v2.0 -H "Accept: application/json" -H "User-Agent: python-keystoneclient" INFO (connectionpool) Starting new HTTP connection (1): xxx.xxx.xxx.xxx DEBUG (connectionpool) "GET /v2.0 HTTP/1.1" 200 335 DEBUG (session) RESP: [200] content-length: 335 vary: X-Auth-Token keep-alive: timeout=5, max=100 server: Apache/2.4.7 (Ubuntu) connection: Keep-Alive date: Wed, 22 Jul 2015 03:36:03 GMT content-type: application/json x-openstack-request-id: req-10ed0104-dbf5-45ad-82df-60eba0a81ca0 RESP BODY: {"version": {"status": "stable", "updated": "2014-04-17T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://xxx.xxx.xxx.xxx:5000/v2.0/", "rel": "self"}, {"href": "http://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}} DEBUG (v2) Making authentication request to http://xxx.xxx.xxx.xxx:5000/v2.0/tokens DEBUG (connectionpool) "POST /v2.0/tokens HTTP/1.1" 200 3705 DEBUG (session) REQ: curl -g -i -X POST http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/actions -H "Accept: application/json" -H "User-Agent: python-heatclient" -H "X-Region-Name: RegionOne" -H "X-Auth-Token: {SHA1}b0b670a34442188f567f6ab6e2a336a9a3803f4f" -H "Content-Type: application/json" -H "X-Auth-Url: http://xxx.xxx.xxx.xxx:5000/v2.0" -d '{"suspend": null}' INFO (connectionpool) Starting new HTTP connection (1): xxx.xxx.xxx.xxx DEBUG (connectionpool) "POST /v1/7e9157722a414d69b472d1b176478789/stacks/stack/actions HTTP/1.1" 302 195 DEBUG (session) RESP: [302] content-length: 195 connection: keep-alive location: http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d/actions date: Wed, 22 Jul 2015 03:36:04 GMT content-type: text/plain; charset=UTF-8 x-openstack-request-id: req-56538299-7afd-41da-8caf-fe91e37c2976 RESP BODY: 302 Found The resource was found at http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d/actions; you should be redirected automatically. DEBUG (connectionpool) "POST /v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d/actions HTTP/1.1" 200 4 DEBUG (session) RESP: [200] date: Wed, 22 Jul 2015 03:36:04 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 4 x-openstack-request-id: req-01557cb0-37f5-4fb8-b388-edfb56cabd01 RESP BODY: null DEBUG (session) REQ: curl -g -i -X GET http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks? -H "Accept: application/json" -H "User-Agent: python-heatclient" -H "X-Region-Name: RegionOne" -H "X-Auth-Token: {SHA1}b0b670a34442188f567f6ab6e2a336a9a3803f4f" -H "Content-Type: application/json" -H "X-Auth-Url: http://xxx.xxx.xxx.xxx:5000/v2.0" DEBUG (connectionpool) "GET /v1/7e9157722a414d69b472d1b176478789/stacks HTTP/1.1" 200 543 DEBUG (session) RESP: [200] date: Wed, 22 Jul 2015 03:36:04 GMT connection: keep-alive content-type: application/json; charset=UTF-8 content-length: 543 x-openstack-request-id: req-fb6f2a66-3495-4425-953f-bd7c5625c27b RESP BODY: {"stacks": [{"description": "Some random strings.", "parent": null, "stack_status_reason": "Stack CREATE completed successfully", "stack_name": "stack", "stack_user_project_id": "96fc4d04c5344cdba31e9ea6f7f47b14", "tags": null, "creation_time": "2015-07-22T03:34:52", "links": [{"href": "http://xxx.xxx.xxx.xxx:8004/v1/7e9157722a414d69b472d1b176478789/stacks/stack/19380f52-4f41-4701-8054-5fae1d8e8b4d", "rel": "self"}], "updated_time": null, "stack_owner": "admin", "stack_status": "CREATE_COMPLETE", "id": "19380f52-4f41-4701-8054-5fae1d8e8b4d"}]} +--------------------------------------+------------+-----------------+---------------------+ | id | stack_name | stack_status | creation_time | +--------------------------------------+------------+-----------------+---------------------+ | 19380f52-4f41-4701-8054-5fae1d8e8b4d | stack | CREATE_COMPLETE | 2015-07-22T03:34:52 | +--------------------------------------+------------+-----------------+---------------------+