You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "kapuza (via GitHub)" <gi...@apache.org> on 2023/12/25 09:55:17 UTC
[I] Not generate webserver_config.py after airflow config list in fresh install [airflow]
kapuza opened a new issue, #36415:
URL: https://github.com/apache/airflow/issues/36415
### Apache Airflow version
2.8.0
### If "Other Airflow 2 version" selected, which one?
_No response_
### What happened?
Install new airflow 2.8.0:
```bash
pip install -U pip; \
PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"; \
AIRFLOW_VERSION='2.7.1'; \
pip install wheel; \
pip install psycopg2-binary; \
pip install virtualenv; \
pip install "apache-airflow[postgres]==${AIRFLOW_VERSION}" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt";
```
Create configs:
```bash
airflow config list
```
Check (no webserver_config.py):
```bash
(.venv) airflow@af-280:~$ ls -lah ~/airflow/
total 92K
drwxrwxr-x 3 airflow airflow 4,0K Dec 25 12:40 .
drwxr-x--- 8 airflow airflow 4,0K Dec 25 12:40 ..
-rw------- 1 airflow airflow 79K Dec 25 12:40 airflow.cfg
drwxrwxr-x 3 airflow airflow 4,0K Dec 25 12:40 logs
```
webserver_config.py do not exist.
Where setup ldap auth?
### What you think should happen instead?
I don't know
### How to reproduce
```bash
cd
virtualenv .venv
. .venv/bin/activate
pip install -U pip; \
PYTHON_VERSION="$(python --version | cut -d " " -f 2 | cut -d "." -f 1-2)"; \
AIRFLOW_VERSION='2.8.0'; \
pip install wheel; \
pip install psycopg2-binary; \
pip install virtualenv; \
pip install "apache-airflow[celery,redis,postgres]==${AIRFLOW_VERSION}" --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-${AIRFLOW_VERSION}/constraints-${PYTHON_VERSION}.txt";
airflow config list
# File not found
find ~ -type f -name 'webserver_config.py'
# Check airflow.cfg - exist
find ~ -type f -name 'airflow.cfg'
```
### Operating System
Ubuntu 22.04.3 LTS
### Versions of Apache Airflow Providers
apache-airflow==2.8.0
apache-airflow-providers-celery==3.5.0
apache-airflow-providers-common-sql==1.9.0
apache-airflow-providers-ftp==3.7.0
apache-airflow-providers-http==4.8.0
apache-airflow-providers-imap==3.5.0
apache-airflow-providers-postgres==5.9.0
apache-airflow-providers-redis==3.5.0
apache-airflow-providers-sqlite==3.6.0
### Deployment
Virtualenv installation
### Deployment details
_No response_
### Anything else?
_No response_
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Not generate webserver_config.py after airflow config list in fresh install (My mistake, please close) [airflow]
Posted by "Taragolis (via GitHub)" <gi...@apache.org>.
Taragolis closed issue #36415: Not generate webserver_config.py after airflow config list in fresh install (My mistake, please close)
URL: https://github.com/apache/airflow/issues/36415
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Not generate webserver_config.py after airflow config list in fresh install [airflow]
Posted by "kapuza (via GitHub)" <gi...@apache.org>.
kapuza commented on issue #36415:
URL: https://github.com/apache/airflow/issues/36415#issuecomment-1869564452
close
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Not generate webserver_config.py after airflow config list in fresh install [airflow]
Posted by "kapuza (via GitHub)" <gi...@apache.org>.
kapuza commented on issue #36415:
URL: https://github.com/apache/airflow/issues/36415#issuecomment-1869563305
My mistake. webserver_config.py creating after first start, not after config list.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org