From 5a6f98a30ed7730a582cd6682e0625c849c1f562 Mon Sep 17 00:00:00 2001 From: Kevin Benton Date: Thu, 2 Mar 2017 11:23:16 -0800 Subject: [PATCH] Include metadata content for debugging This will help root cause the Cirros image complaining about a lack of keys when they are visibly present in the Nova API logs. Related-Bug: #1668958 Change-Id: I606c56f73be147e7f3281dfc73b874e404c39675 --- neutron/agent/metadata/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neutron/agent/metadata/agent.py b/neutron/agent/metadata/agent.py index a2362af65d3..169cdda017c 100644 --- a/neutron/agent/metadata/agent.py +++ b/neutron/agent/metadata/agent.py @@ -193,9 +193,9 @@ class MetadataProxyHandler(object): body=req.body) if resp.status == 200: - LOG.debug(str(resp)) req.response.content_type = resp['content-type'] req.response.body = content + LOG.debug(str(resp)) return req.response elif resp.status == 403: LOG.warning(_LW(