19 Commits

Author SHA1 Message Date
Clark Boylan
930ac1114b Fix docker image builds
The image builds are trying to fetch a gpg pubkey from keybase which
does not exist. This causes the builds to fail. Fix this by vendoring
the key in the swift repo directly. This should be more reliable.

Upstream bug at https://github.com/just-containers/s6-overlay/issues/352

Note I looked up the pubkey given the hash on that issue and copied its
contents into this change. I can't vouch for the validity of this key
beyond that. However, if it is listed in that issue and validates the
packages from s6 then it is probably good.

Change-Id: I3f42fbaae5f246836024f95b549b487b41bd6f1d
2021-08-23 14:56:17 -07:00
Zuul
727516de51 Merge "Switch IRC references from freenode to OFTC" 2021-06-02 10:52:08 +00:00
Tim Burke
d183b41c9b Switch IRC references from freenode to OFTC
See http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022718.html
and http://lists.opendev.org/pipermail/service-discuss/2021-May/000249.html
for more information.

Change-Id: I6ac37c23153c5c9d42d96e448e0656dbf8257991
2021-06-01 08:13:56 -07:00
Tim Burke
705a88bb11 docker: Install cffi and cryptography from system packages
Currently, builds are busted because they can't build wheels for these.

Change-Id: I964d5858bfb926890169d46cbc7ab4e76fc40250
2021-05-27 10:31:14 -07:00
Tim Burke
27a734c78a s3api: Allow CORS preflight requests
Unfortunately, we can't identify the user, so we can't map to an
account, so we can't respect whatever CORS metadata might be set on the
container.

As a result, the allowed origins must be configured cluster-wide. Add a
new config option, cors_preflight_allow_origin, for that; default it
to blank (ie, deny preflights from all origins, preserving existing
behavior), but allow either a comma-separated list of origins or
* (to allow all origins).

Change-Id: I985143bf03125a05792e79bc5e5f83722d6431b3
Co-Authored-By: Matthew Oliver <matt@oliver.net.au>
2021-03-15 13:52:05 -07:00
Tim Burke
314347a3cb Update SAIO & docker image to use 62xx ports
Note that existing SAIOs with 60xx ports should still work fine.

Change-Id: If5dd79f926fa51a58b3a732b212b484a7e9f00db
Related-Change: Ie1c778b159792c8e259e2a54cb86051686ac9d18
2020-07-20 15:17:12 -07:00
Tim Burke
cb37d3acd6 docs: Clean up mount options
* Stop specifying logbufs=8; that's the default
* Stop including nodiratime with noatime; the latter implies the former

Nothing wrong with being explicit, I suppose, but may as well keep the
mount options to what we can easily explain: we want noatime because
Swift does not use atime, so we don't want to lose any performance to
tracking atime.

Change-Id: I1e52b4368ad7eb375964eee5132bc50297536355
2020-05-03 00:43:57 -07:00
Zuul
0524feef8c Merge "Add etag quoter to saio proxy config" 2020-03-26 00:51:18 +00:00
Zuul
5ad6472c05 Merge "Add new versioning flag to docker image" 2020-01-31 20:41:25 +00:00
Thiago da Silva
d46a0c7d69 Add etag quoter to saio proxy config
Change-Id: I48ebbb38427612a52c36078586af7b9780b5ea37
2020-01-31 08:47:00 +11:00
Thiago da Silva
c7cb34ad61 Dockerhub description of saio image
Change-Id: Ifcb5013a5728d93cf5491fbff81b2677450698e6
2020-01-30 20:17:07 +00:00
Thiago da Silva
4a776c4fbd Add new versioning flag to docker image
Change-Id: If6a25d6573502eebff3e28aa503721eda73af556
2020-01-30 15:56:36 +11:00
Thiago da Silva
94366fd00e Add Dockerfile to build a py3 swift docker image
This patch contains only a new Dockerfile and few changes to
be able to build both py2 and py3 images.

Next patch should contain changes to add the gate jobs to build
a py3 docker image

Change-Id: Ifdebde9597a787abcd553756e22261e2faaeedfc
2019-08-19 22:31:41 +02:00
Zuul
234b23d01a Merge "Dockerfile cleanup" 2019-06-19 03:21:30 +00:00
Zuul
1ae4952af4 Merge "Enable s3api in saio docker container" 2019-06-18 16:29:54 +00:00
Thiago da Silva
ccd3b890cd Enable s3api in saio docker container
Change-Id: Ie759c4092408a210d32f6457142457087343d33a
2019-06-17 14:54:11 +01:00
Tim Burke
a122b720e9 Dockerfile cleanup
- Use `set -e` in all install scripts. Clean up swift_needs to still
  work properly and exit cleanly under `set -e`.
- Drop some redundant slashes.

Change-Id: I05f38c6366e3da0aeed2b6451a8bd9d7dc531119
2019-06-05 12:12:43 -07:00
Ehud Kaldor
17fd725707 Installing liberasurecode from Alpine Linux repos instead of building from source.
closes #1831136

Change-Id: Ic9a2844fffc6dba6a4d44a9712edbb5cd91f0470
2019-06-05 11:29:28 -07:00
Thiago da Silva
37e257913c Add Dockerfile to build a SAIO container image
Added Dockerfile and configuration files under the
new `docker` directory to build a Swift All in One container
image.

The primary goal of this container image is to provide
application developers with a Swift/S3 endpoint that can be
tested against during the development cycle.

Added Zuul jobs to build docker container

Change-Id: Ib10975a1862a4fa8c4eeaba139837cf1f22b272a
2019-05-07 15:44:00 -04:00