During chunk upload if a subprocess exception is thrown, a malformed
chunk upload occurs.
This patch adds logging for subprocess exceptions and sends the
terminator even in the event of a subprocess exception. The incomplete
file upload will then be cleaned up by the client.
Reviewed: https:/ /review. openstack. org/119167 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=e039b036b5e 9dbaff8b37f7ab2 2c209b71bdc182
Committed: https:/
Submitter: Jenkins
Branch: master
commit e039b036b5e9dba ff8b37f7ab22c20 9b71bdc182
Author: Jesse J. Cook <email address hidden>
Date: Thu Sep 4 13:17:37 2014 -0500
xenapi: send chunk terminator on subprocess exc
During chunk upload if a subprocess exception is thrown, a malformed
chunk upload occurs.
This patch adds logging for subprocess exceptions and sends the
terminator even in the event of a subprocess exception. The incomplete
file upload will then be cleaned up by the client.
Change-Id: I559f201430bcd4 c36d669c7772a10 bfe3cd54d41
Closes-Bug: 1365637