[
https://issues.apache.org/jira/browse/AIRFLOW-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875795#comment-16875795
]
ASF GitHub Bot commented on AIRFLOW-4868:
-----------------------------------------
rodriguez-facundo commented on pull request #5505: [AIRFLOW-4868] Fix typo in
kubernetes/docker/build.sh
URL: https://github.com/apache/airflow/pull/5505
Make sure you have checked _all_ steps below.
### Jira
- [ ] My PR addresses the following [Airflow
Jira](https://issues.apache.org/jira/browse/AIRFLOW/) issues and references
them in the PR title. For example, "\[AIRFLOW-XXX\] My Airflow PR"
- https://issues.apache.org/jira/browse/AIRFLOW-4868
### Description
- [ ] Here are some details about my PR, including screenshots of any UI
changes:
The problem comes when trying to use airflow in k8s. The typo is preventing
dist folder to be copy to www/static (see screenshots attached to issue). After
removing the typo, airflow worked find
### Tests
- [ ] My PR does not need testing for this extremely good reason:
Current tests are ok for this fix.
### Commits
- [ ] My commits all reference Jira issues in their subject lines, and I
have squashed multiple commits if they address the same issue. In addition, my
commits follow the guidelines from "[How to write a good git commit
message](http://chris.beams.io/posts/git-commit/)":
1. Subject is separated from body by a blank line
1. Subject is limited to 50 characters (not including Jira issue reference)
1. Subject does not end with a period
1. Subject uses the imperative mood ("add", not "adding")
1. Body wraps at 72 characters
1. Body explains "what" and "why", not "how"
### Code Quality
- [ ] Passes `flake8`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
> Unable to make example work > 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
> Priority: Minor
> 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)