podman/libpod
Matthew Heon 4553f2914c More gracefully handle unexpected storage deletion
We have other tools using containers/storage. They can delete our
containers in c/storage without us knowing. Try and handle this
better by warning instead of erroring when delete our storage and
it is already gone.

This does not handle cases where libpod thinks the container is
mounted, but it is not. This is harder to check for, because
c/storage Mount() and Unmount() take a layer, image, or container
and that complicates our "container no longer exists" question.
Further work is needed here.

Signed-off-by: Matthew Heon <matthew.heon@gmail.com>

Closes: #571
Approved by: rhatdan
2018-04-02 14:22:57 +00:00
..
common Change un/pwd handling to match Buildah's 2018-02-06 09:29:23 -05:00
driver Migrate Create|Commit to ginkgo 2018-02-02 22:44:40 +00:00
image Allow sha256: prefix for input 2018-03-29 16:31:43 +00:00
layers Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
boltdb_state.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
boltdb_state_internal.go Ensure container dependencies are part of the same pod 2018-03-29 01:27:40 +00:00
common_test.go Add tests for container graphs 2018-03-29 02:18:45 +00:00
container.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
container_api.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
container_attach.go Remove dependency on kubernetes 2018-03-27 21:55:33 +00:00
container_graph.go Remove a loop in container graph 2018-03-29 02:18:45 +00:00
container_graph_test.go Fix tests 2018-03-29 02:18:45 +00:00
container_inspect.go Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
container_internal.go More gracefully handle unexpected storage deletion 2018-04-02 14:22:57 +00:00
container_top.go Stage3 Image Library 2018-03-14 20:21:31 +00:00
diff.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
errors.go Add schema validation to DB 2017-11-30 18:05:56 +00:00
finished_32.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
finished_64.go Make libpod build on 32-bit systems 2018-02-13 15:39:07 +00:00
in_memory_state.go Prevent ctrs not in pods from depending on pod ctrs 2018-03-29 01:27:40 +00:00
info.go Tweak info time format 2018-02-28 18:06:50 +00:00
networking.go networking.go tweak iptables functions 2018-03-03 19:45:24 +00:00
oci.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
options.go podman: new option --conmon-pidfile= 2018-03-29 01:34:41 +00:00
pod.go Only start containers that are not running in pod start 2018-03-29 02:18:45 +00:00
runtime.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
runtime_ctr.go Error is already wrapped properly. 2018-03-29 01:55:20 +00:00
runtime_img.go Fix some minor issues lint has been picking up 2018-03-27 14:46:17 +00:00
runtime_img_test.go libpod/runtime_img_test.go Unit Tests 2017-11-04 11:12:14 -05:00
runtime_pod.go Check for duplicate names when generating new container and pod names. 2018-03-29 01:55:20 +00:00
state.go Containers in a pod can only join namespaces in that pod 2018-02-12 14:28:07 +00:00
state_test.go Add tests for container graphs 2018-03-29 02:18:45 +00:00
stats.go podman stats add networking 2018-02-28 16:46:29 +00:00
storage.go CreateContainerStorage by image id 2018-02-23 17:44:28 +00:00
util.go Stage 4 Image cleanup 2018-03-23 15:35:37 +00:00
util_test.go Stage3 Image Library 2018-03-14 20:21:31 +00:00