[AIBD-1] Running latest version of Airship in a bottle gives error Created: 29/Jan/19  Updated: 23/May/19

Status: To Do
Project: Airship in a Bottle Deploy
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Highest
Reporter: Sukhdev Kapur Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Apparently, the postgress directory is not getting created correctly. Can somebody more familiar with the subject provide some help/guidance. 

Here is the logs showing the error: 

root@b1s11-node1:~# docker logs 2ed94c962009

+ exec /docker-entrypoint.sh postgres -N 100 -B 128MB

The files belonging to this database system will be owned by user "postgres".

This user must also own the server process.

 ** 

The database cluster will be initialized with locale "en_US.utf8".

The default database encoding has accordingly been set to "UTF8".

The default text search configuration will be set to "english".

 ** 

Data page checksums are disabled.

 ** 

fixing permissions on existing directory /var/lib/postgresql/data ... ok

creating subdirectories ... ok

selecting default max_connections ... 100

selecting default shared_buffers ... 64MB

selecting dynamic shared memory implementation ... posix

creating configuration files ... ok

FATAL:  could not read directory "pg_notify": Unknown error 523

child process exited with exit code 1

initdb: removing contents of data directory "/var/lib/postgresql/data"

creating template1 database in /var/lib/postgresql/data/base/1 ... root@b1s11-node1:~# 



 Comments   
Comment by Ruijing Guo [ 23/May/19 ]

I also hit this issue as:

postgresql-0 0/1 CrashLoopBackOff 3 1m

 

kubectl logs -n ucp postgresql-0

creating configuration files ... ok
FATAL: could not read directory "pg_notify": Unknown error 523
child process exited with exit code 1
initdb: removing contents of data directory "/var/lib/postgresql/data"
creating template1 database in /var/lib/postgresql/data/base/1 ... root@n0:/home/vagrant#

 

Comment by Michael Hunter [ 05/Feb/19 ]

We are working the issue actively...please stand by.

Generated at Sat Feb 10 05:52:10 UTC 2024 using Jira 9.4.5#940005-sha1:e3094934eac4fd8653cf39da58f39364fb9cc7c1.