timescaledb-wale
timescaledb-wale copied to clipboard
swift support not fully implemented ?
Hello,
When using the following docker configuration:
docker run -d \
> --name wale \
> --network timescaledb-net \
> --volumes-from timescaledb \
> -v ~/backups:/backups \
> -e WALE_LOG_DESTINATION=stderr \
> -e PGHOST=timescaledb \
> -e PGPASSWORD=insecure \
> -e PGUSER=postgres \
> -e WALE_SWIFT_PREFIX=swift://Test/backups \
> -e SWIFT_AUTHURL=https://auth.cloud.ovh.net/ \
> -e SWIFT_TENANT=xxxxxxxxxxxx \
> -e SWIFT_USER=user-xxxxxxxxxxx \
> -e SWIFT_PASSWORD=xxxxxxxxxxx \
> timescale/timescaledb-wale:latest
I got the following error message when running the command:
docker exec wale wal-e backup-push /var/lib/postgresql/data
wal_e.main ERROR MSG: OpenStack support requires modules "python-swiftclient" and "python-keystoneclient"
HINT: Try running "pip install python-swiftclient python-keystoneclient"
Later on, I've tried to add python-swiftclient`` python-keystoneclient
to the requirements.txt
file but I could'nt create the docker image, got the error:
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-kl50iz1x/gevent/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-2qb1f959-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-kl50iz1x/gevent/
The command '/bin/sh -c apk add --no-cache --virtual .build-deps gcc libc-dev lzo-dev python3-dev && python3 -m pip install --upgrade pip --no-cache-dir -r requirements.txt' returned a non-zero code: 1