You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Facundo Luis Rodriguez (JIRA)" <ji...@apache.org> on 2019/06/29 18:19:00 UTC

[jira] [Created] (AIRFLOW-4868) Unable to Airflow on Kubernetes (Part 1): A Different Kind of Operator

Facundo Luis Rodriguez created AIRFLOW-4868:
-----------------------------------------------

             Summary: Unable to Airflow on Kubernetes (Part 1): A Different Kind of Operator 
                 Key: AIRFLOW-4868
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4868
             Project: Apache Airflow
          Issue Type: Bug
          Components: webserver
    Affects Versions: 1.10.3
         Environment: macos Mojave 10.14.5
minikube 1.2.0

From webserver > about:
Version : 2.0.0.dev0
Git Version : Not Available
            Reporter: Facundo Luis Rodriguez
            Assignee: Daniel Imberman
         Attachments: Screenshot 2019-06-29 at 1.26.42 PM.png, Screenshot 2019-06-29 at 1.27.21 PM.png, Screenshot 2019-06-29 at 1.28.14 PM.png, airflow-pod.log, build.log, deploy.log, posgres-pod.log

Following [https://kubernetes.io/blog/2018/06/28/airflow-on-kubernetes-part-1-a-different-kind-of-operator/] gives the attached issues.
 * minikubes.
 * ./scripts/ci/kubernetes/kube/deploy.sh -d persistent_mode.
 * login with: airflow airflow.
 * All the rest was done following link instructions.

Tried the following but didn't work:

Running:
 * airflow initdb 

{code:java}
root@airflow-6c7c9db768-ttbj9:/# airflow initdb 
/usr/local/lib/python3.6/site-packages/airflow/models/dagbag.py:21: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp 
[2019-06-29 18:04:42,510] {settings.py:173} INFO - settings.configure_orm(): Using pool settings. pool_size=5, max_overflow=10, pool_recycle=1800, pid=461 
[2019-06-29 18:04:43,002] {__init__.py:51} INFO - Using executor KubernetesExecutor DB: postgresql+psycopg2://root:***@postgres-airflow:5432/airflow 
[2019-06-29 18:04:43,393] {db.py:320} INFO - Creating tables INFO [alembic.runtime.migration] Context impl PostgresqlImpl. INFO [alembic.runtime.migration] Will assume transactional DDL. WARNI [airflow.utils.log.logging_mixin.LoggingMixin] empty cryptography key - values will not be stored encrypted. Done. 
root@airflow-6c7c9db768-ttbj9:/#{code}
Configuring:
 * [webserver] rbac = True

same error

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)