Remove excessive exceptions in logs due to failed fetch call
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
New
|
Undecided
|
Unassigned |
Bug Description
For a happy path deploy, a couple objects are pulled from Swift and if not there, saved over to swift.
Some of these calls try to 'fetch' the data, and if not there...it is not always a bad thing. Maybe it is the first deploy? For every deploy, we now see exceptions about a get that 404's, then an upload to it. We need to clear these from the log so that they don't happen. Example:
*******
2016-05-15 09:18:33.888 2464 INFO swiftclient [-] REQ: curl -i https://<ip>:8080/
2016-05-15 09:18:33.888 2464 INFO swiftclient [-] RESP STATUS: 404 Not Found
2016-05-15 09:18:33.888 2464 INFO swiftclient [-] RESP HEADERS: {u'Date': u'Sun, 15 May 2016 13:18:33 GMT', u'Content-Length': u'70', u'X-Trans-Id': u'tx948a6cbc309
2016-05-15 09:18:33.888 2464 INFO swiftclient [-] RESP BODY: <html><h1>Not Found</h1><p>The resource could not be found.</p></html>
2016-05-15 09:18:33.889 2464 ERROR swiftclient [-] Object GET failed: https://<ip>:8080/
2016-05-15 09:18:33.889 2464 ERROR swiftclient Traceback (most recent call last):
2016-05-15 09:18:33.889 2464 ERROR swiftclient File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient service_
2016-05-15 09:18:33.889 2464 ERROR swiftclient File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient http_response_
2016-05-15 09:18:33.889 2464 ERROR swiftclient ClientException: Object GET failed: https://<ip>:8080/
2016-05-15 09:18:33.889 2464 ERROR swiftclient
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service [-] Object GET failed: https://<ip>:8080/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service Traceback (most recent call last):
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service headers, body = conn.get_
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service headers=headers)
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service service_
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service File "/usr/lib/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service http_response_
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service ClientException: Object GET failed: https://<ip>:8080/
2016-05-15 09:18:33.889 2464 ERROR swiftclient.service
2016-05-15 09:18:35.213 2464 INFO swiftclient [-] REQ: curl -i https://<ip>:8080/
2016-05-15 09:18:35.213 2464 INFO swiftclient [-] RESP STATUS: 404 Not Found
2016-05-15 09:18:35.213 2464 INFO swiftclient [-] RESP HEADERS: {u'Date': u'Sun, 15 May 2016 13:18:35 GMT', u'X-Trans-Id': u'tx639edbf6968
2016-05-15 09:18:35.214 2464 ERROR swiftclient [-] Object HEAD failed: https://<ip?:8080/
2016-05-15 09:18:35.214 2464 ERROR swiftclient Traceback (most recent call last):
2016-05-15 09:18:35.214 2464 ERROR swiftclient File "/usr/lib/
2016-05-15 09:18:35.214 2464 ERROR swiftclient service_
2016-05-15 09:18:35.214 2464 ERROR swiftclient File "/usr/lib/
2016-05-15 09:18:35.214 2464 ERROR swiftclient http_response_
2016-05-15 09:18:35.214 2464 ERROR swiftclient ClientException: Object HEAD failed: https://<ip>:8080/
2016-05-15 09:18:35.214 2464 ERROR swiftclient
*******
Changed in python-swiftclient: | |
assignee: | nobody → Lauren Taylor (lmtaylor) |
assignee: | Lauren Taylor (lmtaylor) → nobody |