Open mbtamuli opened 6 years ago
It looks like it can't connect to Manta, that you are missing the MANTA_USER
env. Did you run examples/triton/client.py that generates a _env file?
O I see from your other log that you are trying to use minio. Note that the latest docker build on dockerhub doesn't include the minio code. You will have to build the docker locally.
I'm getting this as well, with the example minio config:
version: '2.1'
services:
mysql:
image: autopilotpattern/mysql:${TAG:-latest}
mem_limit: 512m
restart: always
expose:
- 3306
network_mode: bridge
environment:
- MYSQL_USER=dbuser
- MYSQL_PASSWORD=seekretPassword
- MYSQL_REPL_USER=repluser
- MYSQL_REPL_PASSWORD=seekretReplPassword
- MYSQL_DATABASE=demodb
- BACKUP_TTL=120
- LOG_LEVEL=DEBUG
- CONSUL=consul
- SNAPSHOT_BACKEND=minio
- MINIO_ACCESS_KEY=supersecretaccesskey
- MINIO_SECRET_KEY=supersecretsecretkey
volumes:
# shared storage location for snapshots
- ${WORK_DIR:-../..}/tmp:/tmp/snapshots
links:
- consul:consul
- minio:minio
consul:
image: consul:0.8.4
command: >
agent -server -client=0.0.0.0 -dev -ui
restart: always
mem_limit: 128m
ports:
- 8500:8500
expose:
- 53
- 8300
- 8301
- 8302
- 8400
- 8500
network_mode: bridge
dns:
- 127.0.0.1
minio:
image: minio/minio
command: server /export
restart: always
expose:
- 9000
network_mode: bridge
environment:
- MINIO_ACCESS_KEY=supersecretaccesskey
- MINIO_SECRET_KEY=supersecretsecretkey
Looks like as of commit b104eb2679f6fbd0a59a02beb061e41f72e620d8
the repo version of bin/manage.py
reads in the main function:
snapshot_backend = os.environ.get('SNAPSHOT_BACKEND', 'manta')
if snapshot_backend == 'local':
snaps = Local()
elif snapshot_backend == 'minio':
snaps = Minio()
else:
snaps = Manta()
cp = ContainerPilot()
cp.load()
node = Node(mysql=my, consul=consul, snaps=snaps, cp=cp)
Whereas the one inside the mysql container reads:
my = MySQL()
manta = Manta()
cp = ContainerPilot()
cp.load()
node = Node(mysql=my, consul=consul, manta=manta, cp=cp)
Note the lack of handling for minio. Does the container need to be rebuild on dockerhub?
Looks like percona:5.6
also switched away from apt-get and moved to yum, so the build fails.
Is there any updates to this project to have it working again, or is it now abandoned? I'd love to be able to use this!
I talked with Joyent, the company that started autopilotpattern, and they have dropped the project. I think because the main autopilotpattern dude, tgross, left the company. The containerpilot project is still alive and works well.
I moved out of docker onto a SmartOS zone and am using pxc in a 3 node cluster.
well, darn.
When doing
docker-compose up
, this error shows up in the logsWhen I tried running the tests(
./tests/compose.sh
), they too failed. Here are the logs