Wednesday, 2018-04-11

*** priteau has joined #openstack-horizon00:03
*** priteau has quit IRC00:03
*** itlinux has joined #openstack-horizon00:07
*** zhurong has joined #openstack-horizon00:21
*** gyee has quit IRC00:33
*** cshen has joined #openstack-horizon00:40
*** yamamoto has joined #openstack-horizon00:43
*** cshen has quit IRC00:45
*** dave-mccowan has joined #openstack-horizon00:47
*** yamamoto has quit IRC00:48
*** felipemonteiro__ has joined #openstack-horizon00:50
*** germs has quit IRC00:51
*** germs has joined #openstack-horizon00:52
*** germs has quit IRC00:52
*** germs has joined #openstack-horizon00:52
*** germs has quit IRC00:56
*** YaoL has joined #openstack-horizon01:01
*** shu-mutow-AWAY is now known as shu-mutow01:02
*** harlowja has quit IRC01:14
*** tsmith2 has quit IRC01:22
*** tsmith2 has joined #openstack-horizon01:23
*** felipemonteiro__ has quit IRC01:25
openstackgerritSam Morrison proposed openstack/horizon master: Sort nova availability zones by name  https://review.openstack.org/56023601:30
*** cshen has joined #openstack-horizon01:35
*** dangtrinhnt has joined #openstack-horizon01:36
*** cshen has quit IRC01:39
*** germs has joined #openstack-horizon01:44
*** germs has quit IRC01:44
*** germs has joined #openstack-horizon01:44
*** yamamoto has joined #openstack-horizon01:44
*** yamamoto has quit IRC01:50
*** zhurong has quit IRC02:00
*** btully has joined #openstack-horizon02:17
*** btully has quit IRC02:21
*** cshen has joined #openstack-horizon02:29
*** germs has quit IRC02:32
*** cshen has quit IRC02:33
*** ianychoi has quit IRC02:35
*** yamamoto has joined #openstack-horizon02:47
*** r-daneel has joined #openstack-horizon02:47
*** yamamoto has quit IRC02:52
*** dangtrinhnt has quit IRC02:52
*** dave-mccowan has quit IRC02:56
*** imacdonn has quit IRC03:08
*** imacdonn has joined #openstack-horizon03:08
*** ianychoi has joined #openstack-horizon03:19
*** cshen has joined #openstack-horizon03:23
*** cshen has quit IRC03:27
*** kei-ichi has quit IRC03:28
*** kei-ichi has joined #openstack-horizon03:28
*** yamamoto has joined #openstack-horizon03:48
*** yamamoto has quit IRC03:53
*** btully has joined #openstack-horizon04:06
*** btully has quit IRC04:11
*** felipemonteiro__ has joined #openstack-horizon04:13
*** cshen has joined #openstack-horizon04:17
*** cshen has quit IRC04:21
*** harlowja has joined #openstack-horizon04:23
openstackgerritSam Morrison proposed openstack/horizon master: Sort nova availability zones by name  https://review.openstack.org/56023604:42
*** yamamoto has joined #openstack-horizon04:50
*** felipemonteiro_ has joined #openstack-horizon04:51
*** felipemonteiro__ has quit IRC04:54
*** yamamoto has quit IRC04:55
*** felipemonteiro_ has quit IRC05:02
*** cshen has joined #openstack-horizon05:11
*** cshen has quit IRC05:15
adriantis 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
adriantI'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 django05:33
adriantwhich is making running it with gunicorn a little hard05:33
*** harlowja has quit IRC05:35
*** yamamoto has joined #openstack-horizon05:52
*** btully has joined #openstack-horizon05:54
*** yamamoto has quit IRC05:57
adriantThat'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
adriantWill keep digging and try and figure it out05:59
*** btully has quit IRC05:59
adriantoh06:23
adriantit's because the common django wsgi file is "wsgi.py"06:24
adriantwell, it's a ".py" file06:24
adriantbut uwsgi also expects a python file...06:28
* adriant is so very confused06:28
*** jhesketh_ is now known as jhesketh06:29
*** priteau has joined #openstack-horizon06:32
*** belmoreira has joined #openstack-horizon06:33
adriantI guess I'll just copy the file somewhere... and rename it as part of my dockerfile.06:38
adriantThat feels kind of pointless. I'd kind of half expect it to already be usable as is.06:38
adriantIs that what everyone does when deploying horizon?06:38
adriantI'd assume we'd want a wsgi.py file in the openstack_dashboard folder06:42
*** YaoL has quit IRC06:42
*** yamamoto has joined #openstack-horizon06:53
*** yamamoto has quit IRC06:59
adriantyeah... 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
adrianthaving one* already in the correct place07:05
*** rcernin has quit IRC07:06
*** yamamoto has joined #openstack-horizon07:08
*** zhurong has joined #openstack-horizon07:09
*** cshen has joined #openstack-horizon07:20
openstackgerritOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/56029407:22
*** masco has joined #openstack-horizon07:22
*** dangtrinhnt has joined #openstack-horizon07:27
*** tesseract has joined #openstack-horizon07:28
*** belmoreira has quit IRC07:42
*** btully has joined #openstack-horizon07:42
*** belmoreira has joined #openstack-horizon07:46
*** btully has quit IRC07:46
*** yamamoto has quit IRC07:49
*** tosky has joined #openstack-horizon07:55
*** jpich has joined #openstack-horizon07:58
*** zhurong has quit IRC08:08
*** pcaruana has joined #openstack-horizon08:13
*** yamamoto has joined #openstack-horizon08:13
*** yamamoto has quit IRC08:15
*** belmoreira has quit IRC08:17
*** yamamoto has joined #openstack-horizon08:19
*** belmoreira has joined #openstack-horizon08:21
openstackgerritGuillaume proposed openstack/horizon master: Allow OVA upload for images  https://review.openstack.org/55457208:21
*** ianychoi has quit IRC08:42
*** zhurong has joined #openstack-horizon08:50
*** yamamoto has quit IRC08:54
*** yamamoto has joined #openstack-horizon08:56
*** yamamoto has quit IRC08:58
*** yamamoto has joined #openstack-horizon08:58
*** shu-mutow is now known as shu-mutow-AWAY09:07
*** cshen has quit IRC09:25
*** cshen has joined #openstack-horizon09:28
*** cshen_ has joined #openstack-horizon09:42
*** yamamoto has quit IRC09:43
*** yamamoto has joined #openstack-horizon09:44
*** cshen has quit IRC09:45
*** ianychoi has joined #openstack-horizon09:46
*** cshen_ has quit IRC09:46
openstackgerritAkihiro Motoki proposed openstack/horizon master: Fix W503 warnings  https://review.openstack.org/56035510:26
openstackgerritAkihiro Motoki proposed openstack/horizon master: Fix E402 warnings  https://review.openstack.org/56035610:26
*** cshen has joined #openstack-horizon10:39
openstackgerritAkihiro Motoki proposed openstack/horizon master: Make babel_extract_angular work with python 3  https://review.openstack.org/56036210:44
*** e0ne has joined #openstack-horizon10:54
*** ChanServ sets mode: +o e0ne10:54
*** e0ne has quit IRC11:04
*** yamamoto has quit IRC11:18
*** e0ne has joined #openstack-horizon11:20
*** ChanServ sets mode: +o e0ne11:20
*** yamamoto has joined #openstack-horizon11:25
*** yamamoto has quit IRC11:30
*** yamamoto has joined #openstack-horizon11:34
*** yamamoto has quit IRC11:39
*** btully has joined #openstack-horizon11:45
*** btully has quit IRC12:04
*** yamamoto has joined #openstack-horizon12:21
*** yamamoto has quit IRC12:25
*** yamamoto has joined #openstack-horizon12:34
*** dave-mccowan has joined #openstack-horizon12:35
*** mvk has quit IRC12:40
*** felipemonteiro has joined #openstack-horizon12:54
*** felipemonteiro_ has joined #openstack-horizon13:07
openstackgerritMerged openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/56029413:08
*** felipemonteiro has quit IRC13:10
*** mvk has joined #openstack-horizon13:11
*** felipemonteiro_ has quit IRC13:15
*** felipemonteiro__ has joined #openstack-horizon13:15
amotokie0ne: i have a question on futurist calls13:19
e0neamotoki: sure, ask it13:19
amotokie0ne: looking at https://review.openstack.org/#/c/559962/2/openstack_dashboard/usage/quotas.py13:20
amotokithree methods update a same 'uasges' object which is an instsance of  QuotaUsage13:20
amotokie0ne: does this work?13:21
amotokie0ne: the original patch in the master branch looks like just refactoring without deeper inspection and we reviewers did not check it either.13:22
amotokiIMHO even though it works well but touching a single object in multiple calls in parallel is not a recommended pattern.13:23
e0neit looks safe in a current case, because QuotaUsage is dict and we set values for different keys13:24
amotokie0ne: yeah, but i have one question on how we can ensure keys are not overlapped.13:25
e0newe need to check it13:25
e0ne:(13:25
amotokiI personally have a question on performance improvement on parallelizing a simple call like quotas though.13:26
amotokilisting is relatively a costy operation but quota/limit is relatively a light call.13:26
e0neI don't have a performance results by the hand13:27
amotokiwe evaluated performance improvement on listing resources before13:27
e0newe'd got these patches merged in our downstream for a while and got good feedback both from QA and customers13:28
amotokie0ne: okay, I am not against the parallelization itself.13:31
amotokion the other hand, even though horizon three quota calls are parallelized, horizon plugins will add more quotas and they would be in serial13:31
amotokiso this improvement would be less effective.13:32
e0netrue :(13:32
amotokiif 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-horizon13:39
e0neabsolutely, it would be great to have it in a long-term perspective13:40
*** david-lyle has joined #openstack-horizon13:41
*** ChanServ sets mode: +o david-lyle13:41
amotokiif 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
amotokii am in a dillenmma between angular rewriting and horizon django world.13:43
*** dklyle has quit IRC13:45
*** david-lyle has quit IRC13:47
*** btully has joined #openstack-horizon13:49
*** btully has quit IRC13:53
*** felipemonteiro_ has joined #openstack-horizon13:54
*** felipemonteiro__ has quit IRC13:58
openstackgerritIvan Kolodyazhny proposed openstack/horizon master: Modularize workflow action in quota defaults  https://review.openstack.org/54010214:23
e0neamotoki: I rebased your patch ^^ to fix an issue with pep8 job14:23
amotokie0ne: thanks14:24
e0nenp14:24
*** lblanchard has joined #openstack-horizon14:26
*** lblanchard1 has joined #openstack-horizon14:31
*** lblanchard has quit IRC14:31
*** lblanchard has joined #openstack-horizon14:33
*** itlinux has quit IRC14:34
*** dklyle has joined #openstack-horizon14:35
*** ChanServ sets mode: +o dklyle14:35
*** dklyle has quit IRC14:36
*** lblanchard1 has quit IRC14:36
*** david-lyle has joined #openstack-horizon14:36
*** ChanServ sets mode: +o david-lyle14:36
*** dklyle has joined #openstack-horizon14:47
*** ChanServ sets mode: +o dklyle14:47
*** david-lyle has quit IRC14:47
amotokitonyb: 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 IRC14:50
*** felipemonteiro_ has joined #openstack-horizon14:50
openstackgerritAkihiro Motoki proposed openstack/horizon master: Exclude nova-network quotas properly  https://review.openstack.org/53438614:57
openstackgerritAkihiro Motoki proposed openstack/horizon master: Exclude nova-network quotas properly  https://review.openstack.org/53438615:09
openstackgerritMerged openstack/horizon master: Fix unauthorized exception when using member user to access angular users panel  https://review.openstack.org/46872615:11
*** germs has joined #openstack-horizon15:11
*** germs has quit IRC15:11
*** germs has joined #openstack-horizon15:11
*** germs has quit IRC15:16
*** germs has joined #openstack-horizon15:17
*** germs has quit IRC15:17
*** germs has joined #openstack-horizon15:17
*** belmoreira has quit IRC15:23
e0neamotoki: we need your pep8 fix in stable/queens too. did you already start work on it? if not, I'll do it now15:27
amotokie0ne: I am doing nothing. go ahead :)15:29
*** cshen has quit IRC15:29
e0neok, will do it15:29
*** cshen has joined #openstack-horizon15:31
*** idlemind has quit IRC15:41
*** idlemind has joined #openstack-horizon15:42
*** r-daneel has quit IRC15:44
openstackgerritMerged openstack/horizon master: Modularize workflow action in quota defaults  https://review.openstack.org/54010215:45
*** itlinux has joined #openstack-horizon15:50
*** gyee has joined #openstack-horizon15:56
*** cshen has quit IRC16:00
*** harlowja has joined #openstack-horizon16:05
*** jpich has quit IRC16:31
*** felipemonteiro_ has quit IRC16:36
*** r-daneel has joined #openstack-horizon16:37
openstackgerritMerged openstack/horizon master: Exclude nova-network quotas properly  https://review.openstack.org/53438616:38
e0nehttps://review.openstack.org/#/c/560563/ - fix to unblock stable/queens gates16:39
*** madorn has quit IRC16:51
*** madorn has joined #openstack-horizon16:51
*** tesseract has quit IRC16:59
*** e0ne has quit IRC16:59
*** harlowja has quit IRC17:07
*** btully has joined #openstack-horizon17:26
*** yamamoto has quit IRC17:29
*** btully has quit IRC17:31
*** cshen has joined #openstack-horizon17:38
*** yamamoto has joined #openstack-horizon17:49
*** e0ne has joined #openstack-horizon17:50
*** ChanServ sets mode: +o e0ne17:50
*** yamamoto has quit IRC17:50
*** yamamoto has joined #openstack-horizon17:50
*** harlowja has joined #openstack-horizon17:52
*** yamamoto has quit IRC17:57
*** dklyle has quit IRC18:06
*** yamamoto has joined #openstack-horizon18:16
*** yamamoto has quit IRC18:18
*** felipemonteiro_ has joined #openstack-horizon18:18
*** cshen has quit IRC18:24
*** yamamoto has joined #openstack-horizon18:25
*** masco has quit IRC18:29
*** yamamoto has quit IRC18:34
*** yamamoto has joined #openstack-horizon18:38
*** cshen has joined #openstack-horizon18:39
*** yamamoto has quit IRC18:40
*** cshen has quit IRC18:44
*** cshen has joined #openstack-horizon18:45
*** mvk has quit IRC18:46
*** dklyle has joined #openstack-horizon18:55
*** ChanServ sets mode: +o dklyle18:55
*** pcaruana has quit IRC18:55
*** gary-smith has joined #openstack-horizon18:59
*** priteau has quit IRC19:00
*** cshen has quit IRC19:09
*** btully has joined #openstack-horizon19:15
*** btully has quit IRC19:20
*** mvk has joined #openstack-horizon19:23
*** cshen has joined #openstack-horizon19:36
*** cshen has quit IRC19:40
*** cshen has joined #openstack-horizon19:43
*** vladiskuz_ has joined #openstack-horizon19:56
*** jafeha has joined #openstack-horizon20:04
*** jafeha__ has quit IRC20:05
*** lblanchard has quit IRC20:06
*** ying_zuo_ has joined #openstack-horizon20:20
*** ChanServ sets mode: +o ying_zuo_20:20
*** zioproto_ has joined #openstack-horizon20:21
*** berendt_ has joined #openstack-horizon20:21
*** ameade_ has joined #openstack-horizon20:21
tonybamotoki: Yup removing members is much easer than adding them, I'm watching e0ne's reviews so we can add him soon.20:24
e0netonyb: thanks!20:24
tonybamotoki: 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-horizon20:27
*** mordred has quit IRC20:28
*** vkmc has quit IRC20:28
*** fbouliane has quit IRC20:28
*** zioproto has quit IRC20:28
*** johnsom has quit IRC20:28
*** ying_zuo has quit IRC20:28
*** ameade has quit IRC20:28
*** berendt has quit IRC20:28
*** tsufiev has quit IRC20:28
*** ying_zuo_ is now known as ying_zuo20:28
*** zioproto_ is now known as zioproto20:28
*** berendt_ is now known as berendt20:28
*** ameade_ is now known as ameade20:28
*** tsufiev has joined #openstack-horizon20:29
*** johnsom has joined #openstack-horizon20:29
*** vladiskuz_ has quit IRC20:29
*** mordred has joined #openstack-horizon20:30
*** vkmc has joined #openstack-horizon20:31
*** cshen has quit IRC20:35
*** cshen has joined #openstack-horizon20:51
*** yamamoto has joined #openstack-horizon20:52
*** jtomasek has quit IRC20:54
*** cshen has quit IRC20:56
*** yamamoto has quit IRC20:56
*** jtriley has quit IRC21:05
*** r-daneel has quit IRC21:15
*** r-daneel has joined #openstack-horizon21:15
*** jtriley has joined #openstack-horizon21:36
*** rcernin has joined #openstack-horizon21:49
*** idlemind has quit IRC21:49
*** felipemonteiro_ has quit IRC22:02
*** itlinux has quit IRC22:03
*** itlinux has joined #openstack-horizon22:06
*** jtriley has quit IRC22:06
*** itlinux has quit IRC22:07
*** e0ne has quit IRC22:20
*** cshen has joined #openstack-horizon22: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:4522:29
*** cshen has quit IRC22:30
openstackgerritAkihiro Motoki proposed openstack/horizon master: Workflow: Make steps pluggable via horizon plugin config  https://review.openstack.org/56067922:37
adriantamotoki: 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
amotokiadriant: what is a problem?22:41
*** jafeha__ has joined #openstack-horizon22:41
adriantamotoki: just curious if the expectation for horizon is that you copy the wsgi file somewhere first.22:41
adriantmost django apps I've ever touched have a valid wsgi.py file somewhere22:42
adriantor any wsgi python apps really22:42
amotokiadriant: why do you need to copy it?22:42
adriantgunicorn can't import a .wsgi file22:42
amotokiadriant:  I think we assume deployers can specify a path to wsgi files in a config file of your web server22:42
*** jafeha has quit IRC22:42
*** felipemonteiro_ has joined #openstack-horizon22:42
adriantgunicorn expects it to be a .py file22:42
amotokiadriant: like mod_wsgi config "WSGIScriptAlias /dashboard /opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi"22:42
adriantmost apps have it as a wsgi.py file: https://github.com/openstack/keystone/tree/master/keystone/server22:43
adriantbecause it is a valid python file22:43
amotokiadriant: actually I don't know why the current filename was chosen22:43
amotokiadriant: perhaps nobody who is working on horizon now knows it.22:43
adrianteven if it was a valid python file, then I could provide a path to it22:43
adrianthaha22:43
adriantyeah that's quite likely22:44
amotokiand we don't have any bug report that the current path is a problem22:44
amotoki* so far22:44
adriantI didn't realise it was until now, at least for my case22:44
adriantso I was curious how others are running horizon22:44
adriantI may look also at how Kolla does it22:44
-amotoki- is going to be offline for a while22:44
adriantbut I tend to use gunicorn for my docker python work so this was weird :(22:45
amotokiperhaps most popular way to deploy horizon is apache22:45
adriantI'm just doing "cp /opt/horizon/openstack_dashboard/wsgi/django.wsgi  /opt/horizon/openstack_dashboard/wsgi.py" and that works for me22:45
*** yamamoto has joined #openstack-horizon22:46
adriantamotoki: I'll look into it, and potentially open a bug report22:46
adriantamotoki: will also see what the kolla folks are doing22:47
adriantwe can't use their container sadly, but would be interesting to know how theirs is setup22:47
*** yamamoto has quit IRC22:50
*** yamamoto has joined #openstack-horizon22:51
*** btully has joined #openstack-horizon22:53
adriantamotoki: https://stackoverflow.com/questions/20035252/difference-between-wsgi-py-and-django-wsgi22:55
adriantHorizon is just OLD22:55
adriantwe should rename it and move it to openstack_dashboard as just wsgi.py22:55
*** yamamoto has quit IRC22:56
*** btully has quit IRC22:57
*** yamamoto has joined #openstack-horizon22:57
*** yamamoto has quit IRC23:01
amotokiadriant: but doesn't kolla ansible or kolla-k8s support horizon?23:03
*** yamamoto has joined #openstack-horizon23:03
adriantamotoki: it does, that's why I'm curious what they do23:03
adriantthey may be running mod_wsgi23:03
adriantbut gunicorn is our prefered wsgi server so we'd prefer to use that23:04
adriantuwsgi is much the same, I think it also expects a wsgi.py file but haven't checked how pedantic it is23:04
adriantamotoki: https://bugs.launchpad.net/horizon/+bug/176320423:05
openstackLaunchpad bug 1763204 in OpenStack Dashboard (Horizon) "wsgi.py is missing" [Undecided,New]23:05
amotokiit is up to wsgi server whether it depends on file extension. it is a different thing horizon is old or not.23:05
adriantyes, but horizon is not following common django practice23:06
adriantthe wsgi file is a python file, it should have a .py extension.23:06
adriantIn the bug report I'm actually suggesting we don't remove the old one, just add a new one23:07
amotokiyeah, the LATEST django document says so23:07
amotokii wonder how we can provide backward compatibility23:07
adriantkeep both around23:07
adriantremove the old one in about 2-3 cycles?23:07
amotokiwith symlink?23:08
adriantmaybe, I was thinking outright copy and add a logging line to the old one with a deprecation print23:08
amotokithat sounds better23:09
openstackgerritSam Morrison proposed openstack/horizon master: Sort nova availability zones by name  https://review.openstack.org/56023623:18
*** cshen has joined #openstack-horizon23:20
*** cshen has quit IRC23:24
*** felipemonteiro_ has quit IRC23:42
*** yamamoto has quit IRC23:47

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!