Skip to content
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

Openebs.ci postgresql pod went crashloop backoff #255

Open
bhaskarhc opened this issue Dec 30, 2019 · 0 comments
Open

Openebs.ci postgresql pod went crashloop backoff #255

bhaskarhc opened this issue Dec 30, 2019 · 0 comments
Assignees

Comments

@bhaskarhc
Copy link
Contributor

bhaskarhc commented Dec 30, 2019

What happened:

Some times postgresql pod went crashloopbackoff .

Platform :
GCP

logs of postgresql pod :

Working on primary...
+ case "$PG_MODE" in
+ echo 'Working on primary...'
+ initialize_primary
+ echo initialize_primary
initialize_primary
+ '[' '!' -f /pgdata/postgresql-0/postgresql.conf ']'
+ '[' -f /pgconf/postgresql.conf ']'
+ date
+ postgres -D /pgdata/postgresql-0
Mon Dec 30 07:10:50 UTC 2019
+ [[ -v PGAUDIT_ANALYZE ]]
+ wait
2019-12-30 02:10:50 EST [40]: [1-1] user=,db=,app=,client=FATAL:  could not remove old lock file "postmaster.pid": Read-only file system
2019-12-30 02:10:50 EST [40]: [2-1] user=,db=,app=,client=HINT:  The file seems accidentally left over, but it could not be removed. Please remove the file by hand and try again.
Exiting...at end
+ echo 'Exiting...at end

cstor pool pod also went to crashloopbackoff state in openebs namespace

logs :

W1230 07:13:17.948706       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:20.952801       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:23.956290       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:26.959823       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:29.963835       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:32.967654       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:35.971751       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:38.974637       1 pool.go:54] Failed to get zpool status, error: exit status 1, pool container may be initializing,  retry after 2s
W1230 07:13:40.978918       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:43.982456       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:46.986487       1 pool.go:60] No pool available, pool must be creating, retry after 3s
W1230 07:13:49.990016       1 pool.go:60] No pool available, pool must be creating, retry after 3s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants