Previously, the docker driver would try to obtain a containers pid by
looking it up in /sys/fs/cgroup/drivces/ though this path is not always
correct depending on the version of docker one is using. This patch
corrects this by getting the pid by querying docker instead.
Change-Id: If3cc342dc781a360f2414a1291efda57d102a85b
Closes-bug: 1292479
Co-Authored-By: Pavel Sviderski <email address hidden>
Reviewed: https:/ /review. openstack. org/84830 /git.openstack. org/cgit/ stackforge/ nova-docker/ commit/ ?id=ab6d09cacce 89ec87049d96ec8 9e8630dd2e146a
Committed: https:/
Submitter: Jenkins
Branch: master
commit ab6d09cacce89ec 87049d96ec89e86 30dd2e146a
Author: Aaron Rosen <email address hidden>
Date: Wed Apr 2 11:16:43 2014 -0700
Use docker api in order to find container pid
Previously, the docker driver would try to obtain a containers pid by cgroup/ drivces/ though this path is not always
looking it up in /sys/fs/
correct depending on the version of docker one is using. This patch
corrects this by getting the pid by querying docker instead.
Change-Id: If3cc342dc781a3 60f2414a1291efd a57d102a85b
Closes-bug: 1292479
Co-Authored-By: Pavel Sviderski <email address hidden>