-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New spilo from the most recent master crashes #384
Comments
Please define "crashes" and provide some evidence, i.e. logs |
From docker Warning FailedScheduling 4m19s (x6 over 4m30s) default-scheduler pod has unbound immediate PersistentVolumeClaims (repeated 3 times) |
What is in pod logs? |
No logs in the pods. It crashes from the beggining and doesn't have any logs. |
|
All I did is:
|
Well, if you use COMPRESS, you also have to decompress: https://github.com/zalando/spilo/blob/master/postgres-appliance/launch.sh#L4-L7 |
OK, will not use compress. |
docker run executes launch.sh, and it is already strange that you get the shell. |
$ docker run --rm -ti registry.opensource.zalan.do/acid/spilo-cdp-11:1.6-p96
Unable to find image 'registry.opensource.zalan.do/acid/spilo-cdp-11:1.6-p96' locally
1.6-p96: Pulling from acid/spilo-cdp-11
e03cf5b1164f: Pull complete
f00f4f04b803: Pull complete
4b5e21f94914: Pull complete
be6f8e16173c: Pull complete
28240a8321f0: Pull complete
175e06471d49: Pull complete
118621e2ed9d: Pull complete
101baf41bc80: Pull complete
Digest: sha256:7ccae2edfa11c06cd4e0d8814e2a0ff4de5d6dfb761fed672e452a61ed946825
Status: Downloaded newer image for registry.opensource.zalan.do/acid/spilo-cdp-11:1.6-p96
decompressing spilo image...
2019-11-26 19:03:47,550 - bootstrapping - INFO - Figuring out my environment (Google? AWS? Openstack? Local?)
2019-11-26 19:03:49,554 - bootstrapping - INFO - Could not connect to 169.254.169.254, assuming local Docker setup
2019-11-26 19:03:49,555 - bootstrapping - INFO - No meta-data available for this provider
2019-11-26 19:03:49,555 - bootstrapping - INFO - Looks like your running local
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring bootstrap
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring standby-cluster
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring patronictl
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring pam-oauth2
2019-11-26 19:03:49,587 - bootstrapping - INFO - No PAM_OAUTH2 configuration was specified, skipping
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring pgbouncer
2019-11-26 19:03:49,587 - bootstrapping - INFO - No PGBOUNCER_CONFIGURATION was specified, skipping
2019-11-26 19:03:49,587 - bootstrapping - INFO - Configuring renice
2019-11-26 19:03:49,595 - bootstrapping - INFO - Skipping creation of renice cron job due to lack of permissions
2019-11-26 19:03:49,595 - bootstrapping - INFO - Configuring patroni
2019-11-26 19:03:49,606 - bootstrapping - INFO - Writing to file /home/postgres/postgres.yml
2019-11-26 19:03:49,606 - bootstrapping - INFO - Configuring wal-e
2019-11-26 19:03:49,606 - bootstrapping - INFO - Configuring crontab
2019-11-26 19:03:49,615 - bootstrapping - INFO - Configuring certificate
2019-11-26 19:03:49,615 - bootstrapping - INFO - Generating ssl certificate
2019-11-26 19:03:49,767 - bootstrapping - INFO - Configuring log
2019-11-26 19:03:49,767 - bootstrapping - INFO - Configuring pgqd $ docker exec -ti vibrant_mahavira bash
____ _ _
/ ___| _ __ (_) | ___
\___ \| '_ \| | |/ _ \
___) | |_) | | | (_) |
|____/| .__/|_|_|\___/
|_|
This container is managed by runit, when stopping/starting services use sv
Examples:
sv stop cron
sv restart patroni
Current status: (sv status /etc/service/*)
run: /etc/service/cron: (pid 39) 213s
run: /etc/service/etcd: (pid 40) 213s
run: /etc/service/patroni: (pid 37) 213s
run: /etc/service/pgqd: (pid 36) 213s
root@a56dcbb86742:/home/postgres# cat /scm-source.json
{
"url": "git:https://github.com/zalando/spilo.git",
"revision": "b75771ec85bcb3425d39d25f6b4e6cb99bf04f19",
"author": "Alexander Kukushkin <cyberdemn@gmail.com>",
"status": ""
} ``` |
docker.txt |
Getting this error while building the image: You are in 'detached HEAD' state. You can look around, make experimental If you want to create a new branch to retain commits you create, you may git checkout -b Submodule 'jsmn' (git://github.com/zserge/jsmn.git) registered for path 'jsmn' fatal: clone of 'git://github.com/zserge/jsmn.git' into submodule path '/builddeps/pam-oauth2/jsmn' failed fatal: clone of 'git://github.com/zserge/jsmn.git' into submodule path '/builddeps/pam-oauth2/jsmn' failed |
I inspected the image I created and I notice the CMD is like this:
` |
I couldn't build it due to firewall issues. Closing the case. |
I see the build error is caused by use of old-style Git protocol instead of HTTPS and had the same. Fixable by an Ugh. Next failure:
(Why is the build depending on a random Russian site anyway without any version pin? This is very bad dependency management and also because the use of insecure Git protocol may include malicious software in builds too.) Fixed that one with PR #412. With those two changes, I was able to build the Spilo image. |
To overcome corporate/enterprise firewall issues on build time of Spilo. Fixes zalando/spilo#384
I just cloned the repo and build the image . When I use it in the postgres-operator, it crashes. Am I missing something?
The text was updated successfully, but these errors were encountered: