From 5e28eb8496c356f2074c21d72b52906451696e12 Mon Sep 17 00:00:00 2001 From: James McCarthy Date: Wed, 15 Jul 2015 16:00:23 +0100 Subject: Implement Swift Containers Known bugs/TODOs at this time of this patch update: https://bugs.launchpad.net/kolla/+bug/1477990 https://bugs.launchpad.net/kolla/+bug/1477993 Implements: Blueprint swift-container Closes-bug: #1477992 Co-Authored-By: Paul Bourke Change-Id: I031f88a7cd1867104fef12df6ab3ffcc06cb65d6 --- docker/centos/binary/swift/swift-data/Dockerfile | 13 +++++++++++++ docker/centos/binary/swift/swift-data/build | 1 + 2 files changed, 14 insertions(+) create mode 100644 docker/centos/binary/swift/swift-data/Dockerfile create mode 120000 docker/centos/binary/swift/swift-data/build (limited to 'docker/centos/binary/swift/swift-data') diff --git a/docker/centos/binary/swift/swift-data/Dockerfile b/docker/centos/binary/swift/swift-data/Dockerfile new file mode 100644 index 000000000..ab675045c --- /dev/null +++ b/docker/centos/binary/swift/swift-data/Dockerfile @@ -0,0 +1,13 @@ +FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%base:%%KOLLA_TAG%% +MAINTAINER Kolla Project (https://launchpad.net/kolla) + +# NOTE(pbourke): This is emulating the Swift "all-in-one" setups where there are 3 disks/partitions +# on which to mirror data. This is extremely inefficient and is really only to prove everything +# works in an AIO setup. For production deploys the Ansible provisioned setup should be used. +VOLUME [ "/srv/node/sdb1" ] +VOLUME [ "/srv/node/sdb2" ] +VOLUME [ "/srv/node/sdb3" ] + +# Command needed to start the data container. +# Note: data containers do not need to be persistent. +CMD ["/bin/true"] diff --git a/docker/centos/binary/swift/swift-data/build b/docker/centos/binary/swift/swift-data/build new file mode 120000 index 000000000..ec1913803 --- /dev/null +++ b/docker/centos/binary/swift/swift-data/build @@ -0,0 +1 @@ +../../../../../tools/build-docker-image \ No newline at end of file -- cgit v1.2.3