Kubernetes EKS Gitlab Database issues –

Error

ubuntu@ip-172-31-16-250:~/rajesh$ kubectl logs gitlab-postgresql-0
Defaulted container "gitlab-postgresql" out of: gitlab-postgresql, metrics
postgresql 00:13:21.83
postgresql 00:13:21.83 Welcome to the Bitnami postgresql container
postgresql 00:13:21.84 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 00:13:21.84 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 00:13:21.85
postgresql 00:13:21.87 INFO  ==> ** Starting PostgreSQL setup **
postgresql 00:13:21.91 INFO  ==> Validating settings in POSTGRESQL_* env vars..
postgresql 00:13:21.92 INFO  ==> Loading custom pre-init scripts...
postgresql 00:13:21.93 INFO  ==> Loading user's custom files from /docker-entrypoint-preinitdb.d ...
postgresql 00:13:21.94 INFO  ==> Initializing PostgreSQL database...
postgresql 00:13:21.96 INFO  ==> pg_hba.conf file not detected. Generating it...
postgresql 00:13:21.97 INFO  ==> Generating local authentication configuration
postgresql 00:13:23.46 INFO  ==> Starting PostgreSQL in background...
postgresql 00:13:23.70 INFO  ==> Changing password of postgres
postgresql 00:13:23.71 INFO  ==> Creating user gitlab
postgresql 00:13:23.73 INFO  ==> Granting access to "gitlab" to the database "gitlabhq_production"
postgresql 00:13:23.76 INFO  ==> Setting ownership for the 'public' schema database "gitlabhq_production" to "gitlab"
postgresql 00:13:23.79 INFO  ==> Configuring replication parameters
postgresql 00:13:23.84 INFO  ==> Configuring fsync
postgresql 00:13:23.88 INFO  ==> Loading custom scripts...
postgresql 00:13:23.89 INFO  ==> Loading user's custom files from /docker-entrypoint-initdb.d ...
postgresql 00:13:23.89 INFO  ==> Starting PostgreSQL in background...
CREATE EXTENSION
postgresql 00:13:24.07 INFO  ==> Enabling remote connections
postgresql 00:13:24.09 INFO  ==> Stopping PostgreSQL...
waiting for server to shut down.... done
server stopped
postgresql 00:13:24.21 INFO  ==> ** PostgreSQL setup finished! **

postgresql 00:13:24.26 INFO  ==> ** Starting PostgreSQL **
2023-02-13 00:13:24.294 GMT [1] LOG:  pgaudit extension initialized
2023-02-13 00:13:24.294 GMT [1] LOG:  starting PostgreSQL 12.7 on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit
2023-02-13 00:13:24.295 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
2023-02-13 00:13:24.295 GMT [1] LOG:  listening on IPv6 address "::", port 5432
2023-02-13 00:13:24.301 GMT [1] LOG:  listening on Unix socket "/tmp/.s.PGSQL.5432"
2023-02-13 00:13:24.328 GMT [171] LOG:  database system was shut down at 2023-02-13 00:13:24 GMT
2023-02-13 00:13:24.341 GMT [1] LOG:  database system is ready to accept connections
2023-02-13 00:13:41.037 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.037 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'audit_events')) LIMIT 1
2023-02-13 00:13:41.039 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.039 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'web_hook_logs')) LIMIT 1
2023-02-13 00:13:41.042 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.042 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'loose_foreign_keys_deleted_records')) LIMIT 1
2023-02-13 00:13:41.044 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.044 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'batched_background_migration_job_transition_logs')) LIMIT 1
2023-02-13 00:13:41.046 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.046 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'incident_management_pending_alert_escalations')) LIMIT 1
2023-02-13 00:13:41.048 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.048 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'incident_management_pending_issue_escalations')) LIMIT 1
2023-02-13 00:13:41.050 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.050 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'security_findings')) LIMIT 1
2023-02-13 00:13:41.051 GMT [214] ERROR:  relation "postgres_partitioned_tables" does not exist at character 85
2023-02-13 00:13:41.051 GMT [214] STATEMENT:  /*application:web,db_config_name:main*/ SELECT "postgres_partitioned_tables".* FROM "postgres_partitioned_tables" WHERE (identifier = concat(current_schema(), '.', 'verification_codes')) LIMIT 1
2023-02-13 00:14:14.950 GMT [284] ERROR:  duplicate key value violates unique constraint "index_shards_on_name"
2023-02-13 00:14:14.950 GMT [284] DETAIL:  Key (name)=(default) already exists.
2023-02-13 00:14:14.950 GMT [284] STATEMENT:  /*application:web,db_config_name:main*/ INSERT INTO "shards" ("name") VALUES ('default') RETURNING "id"
0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x