support-showing-req\resp-body

Registered by XueFeng Liu on 2017-04-12

In zaqar client command, it can't show REQ\RESP BODY with --debug which is useful for debug. For example: when we run command `openstack queue list --debug`

Following is the example with command which can show EQ\RESP BODY info:
 openstack network list --debug

....
REQ: curl -g -i -X GET http://192.0.9.77:9696/v2.0/networks -H "User-Agent: openstacksdk/0.9.14 keystoneauth1/2.19.0 python-requests/2.12.5 CPython/2.7.6" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}bdd4c3af5197d54613bc53652ae53de7e75c71e3"
http://192.0.9.77:9696 "GET /v2.0/networks HTTP/1.1" 200 1323
RESP: [200] Content-Type: application/json; charset=UTF-8 Content-Length: 1323 X-Openstack-Request-Id: req-f946fcf0-2552-4d49-b144-b718ba440ca4 Date: Thu, 06 Apr 2017 13:52:31 GMT Connection: keep-alive
RESP BODY: {"networks":[{"provider:physical_network":null,"ipv6_address_scope":null,"revision_number":7,"port_security_enabled":true,"mtu":1450,"id":"036aecc8-377c-447a-8dcf-5bd1748e4606","router:external":false,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"status":"ACTIVE","subnets":["95f674d4-6bfe-4a68-ab59-bf220401f234","d5323840-2d53-4a5e-af0f-a5a1f2f462f7"],"description":"","tags":[],"updated_at":"2017-04-01T04:06:40Z","provider:segmentation_id":69,"name":"private","admin_state_up":true,"tenant_id":"db40f92e52b94f398404e60c9adae16e","created_at":"2017-04-01T04:06:31Z","provider:network_type":"vxlan"},{"provider:physical_network":"public","ipv6_address_scope":null,"revision_number":9,"port_security_enabled":true,"mtu":1500,"id":"51bb59ee-8d81-4b77-a3ed-24357b302578","router:external":true,"availability_zone_hints":[],"availability_zones":["nova"],"ipv4_address_scope":null,"shared":false,"status":"ACTIVE","subnets":["3649541d-38ef-4dc7-905f-e830a5263fb6","829e72bf-0b4b-4f13-913a-d31b2ebd7d09"],"description":"","tags":[],"updated_at":"2017-04-01T04:07:27Z","is_default":true,"provider:segmentation_id":null,"name":"public","admin_state_up":true,"tenant_id":"ece00e01e24f4ba29da54fe9498d7db7","created_at":"2017-04-01T04:06:57Z","provider:network_type":"flat"}]}

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
XueFeng Liu
Direction:
Needs approval
Assignee:
XueFeng Liu
Definition:
New
Series goal:
Proposed for future
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

At my first glance, it sounds like a zaqar client issue? --flwang

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.