Keep existing data for containerized ironic-conductor
authorJiri Stransky <jistr@redhat.com>
Wed, 8 Mar 2017 15:20:54 +0000 (16:20 +0100)
committerJiri Stransky <jistr@redhat.com>
Mon, 20 Mar 2017 10:07:57 +0000 (10:07 +0000)
commit1a4ece16cea40075fe7332ed048b9c289b3ff424
treec06818a3f397b49a4d6246ec44c39b16f462384c
parent8ac8e20e675ee16a500cbd6e7093c41f6f40b90e
Keep existing data for containerized ironic-conductor

Use mounts instead of docker volumes, and preserve existing data when
moving from baremetal to containerized ironic-conductor.

We cannot keep the data in the same directory to avoid hard-linking
errors in ironic, because of this issue:

https://github.com/docker/docker/issues/7457

This means we need to copy the data over to a new location before we
start the containers.

Change-Id: If98460120212f887b06adf117c5d88b97682638e
docker/services/ironic-conductor.yaml
docker/services/ironic-pxe.yaml