Merge "Check relevant logging mechanism in the gate"

This commit is contained in:
Jenkins 2016-03-22 15:26:02 +00:00 committed by Gerrit Code Review
commit 27a4268216
1 changed files with 5 additions and 2 deletions

View File

@ -34,8 +34,11 @@ function check_failure {
docker logs --tail all ${failed}
done
journalctl --no-pager -u docker.service
cat /var/log/upstart/docker.log
if [[ -x "$(command -v journalctl)" ]]; then
journalctl --no-pager -u docker.service
else
cat /var/log/upstart/docker.log
fi
nova service-list
neutron agent-list