*** priteau has joined #openstack-horizon | 00:03 | |
*** priteau has quit IRC | 00:03 | |
*** itlinux has joined #openstack-horizon | 00:07 | |
*** zhurong has joined #openstack-horizon | 00:21 | |
*** gyee has quit IRC | 00:33 | |
*** cshen has joined #openstack-horizon | 00:40 | |
*** yamamoto has joined #openstack-horizon | 00:43 | |
*** cshen has quit IRC | 00:45 | |
*** dave-mccowan has joined #openstack-horizon | 00:47 | |
*** yamamoto has quit IRC | 00:48 | |
*** felipemonteiro__ has joined #openstack-horizon | 00:50 | |
*** germs has quit IRC | 00:51 | |
*** germs has joined #openstack-horizon | 00:52 | |
*** germs has quit IRC | 00:52 | |
*** germs has joined #openstack-horizon | 00:52 | |
*** germs has quit IRC | 00:56 | |
*** YaoL has joined #openstack-horizon | 01:01 | |
*** shu-mutow-AWAY is now known as shu-mutow | 01:02 | |
*** harlowja has quit IRC | 01:14 | |
*** tsmith2 has quit IRC | 01:22 | |
*** tsmith2 has joined #openstack-horizon | 01:23 | |
*** felipemonteiro__ has quit IRC | 01:25 | |
openstackgerrit | Sam Morrison proposed openstack/horizon master: Sort nova availability zones by name https://review.openstack.org/560236 | 01:30 |
---|---|---|
*** cshen has joined #openstack-horizon | 01:35 | |
*** dangtrinhnt has joined #openstack-horizon | 01:36 | |
*** cshen has quit IRC | 01:39 | |
*** germs has joined #openstack-horizon | 01:44 | |
*** germs has quit IRC | 01:44 | |
*** germs has joined #openstack-horizon | 01:44 | |
*** yamamoto has joined #openstack-horizon | 01:44 | |
*** yamamoto has quit IRC | 01:50 | |
*** zhurong has quit IRC | 02:00 | |
*** btully has joined #openstack-horizon | 02:17 | |
*** btully has quit IRC | 02:21 | |
*** cshen has joined #openstack-horizon | 02:29 | |
*** germs has quit IRC | 02:32 | |
*** cshen has quit IRC | 02:33 | |
*** ianychoi has quit IRC | 02:35 | |
*** yamamoto has joined #openstack-horizon | 02:47 | |
*** r-daneel has joined #openstack-horizon | 02:47 | |
*** yamamoto has quit IRC | 02:52 | |
*** dangtrinhnt has quit IRC | 02:52 | |
*** dave-mccowan has quit IRC | 02:56 | |
*** imacdonn has quit IRC | 03:08 | |
*** imacdonn has joined #openstack-horizon | 03:08 | |
*** ianychoi has joined #openstack-horizon | 03:19 | |
*** cshen has joined #openstack-horizon | 03:23 | |
*** cshen has quit IRC | 03:27 | |
*** kei-ichi has quit IRC | 03:28 | |
*** kei-ichi has joined #openstack-horizon | 03:28 | |
*** yamamoto has joined #openstack-horizon | 03:48 | |
*** yamamoto has quit IRC | 03:53 | |
*** btully has joined #openstack-horizon | 04:06 | |
*** btully has quit IRC | 04:11 | |
*** felipemonteiro__ has joined #openstack-horizon | 04:13 | |
*** cshen has joined #openstack-horizon | 04:17 | |
*** cshen has quit IRC | 04:21 | |
*** harlowja has joined #openstack-horizon | 04:23 | |
openstackgerrit | Sam Morrison proposed openstack/horizon master: Sort nova availability zones by name https://review.openstack.org/560236 | 04:42 |
*** yamamoto has joined #openstack-horizon | 04:50 | |
*** felipemonteiro_ has joined #openstack-horizon | 04:51 | |
*** felipemonteiro__ has quit IRC | 04:54 | |
*** yamamoto has quit IRC | 04:55 | |
*** felipemonteiro_ has quit IRC | 05:02 | |
*** cshen has joined #openstack-horizon | 05:11 | |
*** cshen has quit IRC | 05:15 | |
adriant | is there any good reason why https://github.com/openstack/horizon/tree/master/openstack_dashboard/wsgi doesn't have an __init__.py file in it? | 05:32 |
adriant | I'm trying to throw horizon in docker, but the way horizon seems to handle the wsgi file feels weird compared to how you normally handle that file's location in django | 05:33 |
adriant | which is making running it with gunicorn a little hard | 05:33 |
*** harlowja has quit IRC | 05:35 | |
*** yamamoto has joined #openstack-horizon | 05:52 | |
*** btully has joined #openstack-horizon | 05:54 | |
*** yamamoto has quit IRC | 05:57 | |
adriant | That's weird. I'm having all kinds of weird issues trying to get gunicorn to acknowledge that wsgi file... I'm not even sure what the issue is. | 05:59 |
adriant | Will keep digging and try and figure it out | 05:59 |
*** btully has quit IRC | 05:59 | |
adriant | oh | 06:23 |
adriant | it's because the common django wsgi file is "wsgi.py" | 06:24 |
adriant | well, it's a ".py" file | 06:24 |
adriant | but uwsgi also expects a python file... | 06:28 |
* adriant is so very confused | 06:28 | |
*** jhesketh_ is now known as jhesketh | 06:29 | |
*** priteau has joined #openstack-horizon | 06:32 | |
*** belmoreira has joined #openstack-horizon | 06:33 | |
adriant | I guess I'll just copy the file somewhere... and rename it as part of my dockerfile. | 06:38 |
adriant | That feels kind of pointless. I'd kind of half expect it to already be usable as is. | 06:38 |
adriant | Is that what everyone does when deploying horizon? | 06:38 |
adriant | I'd assume we'd want a wsgi.py file in the openstack_dashboard folder | 06:42 |
*** YaoL has quit IRC | 06:42 | |
*** yamamoto has joined #openstack-horizon | 06:53 | |
*** yamamoto has quit IRC | 06:59 | |
adriant | yeah... copying and renaming the file worked, but I feel like having on already in the correct place just makes life easier since then you just clone in the repo, copy/symlink in your local_settings and away you go. | 07:05 |
adriant | having one* already in the correct place | 07:05 |
*** rcernin has quit IRC | 07:06 | |
*** yamamoto has joined #openstack-horizon | 07:08 | |
*** zhurong has joined #openstack-horizon | 07:09 | |
*** cshen has joined #openstack-horizon | 07:20 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata https://review.openstack.org/560294 | 07:22 |
*** masco has joined #openstack-horizon | 07:22 | |
*** dangtrinhnt has joined #openstack-horizon | 07:27 | |
*** tesseract has joined #openstack-horizon | 07:28 | |
*** belmoreira has quit IRC | 07:42 | |
*** btully has joined #openstack-horizon | 07:42 | |
*** belmoreira has joined #openstack-horizon | 07:46 | |
*** btully has quit IRC | 07:46 | |
*** yamamoto has quit IRC | 07:49 | |
*** tosky has joined #openstack-horizon | 07:55 | |
*** jpich has joined #openstack-horizon | 07:58 | |
*** zhurong has quit IRC | 08:08 | |
*** pcaruana has joined #openstack-horizon | 08:13 | |
*** yamamoto has joined #openstack-horizon | 08:13 | |
*** yamamoto has quit IRC | 08:15 | |
*** belmoreira has quit IRC | 08:17 | |
*** yamamoto has joined #openstack-horizon | 08:19 | |
*** belmoreira has joined #openstack-horizon | 08:21 | |
openstackgerrit | Guillaume proposed openstack/horizon master: Allow OVA upload for images https://review.openstack.org/554572 | 08:21 |
*** ianychoi has quit IRC | 08:42 | |
*** zhurong has joined #openstack-horizon | 08:50 | |
*** yamamoto has quit IRC | 08:54 | |
*** yamamoto has joined #openstack-horizon | 08:56 | |
*** yamamoto has quit IRC | 08:58 | |
*** yamamoto has joined #openstack-horizon | 08:58 | |
*** shu-mutow is now known as shu-mutow-AWAY | 09:07 | |
*** cshen has quit IRC | 09:25 | |
*** cshen has joined #openstack-horizon | 09:28 | |
*** cshen_ has joined #openstack-horizon | 09:42 | |
*** yamamoto has quit IRC | 09:43 | |
*** yamamoto has joined #openstack-horizon | 09:44 | |
*** cshen has quit IRC | 09:45 | |
*** ianychoi has joined #openstack-horizon | 09:46 | |
*** cshen_ has quit IRC | 09:46 | |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Fix W503 warnings https://review.openstack.org/560355 | 10:26 |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Fix E402 warnings https://review.openstack.org/560356 | 10:26 |
*** cshen has joined #openstack-horizon | 10:39 | |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Make babel_extract_angular work with python 3 https://review.openstack.org/560362 | 10:44 |
*** e0ne has joined #openstack-horizon | 10:54 | |
*** ChanServ sets mode: +o e0ne | 10:54 | |
*** e0ne has quit IRC | 11:04 | |
*** yamamoto has quit IRC | 11:18 | |
*** e0ne has joined #openstack-horizon | 11:20 | |
*** ChanServ sets mode: +o e0ne | 11:20 | |
*** yamamoto has joined #openstack-horizon | 11:25 | |
*** yamamoto has quit IRC | 11:30 | |
*** yamamoto has joined #openstack-horizon | 11:34 | |
*** yamamoto has quit IRC | 11:39 | |
*** btully has joined #openstack-horizon | 11:45 | |
*** btully has quit IRC | 12:04 | |
*** yamamoto has joined #openstack-horizon | 12:21 | |
*** yamamoto has quit IRC | 12:25 | |
*** yamamoto has joined #openstack-horizon | 12:34 | |
*** dave-mccowan has joined #openstack-horizon | 12:35 | |
*** mvk has quit IRC | 12:40 | |
*** felipemonteiro has joined #openstack-horizon | 12:54 | |
*** felipemonteiro_ has joined #openstack-horizon | 13:07 | |
openstackgerrit | Merged openstack/horizon master: Imported Translations from Zanata https://review.openstack.org/560294 | 13:08 |
*** felipemonteiro has quit IRC | 13:10 | |
*** mvk has joined #openstack-horizon | 13:11 | |
*** felipemonteiro_ has quit IRC | 13:15 | |
*** felipemonteiro__ has joined #openstack-horizon | 13:15 | |
amotoki | e0ne: i have a question on futurist calls | 13:19 |
e0ne | amotoki: sure, ask it | 13:19 |
amotoki | e0ne: looking at https://review.openstack.org/#/c/559962/2/openstack_dashboard/usage/quotas.py | 13:20 |
amotoki | three methods update a same 'uasges' object which is an instsance of QuotaUsage | 13:20 |
amotoki | e0ne: does this work? | 13:21 |
amotoki | e0ne: the original patch in the master branch looks like just refactoring without deeper inspection and we reviewers did not check it either. | 13:22 |
amotoki | IMHO even though it works well but touching a single object in multiple calls in parallel is not a recommended pattern. | 13:23 |
e0ne | it looks safe in a current case, because QuotaUsage is dict and we set values for different keys | 13:24 |
amotoki | e0ne: yeah, but i have one question on how we can ensure keys are not overlapped. | 13:25 |
e0ne | we need to check it | 13:25 |
e0ne | :( | 13:25 |
amotoki | I personally have a question on performance improvement on parallelizing a simple call like quotas though. | 13:26 |
amotoki | listing is relatively a costy operation but quota/limit is relatively a light call. | 13:26 |
e0ne | I don't have a performance results by the hand | 13:27 |
amotoki | we evaluated performance improvement on listing resources before | 13:27 |
e0ne | we'd got these patches merged in our downstream for a while and got good feedback both from QA and customers | 13:28 |
amotoki | e0ne: okay, I am not against the parallelization itself. | 13:31 |
amotoki | on the other hand, even though horizon three quota calls are parallelized, horizon plugins will add more quotas and they would be in serial | 13:31 |
amotoki | so this improvement would be less effective. | 13:32 |
e0ne | true :( | 13:32 |
amotoki | if you would like to improve this kind of things, you need to explore a way to parallelize tab loading or workflow step loading :( | 13:32 |
*** jtriley has joined #openstack-horizon | 13:39 | |
e0ne | absolutely, it would be great to have it in a long-term perspective | 13:40 |
*** david-lyle has joined #openstack-horizon | 13:41 | |
*** ChanServ sets mode: +o david-lyle | 13:41 | |
amotoki | if we would like to parallelize tab/step loading, perhaps it is better to implement tabs/steps with JS. browsers will parallelize backend calls automatically. | 13:42 |
amotoki | i am in a dillenmma between angular rewriting and horizon django world. | 13:43 |
*** dklyle has quit IRC | 13:45 | |
*** david-lyle has quit IRC | 13:47 | |
*** btully has joined #openstack-horizon | 13:49 | |
*** btully has quit IRC | 13:53 | |
*** felipemonteiro_ has joined #openstack-horizon | 13:54 | |
*** felipemonteiro__ has quit IRC | 13:58 | |
openstackgerrit | Ivan Kolodyazhny proposed openstack/horizon master: Modularize workflow action in quota defaults https://review.openstack.org/540102 | 14:23 |
e0ne | amotoki: I rebased your patch ^^ to fix an issue with pep8 job | 14:23 |
amotoki | e0ne: thanks | 14:24 |
e0ne | np | 14:24 |
*** lblanchard has joined #openstack-horizon | 14:26 | |
*** lblanchard1 has joined #openstack-horizon | 14:31 | |
*** lblanchard has quit IRC | 14:31 | |
*** lblanchard has joined #openstack-horizon | 14:33 | |
*** itlinux has quit IRC | 14:34 | |
*** dklyle has joined #openstack-horizon | 14:35 | |
*** ChanServ sets mode: +o dklyle | 14:35 | |
*** dklyle has quit IRC | 14:36 | |
*** lblanchard1 has quit IRC | 14:36 | |
*** david-lyle has joined #openstack-horizon | 14:36 | |
*** ChanServ sets mode: +o david-lyle | 14:36 | |
*** dklyle has joined #openstack-horizon | 14:47 | |
*** ChanServ sets mode: +o dklyle | 14:47 | |
*** david-lyle has quit IRC | 14:47 | |
amotoki | tonyb: how can we clean up horizon-stable-maint gerrit group? All members except David and me left the openstack community. | 14:47 |
*** felipemonteiro_ has quit IRC | 14:50 | |
*** felipemonteiro_ has joined #openstack-horizon | 14:50 | |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Exclude nova-network quotas properly https://review.openstack.org/534386 | 14:57 |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Exclude nova-network quotas properly https://review.openstack.org/534386 | 15:09 |
openstackgerrit | Merged openstack/horizon master: Fix unauthorized exception when using member user to access angular users panel https://review.openstack.org/468726 | 15:11 |
*** germs has joined #openstack-horizon | 15:11 | |
*** germs has quit IRC | 15:11 | |
*** germs has joined #openstack-horizon | 15:11 | |
*** germs has quit IRC | 15:16 | |
*** germs has joined #openstack-horizon | 15:17 | |
*** germs has quit IRC | 15:17 | |
*** germs has joined #openstack-horizon | 15:17 | |
*** belmoreira has quit IRC | 15:23 | |
e0ne | amotoki: we need your pep8 fix in stable/queens too. did you already start work on it? if not, I'll do it now | 15:27 |
amotoki | e0ne: I am doing nothing. go ahead :) | 15:29 |
*** cshen has quit IRC | 15:29 | |
e0ne | ok, will do it | 15:29 |
*** cshen has joined #openstack-horizon | 15:31 | |
*** idlemind has quit IRC | 15:41 | |
*** idlemind has joined #openstack-horizon | 15:42 | |
*** r-daneel has quit IRC | 15:44 | |
openstackgerrit | Merged openstack/horizon master: Modularize workflow action in quota defaults https://review.openstack.org/540102 | 15:45 |
*** itlinux has joined #openstack-horizon | 15:50 | |
*** gyee has joined #openstack-horizon | 15:56 | |
*** cshen has quit IRC | 16:00 | |
*** harlowja has joined #openstack-horizon | 16:05 | |
*** jpich has quit IRC | 16:31 | |
*** felipemonteiro_ has quit IRC | 16:36 | |
*** r-daneel has joined #openstack-horizon | 16:37 | |
openstackgerrit | Merged openstack/horizon master: Exclude nova-network quotas properly https://review.openstack.org/534386 | 16:38 |
e0ne | https://review.openstack.org/#/c/560563/ - fix to unblock stable/queens gates | 16:39 |
*** madorn has quit IRC | 16:51 | |
*** madorn has joined #openstack-horizon | 16:51 | |
*** tesseract has quit IRC | 16:59 | |
*** e0ne has quit IRC | 16:59 | |
*** harlowja has quit IRC | 17:07 | |
*** btully has joined #openstack-horizon | 17:26 | |
*** yamamoto has quit IRC | 17:29 | |
*** btully has quit IRC | 17:31 | |
*** cshen has joined #openstack-horizon | 17:38 | |
*** yamamoto has joined #openstack-horizon | 17:49 | |
*** e0ne has joined #openstack-horizon | 17:50 | |
*** ChanServ sets mode: +o e0ne | 17:50 | |
*** yamamoto has quit IRC | 17:50 | |
*** yamamoto has joined #openstack-horizon | 17:50 | |
*** harlowja has joined #openstack-horizon | 17:52 | |
*** yamamoto has quit IRC | 17:57 | |
*** dklyle has quit IRC | 18:06 | |
*** yamamoto has joined #openstack-horizon | 18:16 | |
*** yamamoto has quit IRC | 18:18 | |
*** felipemonteiro_ has joined #openstack-horizon | 18:18 | |
*** cshen has quit IRC | 18:24 | |
*** yamamoto has joined #openstack-horizon | 18:25 | |
*** masco has quit IRC | 18:29 | |
*** yamamoto has quit IRC | 18:34 | |
*** yamamoto has joined #openstack-horizon | 18:38 | |
*** cshen has joined #openstack-horizon | 18:39 | |
*** yamamoto has quit IRC | 18:40 | |
*** cshen has quit IRC | 18:44 | |
*** cshen has joined #openstack-horizon | 18:45 | |
*** mvk has quit IRC | 18:46 | |
*** dklyle has joined #openstack-horizon | 18:55 | |
*** ChanServ sets mode: +o dklyle | 18:55 | |
*** pcaruana has quit IRC | 18:55 | |
*** gary-smith has joined #openstack-horizon | 18:59 | |
*** priteau has quit IRC | 19:00 | |
*** cshen has quit IRC | 19:09 | |
*** btully has joined #openstack-horizon | 19:15 | |
*** btully has quit IRC | 19:20 | |
*** mvk has joined #openstack-horizon | 19:23 | |
*** cshen has joined #openstack-horizon | 19:36 | |
*** cshen has quit IRC | 19:40 | |
*** cshen has joined #openstack-horizon | 19:43 | |
*** vladiskuz_ has joined #openstack-horizon | 19:56 | |
*** jafeha has joined #openstack-horizon | 20:04 | |
*** jafeha__ has quit IRC | 20:05 | |
*** lblanchard has quit IRC | 20:06 | |
*** ying_zuo_ has joined #openstack-horizon | 20:20 | |
*** ChanServ sets mode: +o ying_zuo_ | 20:20 | |
*** zioproto_ has joined #openstack-horizon | 20:21 | |
*** berendt_ has joined #openstack-horizon | 20:21 | |
*** ameade_ has joined #openstack-horizon | 20:21 | |
tonyb | amotoki: Yup removing members is much easer than adding them, I'm watching e0ne's reviews so we can add him soon. | 20:24 |
e0ne | tonyb: thanks! | 20:24 |
tonyb | amotoki: IIRC you and I overlap (TZ wise) so poke me again when you're awake and we'll clean it up. | 20:25 |
*** xhku_ has joined #openstack-horizon | 20:27 | |
*** mordred has quit IRC | 20:28 | |
*** vkmc has quit IRC | 20:28 | |
*** fbouliane has quit IRC | 20:28 | |
*** zioproto has quit IRC | 20:28 | |
*** johnsom has quit IRC | 20:28 | |
*** ying_zuo has quit IRC | 20:28 | |
*** ameade has quit IRC | 20:28 | |
*** berendt has quit IRC | 20:28 | |
*** tsufiev has quit IRC | 20:28 | |
*** ying_zuo_ is now known as ying_zuo | 20:28 | |
*** zioproto_ is now known as zioproto | 20:28 | |
*** berendt_ is now known as berendt | 20:28 | |
*** ameade_ is now known as ameade | 20:28 | |
*** tsufiev has joined #openstack-horizon | 20:29 | |
*** johnsom has joined #openstack-horizon | 20:29 | |
*** vladiskuz_ has quit IRC | 20:29 | |
*** mordred has joined #openstack-horizon | 20:30 | |
*** vkmc has joined #openstack-horizon | 20:31 | |
*** cshen has quit IRC | 20:35 | |
*** cshen has joined #openstack-horizon | 20:51 | |
*** yamamoto has joined #openstack-horizon | 20:52 | |
*** jtomasek has quit IRC | 20:54 | |
*** cshen has quit IRC | 20:56 | |
*** yamamoto has quit IRC | 20:56 | |
*** jtriley has quit IRC | 21:05 | |
*** r-daneel has quit IRC | 21:15 | |
*** r-daneel has joined #openstack-horizon | 21:15 | |
*** jtriley has joined #openstack-horizon | 21:36 | |
*** rcernin has joined #openstack-horizon | 21:49 | |
*** idlemind has quit IRC | 21:49 | |
*** felipemonteiro_ has quit IRC | 22:02 | |
*** itlinux has quit IRC | 22:03 | |
*** itlinux has joined #openstack-horizon | 22:06 | |
*** jtriley has quit IRC | 22:06 | |
*** itlinux has quit IRC | 22:07 | |
*** e0ne has quit IRC | 22:20 | |
*** cshen has joined #openstack-horizon | 22:25 | |
-openstackstatus- NOTICE: zuul was restarted to updated to the latest code; you may need to recheck changes uploaded or approvals added between 21:30 and 21:45 | 22:29 | |
*** cshen has quit IRC | 22:30 | |
openstackgerrit | Akihiro Motoki proposed openstack/horizon master: Workflow: Make steps pluggable via horizon plugin config https://review.openstack.org/560679 | 22:37 |
adriant | amotoki: do you know the history as to why https://github.com/openstack/horizon/tree/master/openstack_dashboard/wsgi isn't a real wsgi.py file located somewhere on the module path? | 22:40 |
amotoki | adriant: what is a problem? | 22:41 |
*** jafeha__ has joined #openstack-horizon | 22:41 | |
adriant | amotoki: just curious if the expectation for horizon is that you copy the wsgi file somewhere first. | 22:41 |
adriant | most django apps I've ever touched have a valid wsgi.py file somewhere | 22:42 |
adriant | or any wsgi python apps really | 22:42 |
amotoki | adriant: why do you need to copy it? | 22:42 |
adriant | gunicorn can't import a .wsgi file | 22:42 |
amotoki | adriant: I think we assume deployers can specify a path to wsgi files in a config file of your web server | 22:42 |
*** jafeha has quit IRC | 22:42 | |
*** felipemonteiro_ has joined #openstack-horizon | 22:42 | |
adriant | gunicorn expects it to be a .py file | 22:42 |
amotoki | adriant: like mod_wsgi config "WSGIScriptAlias /dashboard /opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi" | 22:42 |
adriant | most apps have it as a wsgi.py file: https://github.com/openstack/keystone/tree/master/keystone/server | 22:43 |
adriant | because it is a valid python file | 22:43 |
amotoki | adriant: actually I don't know why the current filename was chosen | 22:43 |
amotoki | adriant: perhaps nobody who is working on horizon now knows it. | 22:43 |
adriant | even if it was a valid python file, then I could provide a path to it | 22:43 |
adriant | haha | 22:43 |
adriant | yeah that's quite likely | 22:44 |
amotoki | and we don't have any bug report that the current path is a problem | 22:44 |
amotoki | * so far | 22:44 |
adriant | I didn't realise it was until now, at least for my case | 22:44 |
adriant | so I was curious how others are running horizon | 22:44 |
adriant | I may look also at how Kolla does it | 22:44 |
-amotoki- is going to be offline for a while | 22:44 | |
adriant | but I tend to use gunicorn for my docker python work so this was weird :( | 22:45 |
amotoki | perhaps most popular way to deploy horizon is apache | 22:45 |
adriant | I'm just doing "cp /opt/horizon/openstack_dashboard/wsgi/django.wsgi /opt/horizon/openstack_dashboard/wsgi.py" and that works for me | 22:45 |
*** yamamoto has joined #openstack-horizon | 22:46 | |
adriant | amotoki: I'll look into it, and potentially open a bug report | 22:46 |
adriant | amotoki: will also see what the kolla folks are doing | 22:47 |
adriant | we can't use their container sadly, but would be interesting to know how theirs is setup | 22:47 |
*** yamamoto has quit IRC | 22:50 | |
*** yamamoto has joined #openstack-horizon | 22:51 | |
*** btully has joined #openstack-horizon | 22:53 | |
adriant | amotoki: https://stackoverflow.com/questions/20035252/difference-between-wsgi-py-and-django-wsgi | 22:55 |
adriant | Horizon is just OLD | 22:55 |
adriant | we should rename it and move it to openstack_dashboard as just wsgi.py | 22:55 |
*** yamamoto has quit IRC | 22:56 | |
*** btully has quit IRC | 22:57 | |
*** yamamoto has joined #openstack-horizon | 22:57 | |
*** yamamoto has quit IRC | 23:01 | |
amotoki | adriant: but doesn't kolla ansible or kolla-k8s support horizon? | 23:03 |
*** yamamoto has joined #openstack-horizon | 23:03 | |
adriant | amotoki: it does, that's why I'm curious what they do | 23:03 |
adriant | they may be running mod_wsgi | 23:03 |
adriant | but gunicorn is our prefered wsgi server so we'd prefer to use that | 23:04 |
adriant | uwsgi is much the same, I think it also expects a wsgi.py file but haven't checked how pedantic it is | 23:04 |
adriant | amotoki: https://bugs.launchpad.net/horizon/+bug/1763204 | 23:05 |
openstack | Launchpad bug 1763204 in OpenStack Dashboard (Horizon) "wsgi.py is missing" [Undecided,New] | 23:05 |
amotoki | it is up to wsgi server whether it depends on file extension. it is a different thing horizon is old or not. | 23:05 |
adriant | yes, but horizon is not following common django practice | 23:06 |
adriant | the wsgi file is a python file, it should have a .py extension. | 23:06 |
adriant | In the bug report I'm actually suggesting we don't remove the old one, just add a new one | 23:07 |
amotoki | yeah, the LATEST django document says so | 23:07 |
amotoki | i wonder how we can provide backward compatibility | 23:07 |
adriant | keep both around | 23:07 |
adriant | remove the old one in about 2-3 cycles? | 23:07 |
amotoki | with symlink? | 23:08 |
adriant | maybe, I was thinking outright copy and add a logging line to the old one with a deprecation print | 23:08 |
amotoki | that sounds better | 23:09 |
openstackgerrit | Sam Morrison proposed openstack/horizon master: Sort nova availability zones by name https://review.openstack.org/560236 | 23:18 |
*** cshen has joined #openstack-horizon | 23:20 | |
*** cshen has quit IRC | 23:24 | |
*** felipemonteiro_ has quit IRC | 23:42 | |
*** yamamoto has quit IRC | 23:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!