You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "RonaldGalea (via GitHub)" <gi...@apache.org> on 2023/09/13 09:36:45 UTC
[GitHub] [airflow] RonaldGalea opened a new issue, #34333: flower page not found when deployed with helm
RonaldGalea opened a new issue, #34333:
URL: https://github.com/apache/airflow/issues/34333
### Apache Airflow version
2.7.1
### What happened
There seems to be some issue with the Flower configuration in the helm chart - deploying with default settings results in errors when trying to access the UI.
### What you think should happen instead
After deployment, the following standard & expected logs are shown:
```
NOTES:
Thank you for installing Apache Airflow 2.7.1!
Your release is named default-airflow.
You can now access your dashboard(s) by executing the following command(s) and visiting the corresponding port at localhost in your browser:
Airflow Webserver: kubectl port-forward svc/default-airflow-webserver 8080:8080 --namespace default-airflow
Flower dashboard: kubectl port-forward svc/default-airflow-flower 5555:5555 --namespace default-airflow
```
Port-forwarding as suggested and navigating to localhost:5555 should lead to a functioning Flower dashboard - instead, the page is broken.
Here is the output of curl `localhost:5555` for reference:
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Flower</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- bootstrap overwritable styles -->
<style type="text/css">
body { padding-top: 60px; }
</style>
<link href="//static/css/bootstrap.css?v=dbfdb7c5956dda8c2e484f709ef4857ba1a2f71716b8b8380a595e43b2b5e344d6adb46e6023118f6925a4695ccc2454ec40a0fd6a954b62b2f5a2051fd6d477" rel="stylesheet">
<link href="//static/css/bootstrap-responsive.css?v=7616f17006dd6e2025ac85191152f35ecd7d54a248ebce322d9a41f41be00347218eb5e7096b5038ba818fed0078fcae81cba76ea6b38cbde6e18d813d998ad7" rel="stylesheet">
<link href="//static/css/jquery-ui.css?v=a15acc4aec6ee5ff13d076ecce0ec242c24b9135d757952078f6a9f91c2d78971e55a9e898e8d9f96221765c21636dcd75a89e6d0720d1af53dc9df73a78e816" rel="stylesheet">
<link href="//static/css/bootstrap-datetimepicker.min.css?v=f3740041b0ed77864240fdaafc12e92891108895bdb2a3e487c9c2f0012843ebd7f136b599ac7b7814fcf7ea90a0dd6c2d01527cf022de039f94d14afbf939d9" rel="stylesheet">
<link href="//static/css/flower.css?v=83ad40a2f39a935ca65825ece67f3016f8d51fa0d37c1ef64e65cdc332922e32afa2703a3c3486bae38b3c85ea25092b92292a9f0fdf5f2592de7a4abf20f4e5" rel="stylesheet">
<link href="//static/css/jquery.dataTables.select.min.css?v=2c54a8bd3a1fde68afce68d9ed5d95414070ac9dc496210ba7cfb5442b4cd93866b3d505d36e831bcc573c22b99a628aba1ad947d52cc026af332df591ff7036" rel="stylesheet">
<link href="//static/css/jquery.dataTables.buttons.min.css?v=d91efa5832464cdaa5d9edede1f777758e9ecbe6f2bfc53475c818f618cdaaa30a84e536963f59d60841494da07444ae6fdeea930e7dea03f5a5ad298a3e1d67" rel="stylesheet">
<link href="//static/css/jquery.dataTables.colReorder.min.css?v=ec53267bcbb54bf9403d679026ce93495544555ea7056664cd665213b0eb7ef6aac8a5e14b2619ca7f577bf3623c6a61b0c1e7bde0e0cb952a0c41046f535c6a" rel="stylesheet">
<link href="//static/css/jquery.dataTables.css?v=bb07df46d5f2979400104df8e40078f5d59bfec302e0a5bc6818572780da06fe136853feec4771b4a223c4fa3437849e17e230c5b29fa9f38904cb79c442c994" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Le fav and touch icons -->
<link rel="shortcut icon" href="//static/favicon.ico?v=56baf069dd4858090681320ef7cf32a51ccb6eaaf9f6285d82f007d1fb256b6fbe57b7e4556f81696941401c5433039ef44835b64ec523b565944fc3b71103a2">
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="//static/img/apple-touch-icon-144-precomposed.png?v=1039a4a20aea3c53681a0e3ddc75b55e081682a0aa7f633d98607c852b9b5e96b3c6e48d4a811ed9a2fb832781ee64cf85e0876b329d7bd3fb6d09122e5c79a6">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="//static/img/apple-touch-icon-114-precomposed.png?v=5c9b4a2ca46e0ce58401fef75a190c584eaa4eb0d97bf0813ff67275b752e8fc0924aca0ad13dece2bc0833fa961af84b6489f83f2b53561220b45bd4b239930">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="//static/img/apple-touch-icon-72-precomposed.png?v=f9270e93066019191e54739eee7abcf6996948c5627767f536740283ff1982d810b07f5679f7dee0c7a735882548213f8d1f650fcfc1b086a471e58d51854109">
<link rel="apple-touch-icon-precomposed" href="//static/img/apple-touch-icon-57-precomposed.png?v=3b62b0181d0f2b00f54e9f0ec8a04b74ef865fe64d6a12ba1d88185a836d6ad34fb319a2bfa301457d3ffdef308b17e531991a444a7e5e1404af3e5ebc905393">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="//">Flower</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li ><a href="//dashboard">Dashboard</a></li>
<li ><a href="//tasks">Tasks</a></li>
<li ><a href="//broker">Broker</a></li>
</ul>
<ul class="nav pull-right">
<li><a href="https://flower.readthedocs.io" target="_blank">Docs</a></li>
<li><a href="https://github.com/mher/flower" target="_blank">Code</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div id="alert" class="alert alert-success hide">
<a class="close" onclick="flower.on_alert_close(event)">×</a>
<p id="alert-message"></p>
</div>
<input type="hidden" value="/" id='url_prefix'>
</div>
<div class="span12">
<p>
Error, page not found
</p>
</div>
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="//static/js/jquery-1.7.2.min.js?v=a684abbe37e8047c55c394366b012cc9ae5d682d29d340bc48a37be1a549aeced72de6408bedfed776a14611e6f3374015b236fbf49422b2982ef18125ff47dc"></script>
<script src="//static/js/jquery-ui-1-8-15.min.js?v=947f1df57c47a338b395e07e3f09b17b7088577ed958bd64e8519a6579cd252d14e60d78f42786164faa2fa51265c0ba9ef517ccee583c9d37603a671dbbf95d"></script>
<script src="//static/js/jquery.dataTables.min.js?v=711af0a75c179e49ffe9e402097f4a78512d6d6b3fe9b82b32aeeb9be6809522fe4636f36ff54d837df0ad75598e696ad64dedd27564aac548cad6220b8224bc"></script>
<script src="//static/js/jquery.dataTables.select.min.js?v=6892d85c041f91a0390907b9dccc5fa78bbca7585e23f0351728a7171229d5bb8b4265ff1b99cb80059d5d1506cdd1643b0e8036f73f49003b5797c10406a8ea"></script>
<script src="//static/js/jquery.dataTables.buttons.min.js?v=db89e263b8cd87b0b665d96e552060202841934a939b39f3c31f4d750a66afc2aa053964d709919975f62efc327c10f5cde28432396c1f86ff28539cb3f597ba"></script>
<script src="//static/js/jquery.dataTables.colReorder.min.js?v=49c43d22161df743c5179ca72936e495b78335087c48b301412c3119c4f444a0b5cbcd878412c48fdaba321aeeb50b3761c76f90e892c0c74e87bc9bd7d56dab"></script>
<script src="//static/js/jquery.dataTables.sorting.natural.js?v=cf23af512e98a5ae575c3d3d861af8822e33e3eb7798a55b694b454f3e668a2d84aeb74cb68cc24a8b90ecfbe0567cb3f73778d694d99a01c452e5af8dc2f126"></script>
<script src="//static/js/bootstrap-transition.js?v=128a1b0e1a8361c957745c2188832fcb91713bb8b60448ab528fdb52db78238958b7982583c2f0957099055fc197e51342ced47d8c0c0436f0be38c31721c239"></script>
<script src="//static/js/bootstrap-alert.js?v=b6d2749dd011708fdb8a6ceeb025910c9ec0d17984bf4eab53eadccb1ad60fa2b7f682d74fff05d6880b3e01e2917597b7bee87aea3cf9fe629635411919fccd"></script>
<script src="//static/js/bootstrap-modal.js?v=0facd4a045f39be91eff381da96d979e9ab227f7c919de7e2be9d05d8437e5cb43a14354ac16c01fbf96c6201bfa99957af587ac5adfc4d4dd6fffb6bde7b8ca"></script>
<script src="//static/js/bootstrap-dropdown.js?v=a317172e8b2019b748312d80028ef25dc0679e528309c9ea148907fe81e3f8205a6dbde10112048cf35930119c56636f41ad95e5dbf049c9f47561c1b497080d"></script>
<script src="//static/js/bootstrap-scrollspy.js?v=18304dda5a7f94ff8a39ec5006b1692de07e1af74e469324baddf43bdf41d627d92eeb026ffab258ee3b8e41afe2f432ea54a72d41558b996f12688b97a5c45e"></script>
<script src="//static/js/bootstrap-tab.js?v=b27eee984581bbb9d13cb8e671d9078ce07f89abd33e18985d701080e27e6d87aa48eda0fe39d7230235d713e9b3eeaf14ca75eedcaf63924110b02acb93ec10"></script>
<script src="//static/js/bootstrap-tooltip.js?v=7fcd3d86102499496712868a0eafead59e6e58977eff3bc3621ce606d61d9522100a4f79e45e00ec884afd573fb5c809cd87c8112ee7f49f395311c2c06a6931"></script>
<script src="//static/js/bootstrap-popover.js?v=f96dfe4e0278bfbe86c2724c0df962443ba85a2046b022193de11ac1d22cba58a720bd30d87cee5b1992338d77e48f8c663c65d67fffe2809051655b1152d306"></script>
<script src="//static/js/bootstrap-button.js?v=d8af7dbfb7638e4094f3df1617d78363226efb35e140a3d768af07cbf0d31a9a49e0194ed4540a4f739b246fc7b8899423ef243412f2decdf6fec1587e01718b"></script>
<script src="//static/js/bootstrap-collapse.js?v=76638efb5323e527131cffa7c145fdc6712a12483ff37d9b7d42c785acbd7efb8f425f897abdd89670fce97110219b93b295609c54a8e1563d1056578ec59802"></script>
<script src="//static/js/bootstrap-carousel.js?v=c5a131748d0c2ae79a78d2983b05c4d5753353c8f76e40cb12ec1c1272a4739d4c79658c493d62fa569023718b0d5de8b35cb4ec30e4769cbcb52a1657777eee"></script>
<script src="//static/js/bootstrap-typeahead.js?v=4e0eed34180702042076ac5dade50bf913d3c718b80cccdc64542e078fbb29d6a690b18473d0226abe995606d2238ae2c6eb85e4912af1a4a06fa7930e9da308"></script>
<script src="//static/js/bootstrap-datetimepicker.min.js?v=3affd8670f52da51050ad85fc27ea3ea96c9cecc795c32f290e2d1d692eba35503b4a601eb6e76a568e99aac0e34f61fa3c9d29a59d652ae647ec76614fdb98c"></script>
<script src="//static/js/moment.min.js?v=cb0cd4062ba1cd6155cb970d926c1f0ffe41f426de7d277abcde8a4e2c7ece1c2ceaa292a03d0bb508010987a1e6dcaa76b6dc4d9fbd633fe6340321cad576f8"></script>
<script src="//static/js/moment-timezone-with-data.min.js?v=4762b13071ca18e6c83105de008e54f6009a43d849e103d14c06535564066d9c7984d95233c631393a3c476c2bd4931c5f031d8e56eccaa18a08348e409f3b4d"></script>
<script src="//static/js/flower.js?v=cf809d98b4aa42b24226d14a9aa1f30545f0fa57b33d2bd302b0dd96f81e9e35d058910dfc46442d317e80f29b8506cbe27aa437258dc4dedef9cc1d5ffcf2f2"></script>
</body>
</html>
```
### How to reproduce
Use the following in values.yaml when deploying the helm chart on a local kind cluster:
```
executor: CeleryExecutor
airflowVersion: "2.7.1"
flower:
enabled: true
config:
core:
executor: "{{ .Values.executor }}"
```
Port forward (or exec in the flower pod) and run `curl localhost:5555`
### Operating System
22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:39:46 PST 2023; root:xnu-8792.81.3~2/RELEASE_ARM64_T6020 arm64
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### 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
[GitHub] [airflow] hussein-awala commented on issue #34333: flower page not found when deployed with helm
Posted by "hussein-awala (via GitHub)" <gi...@apache.org>.
hussein-awala commented on issue #34333:
URL: https://github.com/apache/airflow/issues/34333#issuecomment-1718140236
Could you try `localhost:5555/flower/`?
--
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
[GitHub] [airflow] potiuk commented on issue #34333: flower page not found when deployed with helm
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #34333:
URL: https://github.com/apache/airflow/issues/34333#issuecomment-1719671228
Confirmed. Reproduced it as well.
--
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
[GitHub] [airflow] potiuk commented on issue #34333: flower page not found when deployed with helm
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on issue #34333:
URL: https://github.com/apache/airflow/issues/34333#issuecomment-1720173977
Thanks @SamWheating ! Indeed fixed in main:
<img width="2051" alt="Screenshot 2023-09-14 at 23 25 12" src="https://github.com/apache/airflow/assets/595491/eca165fe-daa2-490d-ab5b-cdb683cba28e">
--
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
[GitHub] [airflow] potiuk closed issue #34333: flower page not found when deployed with helm
Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #34333: flower page not found when deployed with helm
URL: https://github.com/apache/airflow/issues/34333
--
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
[GitHub] [airflow] RonaldGalea commented on issue #34333: flower page not found when deployed with helm
Posted by "RonaldGalea (via GitHub)" <gi...@apache.org>.
RonaldGalea commented on issue #34333:
URL: https://github.com/apache/airflow/issues/34333#issuecomment-1718851851
> Could you try `localhost:5555/flower/`?
Same issue unfortunately
--
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
[GitHub] [airflow] SamWheating commented on issue #34333: flower page not found when deployed with helm
Posted by "SamWheating (via GitHub)" <gi...@apache.org>.
SamWheating commented on issue #34333:
URL: https://github.com/apache/airflow/issues/34333#issuecomment-1719926826
I think that this was fixed by https://github.com/apache/airflow/pull/33134? I was able to replicate on the latest chart release, but not on `main`.
--
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