You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/05 18:04:06 UTC

[GitHub] [airflow] nie3e opened a new issue #10189: Changing timezone in webserwer UI

nie3e opened a new issue #10189:
URL: https://github.com/apache/airflow/issues/10189


   **Apache Airflow version**: 1.10.11
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**: 
   
   - **Cloud provider or hardware configuration**:
   - **OS** (e.g. from /etc/os-release):
   PRETTY_NAME="Debian GNU/Linux 10 (buster)"
   NAME="Debian GNU/Linux"
   VERSION_ID="10"
   VERSION="10 (buster)"
   VERSION_CODENAME=buster
   ID=debian
   HOME_URL="https://www.debian.org/"
   SUPPORT_URL="https://www.debian.org/support"
   BUG_REPORT_URL="https://bugs.debian.org/"
   - **Kernel** (e.g. `uname -a`): Linux raspberrypi 5.4.42-v8+ #1319 SMP PREEMPT Wed May 20 14:18:56 BST 2020 aarch64 GNU/Linux
   - **Install tools**: pip3
   - **Others**:
   
   **What happened**:
   
   I can't change timezone in webserver UI. When i press on the time (top right corner) it just have me javascript alert with my host ip and host name. Changing timezone in config - airflow.cfg - also doesn't work. It still show time in UTC. I've seen some screens on the internet that there should be and arrow and dropdown list after clicking it (near time in UI) but clearly i don't have it.
   
   **What you expected to happen**:
   Successfully change timezone in webserver UI.
   <!-- What do you think went wrong? -->
   
   **How to reproduce it**:
   In my case, just start webserver:
   airflow webserver -p 8080
   <!---
   
   As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags.
   
   If you are using kubernetes, please attempt to recreate the issue using minikube or kind.
   
   ## Install minikube/kind
   
   - Minikube https://minikube.sigs.k8s.io/docs/start/
   - Kind https://kind.sigs.k8s.io/docs/user/quick-start/
   
   If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action
   
   You can include images using the .md sytle of
   ![alt text](http://url/to/img.png)
   
   To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file.
   
   --->
   
   
   **Anything else we need to know**:
   
   <!--
   
   How often does this problem occur? Once? Every time etc?
   
   Any relevant logs to include? Put them here in side a detail tag:
   <details><summary>x.log</summary> lots of stuff </details>
   
   -->
   ![image](https://user-images.githubusercontent.com/69011980/89447644-9aa6bf80-d756-11ea-997d-4bf25732b553.png)
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] mik-laj commented on issue #10189: Changing timezone in webserwer UI

Posted by GitBox <gi...@apache.org>.
mik-laj commented on issue #10189:
URL: https://github.com/apache/airflow/issues/10189#issuecomment-669350838


   Dp you have RBAC UI enabled? You should have the following values in airflow.cfg to use RBAC.
   ```
   [webserver]
   rbac = true
   ```
   Here is the migration guide: https://github.com/apache/airflow/blob/master/UPDATING.md#drop-legacy-ui-in-favor-of-fab-rbac-ui


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] nie3e closed issue #10189: Changing timezone in webserwer UI

Posted by GitBox <gi...@apache.org>.
nie3e closed issue #10189:
URL: https://github.com/apache/airflow/issues/10189


   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] nie3e commented on issue #10189: Changing timezone in webserwer UI

Posted by GitBox <gi...@apache.org>.
nie3e commented on issue #10189:
URL: https://github.com/apache/airflow/issues/10189#issuecomment-669356974


   > Dp you have RBAC UI enabled? You should have the following values in airflow.cfg to use RBAC.
   > 
   > ```
   > [webserver]
   > rbac = true
   > ```
   > 
   > Here is the migration guide: https://github.com/apache/airflow/blob/master/UPDATING.md#drop-legacy-ui-in-favor-of-fab-rbac-ui
   
   Thanks a lot! That solved my problem!


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #10189: Changing timezone in webserwer UI

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #10189:
URL: https://github.com/apache/airflow/issues/10189#issuecomment-669346671


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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:
users@infra.apache.org