tim-cts commented on issue #16176:
URL: https://github.com/apache/airflow/issues/16176#issuecomment-1257240545

   Hi, I'm also having this issue.
   
   Cloud provider or hardware configuration: Running kind locally
   OS (e.g. from /etc/os-release): macOS
   Kernel (e.g. uname -a): Darwin Tims-MBP.lan 21.6.0 Darwin Kernel Version 
21.6.0: Wed Aug 10 14:28:35 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T8101 
arm64
   Install tools: brew
   Others:
   
   
   The commands I run are:
   ```helm repo add apache-airflow https://airflow.apache.org
   helm repo update
   helm search repo airflow
   helm install airflow apache-airflow/airflow --namespace airflow --debug -f 
values.yaml --timeout 20m0s```
   
   Console output is as follows:
   ```Creating cluster "airflow-cluster" ...
    ✓ Ensuring node image (kindest/node:v1.25.0) 🖼
    ✓ Preparing nodes 📦 📦 📦 📦  
    ✓ Writing configuration 📜 
    ✓ Starting control-plane 🕹️ 
    ✓ Installing CNI 🔌 
    ✓ Installing StorageClass 💾 
    ✓ Joining worker nodes 🚜 ^[[A
   Set kubectl context to "kind-airflow-cluster"
   You can now use your cluster with:
   
   kubectl cluster-info --context kind-airflow-cluster
   
   Have a nice day! 👋
   namespace/airflow created
   secret/my-webserver-secret created
   persistentvolume/airflow-dags created
   persistentvolumeclaim/airflow-dags created
   persistentvolume/credentials created
   persistentvolumeclaim/airflow-dags unchanged
   "apache-airflow" already exists with the same configuration, skipping
   Hang tight while we grab the latest from your chart repositories...
   ...Successfully got an update from the "apache-airflow" chart repository
   Update Complete. ⎈Happy Helming!⎈
   NAME                    CHART VERSION   APP VERSION     DESCRIPTION          
                             
   apache-airflow/airflow  1.6.0           2.3.0           The official Helm 
chart to deploy Apache Airflo...
   install.go:178: [debug] Original chart version: ""
   install.go:195: [debug] CHART PATH: 
/Users/timellis-smith/Library/Caches/helm/repository/airflow-1.6.0.tgz
   
   client.go:310: [debug] Starting delete for "airflow-broker-url" Secret
   client.go:339: [debug] secrets "airflow-broker-url" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:310: [debug] Starting delete for "airflow-fernet-key" Secret
   client.go:339: [debug] secrets "airflow-fernet-key" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:310: [debug] Starting delete for "airflow-redis-password" Secret
   client.go:339: [debug] secrets "airflow-redis-password" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:128: [debug] creating 32 resource(s)
   client.go:310: [debug] Starting delete for "airflow-run-airflow-migrations" 
Job
   client.go:339: [debug] jobs.batch "airflow-run-airflow-migrations" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:540: [debug] Watching for changes to Job 
airflow-run-airflow-migrations with timeout of 20m0s
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
ADDED
   client.go:607: [debug] airflow-run-airflow-migrations: Jobs active: 0, jobs 
failed: 0, jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
MODIFIED
   client.go:607: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs 
failed: 0, jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
MODIFIED
   client.go:607: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs 
failed: 0, jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
MODIFIED
   client.go:607: [debug] airflow-run-airflow-migrations: Jobs active: 1, jobs 
failed: 0, jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
MODIFIED
   client.go:607: [debug] airflow-run-airflow-migrations: Jobs active: 0, jobs 
failed: 0, jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-run-airflow-migrations: 
MODIFIED
   client.go:310: [debug] Starting delete for "airflow-create-user" Job
   client.go:339: [debug] jobs.batch "airflow-create-user" not found
   client.go:128: [debug] creating 1 resource(s)
   client.go:540: [debug] Watching for changes to Job airflow-create-user with 
timeout of 20m0s
   client.go:568: [debug] Add/Modify event for airflow-create-user: ADDED
   client.go:607: [debug] airflow-create-user: Jobs active: 0, jobs failed: 0, 
jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-create-user: MODIFIED
   client.go:607: [debug] airflow-create-user: Jobs active: 1, jobs failed: 0, 
jobs succeeded: 0
   client.go:568: [debug] Add/Modify event for airflow-create-user: MODIFIED
   client.go:607: [debug] airflow-create-user: Jobs active: 1, jobs failed: 0, 
jobs succeeded: 0```
   
   Output from Postgres node:
   ```kubectl --namespace airflow logs -f airflow-postgresql-0 
   postgresql 17:22:24.54 
   postgresql 17:22:24.58 Welcome to the Bitnami postgresql container
   postgresql 17:22:24.62 Subscribe to project updates by watching 
https://github.com/bitnami/bitnami-docker-postgresql
   postgresql 17:22:24.65 Submit issues and feature requests at 
https://github.com/bitnami/bitnami-docker-postgresql/issues
   postgresql 17:22:24.69 
   postgresql 17:22:24.99 INFO  ==> ** Starting PostgreSQL setup **
   postgresql 17:22:25.19 INFO  ==> Validating settings in POSTGRESQL_* env 
vars..
   postgresql 17:22:25.28 INFO  ==> Loading custom pre-init scripts...
   postgresql 17:22:25.35 INFO  ==> Initializing PostgreSQL database...
   postgresql 17:22:25.68 INFO  ==> pg_hba.conf file not detected. Generating 
it...
   postgresql 17:22:25.71 INFO  ==> Generating local authentication 
configuration
   postgresql 17:22:32.23 INFO  ==> Starting PostgreSQL in background...
   postgresql 17:22:33.11 INFO  ==> Changing password of postgres
   postgresql 17:22:33.47 INFO  ==> Configuring replication parameters
   postgresql 17:22:33.99 INFO  ==> Configuring fsync
   postgresql 17:22:34.87 INFO  ==> Loading custom scripts...
   postgresql 17:22:35.00 INFO  ==> Enabling remote connections
   postgresql 17:22:35.24 INFO  ==> Stopping PostgreSQL...
   waiting for server to shut down.... done
   server stopped
   postgresql 17:22:35.56 INFO  ==> ** PostgreSQL setup finished! **
   
   postgresql 17:22:35.79 INFO  ==> ** Starting PostgreSQL **
   2022-09-25 17:22:35.928 GMT [1] LOG:  pgaudit extension initialized
   2022-09-25 17:22:35.933 GMT [1] LOG:  listening on IPv4 address "0.0.0.0", 
port 5432
   2022-09-25 17:22:35.933 GMT [1] LOG:  listening on IPv6 address "::", port 
5432
   2022-09-25 17:22:35.936 GMT [1] LOG:  listening on Unix socket 
"/tmp/.s.PGSQL.5432"
   2022-09-25 17:22:36.022 GMT [374] LOG:  database system was shut down at 
2022-09-25 17:22:35 GMT
   2022-09-25 17:22:36.047 GMT [1] LOG:  database system is ready to accept 
connections
   2022-09-25 17:22:43.858 GMT [398] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:22:43.858 GMT [398] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:22:43.455830+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-webserver-774654c96b-frrrl", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') 
RETURNING log.id
   2022-09-25 17:22:45.490 GMT [400] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:22:45.490 GMT [400] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:22:45.282582+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-flower-55cd855888-4lvrs", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') 
RETURNING log.id
   2022-09-25 17:22:55.547 GMT [412] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:22:55.547 GMT [412] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:22:55.240870+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-run-airflow-migrations-4hxb8", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') 
RETURNING log.id
   2022-09-25 17:23:33.256 GMT [478] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:23:33.256 GMT [478] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:23:32.729608+00:00'::timestamptz, NULL, NULL, 'cli_upgradedb', 
NULL, 'airflow', '{"host_name": "airflow-run-airflow-migrations-4hxb8", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', 
''upgrade'']"}') RETURNING log.id
   2022-09-25 17:23:36.040 GMT [478] ERROR:  relation "connection" does not 
exist at character 55
   2022-09-25 17:23:36.040 GMT [478] STATEMENT:  SELECT connection.conn_id AS 
connection_conn_id 
           FROM connection GROUP BY connection.conn_id 
           HAVING count(*) > 1
   2022-09-25 17:23:36.061 GMT [478] ERROR:  relation "connection" does not 
exist at character 55
   2022-09-25 17:23:36.061 GMT [478] STATEMENT:  SELECT connection.conn_id AS 
connection_conn_id 
           FROM connection 
           WHERE connection.conn_type IS NULL
   2022-09-25 17:23:50.332 GMT [525] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:23:50.332 GMT [525] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:23:50.073756+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-worker-0", "full_command": 
"[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') RETURNING log.id
   2022-09-25 17:23:50.774 GMT [527] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:23:50.774 GMT [527] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:23:50.396988+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-scheduler-548c4cc98d-fqbl2", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') 
RETURNING log.id
   2022-09-25 17:23:51.356 GMT [529] ERROR:  relation "log" does not exist at 
character 13
   2022-09-25 17:23:51.356 GMT [529] STATEMENT:  INSERT INTO log (dttm, dag_id, 
task_id, event, execution_date, owner, extra) VALUES 
('2022-09-25T17:23:50.944467+00:00'::timestamptz, NULL, NULL, 'cli_check', 
NULL, 'airflow', '{"host_name": "airflow-triggerer-6c74768dd8-xdlx2", 
"full_command": "[''/home/airflow/.local/bin/airflow'', ''db'', ''check'']"}') 
RETURNING log.id
   2022-09-25 17:26:09.600 GMT [783] WARNING:  you don't own a lock of type 
ExclusiveLock```
   
   Hope this helps.
   Thanks,
   Tim


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to