Adds cleanup to save out logs for undercloud and tempest

Change-Id: Id5203f35924865f31cb0aff1526af310f77d426e