Tuesday, 2016-08-02

openstackgerritYing Zuo proposed openstack/horizon: Add instance locked status on instances table  https://review.openstack.org/33187400:04
*** yamamoto has joined #openstack-horizon00:04
openstackgerritYing Zuo proposed openstack/horizon: Fix error on volume type extra spec modal  https://review.openstack.org/31002800:04
*** btully has quit IRC00:14
*** adriant has joined #openstack-horizon00:18
*** onovy has quit IRC00:23
*** onovy has joined #openstack-horizon00:23
*** aortega has quit IRC00:27
*** mtanin___ has joined #openstack-horizon00:28
*** doug-fish has quit IRC00:29
*** mtanino has quit IRC00:30
*** rajalokan has joined #openstack-horizon00:36
*** clu_ has quit IRC00:39
*** jtriley has joined #openstack-horizon00:39
*** TravT has joined #openstack-horizon00:42
*** ChanServ sets mode: +v TravT00:42
*** btully has joined #openstack-horizon00:44
*** jamielennox is now known as jamielennox|away00:49
*** hurgleburgler has quit IRC00:49
*** hurgleburgler has joined #openstack-horizon00:49
*** ChanServ sets mode: +v hurgleburgler00:49
*** jtriley has quit IRC00:49
*** tjones has left #openstack-horizon00:51
*** btully has quit IRC00:56
*** lblanchard has joined #openstack-horizon00:56
*** jamielennox|away is now known as jamielennox01:03
*** yamamoto has quit IRC01:03
openstackgerritTravis Tripp proposed openstack/horizon: Memoize policy service  https://review.openstack.org/34959401:04
*** revon has joined #openstack-horizon01:06
*** zhurong has joined #openstack-horizon01:08
*** bpokorny_ has joined #openstack-horizon01:09
*** TravT has quit IRC01:09
*** TravT has joined #openstack-horizon01:10
*** ChanServ sets mode: +v TravT01:10
*** TravT has quit IRC01:10
*** bpokorny has quit IRC01:12
*** sdake has quit IRC01:14
*** bpokorny_ has quit IRC01:14
*** pt_15 has quit IRC01:16
*** xiong has quit IRC01:17
*** btully has joined #openstack-horizon01:21
*** yamamoto has joined #openstack-horizon01:21
openstackgerritKenji Ishii proposed openstack/horizon: Fix untranslated help text in Launch Instance window  https://review.openstack.org/34944201:24
*** btully has quit IRC01:25
*** btully has joined #openstack-horizon01:27
openstackgerritKenji Ishii proposed openstack/horizon: Fix untranslated help text in Launch Instance window  https://review.openstack.org/34944201:29
*** btully has quit IRC01:35
*** btully has joined #openstack-horizon01:36
*** yamamoto has quit IRC01:44
*** yingjun has quit IRC01:48
*** uxdanielle has joined #openstack-horizon01:50
*** jhesketh has quit IRC01:51
*** jhesketh has joined #openstack-horizon01:51
*** mtanin___ has quit IRC01:52
*** pt_15 has joined #openstack-horizon01:54
*** zhurong has quit IRC01:57
*** zhurong has joined #openstack-horizon01:58
*** jtriley has joined #openstack-horizon01:59
*** yamamoto has joined #openstack-horizon01:59
*** liuyulong_ has quit IRC02:10
*** jtriley has quit IRC02:11
openstackgerritKenji Ishii proposed openstack/horizon: Fix the issue that strings written with multi line in a html file are not translated  https://review.openstack.org/34772502:12
*** liuyulong has joined #openstack-horizon02:17
*** wolverin_ has joined #openstack-horizon02:19
*** wolverin_ has joined #openstack-horizon02:20
*** wolverineav has quit IRC02:23
*** zhurong has quit IRC02:24
*** wolverin_ has quit IRC02:25
*** zhurong has joined #openstack-horizon02:26
*** jamielennox is now known as jamielennox|away02:28
openstackgerritKenji Ishii proposed openstack/horizon: Revert "i18n: trim whitespaces in extracted messages"  https://review.openstack.org/34975802:28
*** amitkqed has quit IRC02:30
*** amitkqed has joined #openstack-horizon02:30
*** uxdanielle has quit IRC02:38
*** jamielennox|away is now known as jamielennox02:42
*** yingjun has joined #openstack-horizon02:42
*** btully has quit IRC02:43
*** btully has joined #openstack-horizon02:44
*** asettle has joined #openstack-horizon03:07
*** btully has quit IRC03:08
*** btully has joined #openstack-horizon03:09
*** asettle has quit IRC03:13
*** lblanchard has quit IRC03:17
*** TravT has joined #openstack-horizon03:21
*** ChanServ sets mode: +v TravT03:21
*** amotoki has joined #openstack-horizon03:27
*** btully has quit IRC03:47
*** kenji-i has quit IRC03:51
*** kenji-i_ has joined #openstack-horizon03:51
*** dave-mccowan has quit IRC03:52
*** ducttape_ has joined #openstack-horizon03:56
*** sguduru has joined #openstack-horizon03:58
*** btully has joined #openstack-horizon03:59
*** yingjun has quit IRC04:00
*** dan_nguyen has joined #openstack-horizon04:00
*** yingjun has joined #openstack-horizon04:00
*** Marcellin_ has joined #openstack-horizon04:02
*** TravT has quit IRC04:06
*** masco has joined #openstack-horizon04:08
*** ducttape_ has quit IRC04:10
*** yottatsa has joined #openstack-horizon04:15
*** pt_15 has quit IRC04:16
*** wolverineav has joined #openstack-horizon04:18
*** julim has quit IRC04:19
*** itisha has quit IRC04:20
*** wolverineav has quit IRC04:22
*** zackf has quit IRC04:37
*** wolverineav has joined #openstack-horizon04:39
*** wolverineav has quit IRC04:40
*** wolverineav has joined #openstack-horizon04:40
*** roxanagh_ has joined #openstack-horizon04:45
*** dan_nguyen has quit IRC04:54
*** yottatsa has quit IRC05:07
*** revon has quit IRC05:10
*** ducttape_ has joined #openstack-horizon05:11
*** yottatsa has joined #openstack-horizon05:12
*** yottatsa_ has joined #openstack-horizon05:14
*** ducttape_ has quit IRC05:16
*** yottatsa has quit IRC05:17
*** ratailor has joined #openstack-horizon05:23
*** roxanagh_ has quit IRC05:42
*** zouyapeng has quit IRC05:42
*** purva has joined #openstack-horizon05:44
*** adriant has quit IRC05:58
*** javeriak has joined #openstack-horizon06:00
*** sguduru has quit IRC06:00
*** wolverineav has quit IRC06:05
r1chardj0n3srobcresswell: https://blueprints.launchpad.net/horizon/+spec/ui-router06:05
*** sguduru has joined #openstack-horizon06:07
*** ducttape_ has joined #openstack-horizon06:12
*** ducttape_ has quit IRC06:17
*** tovchinnikova has joined #openstack-horizon06:21
*** Marcellin_ has quit IRC06:27
*** roxanagh_ has joined #openstack-horizon06:39
*** mpavlase has joined #openstack-horizon06:42
*** btully has quit IRC06:43
*** tesseract- has joined #openstack-horizon06:43
*** roxanagh_ has quit IRC06:44
*** tnovacik has joined #openstack-horizon06:46
*** belmoreira has joined #openstack-horizon06:50
*** btully has joined #openstack-horizon06:51
*** mpavlase has quit IRC06:55
*** yottatsa_ has quit IRC06:57
*** btully has quit IRC07:00
*** zul has quit IRC07:09
*** btully has joined #openstack-horizon07:12
*** ducttape_ has joined #openstack-horizon07:13
*** btully has quit IRC07:17
*** ducttape_ has quit IRC07:18
*** jpich has joined #openstack-horizon07:20
robcresswellr1chardj0n3s: thanks07:24
*** zul has joined #openstack-horizon07:24
r1chardj0n3shappy to add clarification where needed. I didn't have time to actually prototype a patch using it today tho, sorry07:24
r1chardj0n3sI'm not sure I'll be able to until after pyconau to be honest07:24
robcresswellr1chardj0n3s: No worries, just trying to judge intent. It's a pretty commonly used lib in angular 1.x07:25
r1chardj0n3syeah07:25
*** mpavlase has joined #openstack-horizon07:25
*** jpich has quit IRC07:29
openstackgerritRob Cresswell proposed openstack/horizon: Add Angular Schema Form  https://review.openstack.org/33274507:30
*** mrunge has quit IRC07:33
*** jpich has joined #openstack-horizon07:41
openstackgerritRob Cresswell proposed openstack/xstatic-angular: Updated with xstatic-release script  https://review.openstack.org/34984207:42
robcresswellI did a silly again on the last xstatic.07:42
robcresswellr1chardj0n3s: Very minor patch if you're still around https://review.openstack.org/#/c/34984207:43
*** mrunge has joined #openstack-horizon07:48
*** ChanServ sets mode: +v mrunge07:48
*** sjmc7 has joined #openstack-horizon08:02
openstackgerritKenji Ishii proposed openstack/horizon: Fix so that a domain admin can manage user/group from table action.  https://review.openstack.org/33948708:07
*** sjmc7 has quit IRC08:07
openstackgerritMerged openstack/xstatic-angular: Updated with xstatic-release script  https://review.openstack.org/34984208:08
*** jamielennox is now known as jamielennox|away08:10
openstackgerritKenji Ishii proposed openstack/horizon: Fix so that a domain admin can manage user/group from table action.  https://review.openstack.org/33948708:11
*** yamamoto has quit IRC08:17
*** yohoffman has quit IRC08:17
*** mfisch has quit IRC08:17
*** yamamoto has joined #openstack-horizon08:17
*** yohoffman has joined #openstack-horizon08:19
*** DuncanT has quit IRC08:19
*** DuncanT has joined #openstack-horizon08:20
*** mfisch has joined #openstack-horizon08:22
*** mfisch has quit IRC08:22
*** mfisch has joined #openstack-horizon08:22
*** ygbo has joined #openstack-horizon08:24
*** yingjun has quit IRC08:29
*** javeriak has quit IRC08:36
*** btully has joined #openstack-horizon08:37
*** asettle has joined #openstack-horizon08:40
*** btully has quit IRC08:48
*** sjmc7 has joined #openstack-horizon09:03
*** liuyulong has quit IRC09:06
*** yottatsa has joined #openstack-horizon09:06
*** liuyulong has joined #openstack-horizon09:06
*** sjmc7 has quit IRC09:07
*** tovchinnikova has quit IRC09:11
*** ducttape_ has joined #openstack-horizon09:15
zigorobcresswell: Hi there!09:16
zigorobcresswell: Django 1.10 has been uploaded to Debian unstable yesterday, breaking all of Horizon ... :(09:17
mrungecongrats!09:18
zigomrunge: :/09:19
zigoI'm getting really tired of the python-django maintainers.09:19
mrungezigo, yes, I see that09:19
*** ducttape_ has quit IRC09:19
mrungeas the fedora python-django maintainer, I'm still a bit hesitant to push 1.10 to rawhide09:20
mrungewhich is said to eat babies09:20
mrungerawhide should be comparable with debian testing09:20
zigomrunge: I have added lots of patches on all dependencies of OpenStack for Django.09:21
*** mvk has quit IRC09:21
zigomrunge: Feel free to have a look in Debian.09:21
zigomrunge: Mostly, it's patches to add TEMPLATES[] definitions which are almost always lacking upstream.09:22
mrungethanks. will have a look09:22
zigomrunge: I wrote 10 patches for python-jingo for example...09:22
mrungebut I admit, I prefer this to be sorted out upstream09:22
mrungerobcresswell, calling for you ;-)09:22
zigoI did send pull requests everytime I could.09:23
zigomrunge: There's also a bunch of my patches for Horizon that are still waiting for review.09:23
zigohttps://review.openstack.org/#/c/344076/09:23
zigohttps://review.openstack.org/#/c/344931/09:23
mrungezigo, unfortunately, I have zero time for horizon any more09:23
zigohttps://review.openstack.org/#/c/345259/09:23
zigomrunge: The first one is really trivial ...09:24
mrungezigo, I really wonder why Debians django maintainer is that pushy with new releases09:27
zigomrunge: Because we want the next Stable debian (Debian 9, aka Stretch) to be released with Django 1.10.09:29
zigomrunge: So pushing Django 1.10 makes it so bugs are RC, and packages potentially removed from Stretch if they aren't fixed.09:29
mrungezigo, that is not a lts version09:29
mrungeyou probably won't get any security fixes in 18 months09:29
mrungeI mean, after 18 months from now09:30
zigomrunge: What's the LTS then?09:35
mrungezigo, that is Django-1.809:36
zigomrunge: It's going to be EOL soon, no?09:36
zigomrunge: The LTS don't last very long...09:36
mrungezigo last LTS was Django-1.409:37
mrungewhich was supported a half year after 1.8 was released09:37
*** btully has joined #openstack-horizon09:37
mrungezigo LTS typically receives security fixes over a period of 3 years09:39
mrungesee https://docs.djangoproject.com/en/1.10/internals/release-process/09:39
zigomrunge: With Debian LTS, we need 5 years after the release. With what you're saying, it means Django 1.8 support will end in May 2018. That's only about a year after Stetch will be out. That's really not enough.09:40
zigomrunge: So I do believe that the Django maintainer's decision to maintain 1.10 is correct.09:41
zigoIt's going to be easier to backport to 1.10 than it will be to 1.8.09:41
*** btully has quit IRC09:41
mrungezigo, how about the decision to push 1.7? that doesn't see any security fixes any more for more than 9 months now09:42
mrungeI'm not going to argue about their decision now.09:43
zigoIt's not my job either! :)09:43
zigomrunge: What I'm sure, anyway, is that Horizon needs to catch up faster with new releases of Django.09:43
mrungeas a person being there, it's a pain to backport security fixes to an ancient software version09:43
mrungeagreed09:44
mrungebut nobody really cares09:44
mrungezigo, it's not javascript, you know?09:44
mrunge:P09:44
zigomrunge: I'm not sure what you mean by that! :)09:44
tsufievzigo, mrunge meant that nobody is really interested in maintaining ancient legacy django code here09:46
zigotsufiev: I'm all for staying with current latest Django stable... :P09:47
mrungetsufiev, no. I meant, nobody is interested to maintain django code at all09:47
mrungeit's more: like don't care about django code at all09:47
*** javeriak has joined #openstack-horizon09:47
mrungenot about upgrading old django code to new one09:48
tsufievmrunge, that's not entirely true. I care about django code when it introduces 20-seconds rendering delays, making horizon unusable on large setups09:48
zigomrunge: Oh, you mean people prefer playing with JS, right?09:48
*** mvk has joined #openstack-horizon09:48
tsufievbesides from fixing urgent issues like that, yes, I would be happy to see django removed09:48
zigotsufiev: Could you review my patches, btw?09:49
mrungetsufiev, yes, I know some folks are working on that. Sorry to sound unfair09:49
zigotsufiev: https://review.openstack.org/#/c/344076/ https://review.openstack.org/#/c/344931/ https://review.openstack.org/#/c/345259/09:49
tsufievzigo, starred them09:49
zigoThanks.09:49
*** tosky has joined #openstack-horizon09:59
*** wolverineav has joined #openstack-horizon10:05
*** yamamoto has quit IRC10:06
*** wolverineav has quit IRC10:09
*** zhurong has quit IRC10:10
*** wolverineav has joined #openstack-horizon10:18
*** purva has quit IRC10:25
*** wolverineav has quit IRC10:27
*** asettle has quit IRC10:28
*** wolverineav has joined #openstack-horizon10:34
*** rodrigods has quit IRC10:36
*** rodrigods has joined #openstack-horizon10:36
*** btully has joined #openstack-horizon10:40
*** asettle has joined #openstack-horizon10:40
*** javeriak has quit IRC10:42
*** asettle has quit IRC10:43
*** asettle has joined #openstack-horizon10:44
*** btully has quit IRC10:48
*** wolverineav has quit IRC10:48
*** yamamoto has joined #openstack-horizon10:52
*** tovchinnikova has joined #openstack-horizon10:54
*** ducttape_ has joined #openstack-horizon11:16
*** ducttape_ has quit IRC11:21
openstackgerritMerged openstack/horizon: Memoize policy service  https://review.openstack.org/34959411:23
*** javeriak has joined #openstack-horizon11:24
*** zhenguo has joined #openstack-horizon11:25
*** sdake has joined #openstack-horizon11:27
*** sdake_ has joined #openstack-horizon11:30
*** sdake has quit IRC11:31
*** javeriak has quit IRC11:34
*** Yaroslav has joined #openstack-horizon11:36
*** btully has joined #openstack-horizon11:37
YaroslavHi, I use Ubuntu 14.04, I followed this manual http://docs.openstack.org/mitaka/install-guide-ubuntu/ and installed and configured Keystone, Glance, Nova and Neutron. And I have a problem with running Horizon.11:39
YaroslavI invoked all steps from http://docs.openstack.org/mitaka/install-guide-ubuntu/horizon-install.html11:40
Yaroslavhttp://10.237.216.195/ gives me Apache2 Ubuntu Default Page and http://10.237.216.195/horizon gives me nothing.11:42
Yaroslav10.237.216.195 - an Openstack hosts without UI11:43
*** wolverineav has joined #openstack-horizon11:44
*** wolverineav has quit IRC11:49
*** sdake_ is now known as sdake11:51
*** sguduru has quit IRC11:52
*** btully has quit IRC11:53
*** javeriak has joined #openstack-horizon11:55
robcresswellmrunge: o/11:57
*** wolverineav has joined #openstack-horizon11:57
robcresswellzigo: Reviewed them. I'm looking at django fixes atm12:02
robcresswellWill have patches up this week.12:02
*** uxdanielle has joined #openstack-horizon12:02
*** wolverineav has quit IRC12:03
robcresswellYaroslav: Usually the dashboard defaults to /dashboard12:05
*** sjmc7 has joined #openstack-horizon12:05
*** zhurong has joined #openstack-horizon12:07
*** ducttape_ has joined #openstack-horizon12:08
*** sjmc7 has quit IRC12:10
*** zhurong has quit IRC12:11
*** btully has joined #openstack-horizon12:12
Yaroslavrobcresswell: http://10.237.216.195/dashboard - Not Found12:14
*** zhurong has joined #openstack-horizon12:14
YaroslavI have a machine with Devstack and Horizon works well there, in my manual setup does not show login page12:15
*** ratailor has quit IRC12:15
*** yamamoto has quit IRC12:15
*** yamamoto has joined #openstack-horizon12:15
*** wolverineav has joined #openstack-horizon12:16
*** btully has quit IRC12:16
YaroslavI set DEBUG level for logs into /etc/openstack-dashboard/local_settings.py But I see only few lines after restarting apach server.12:17
*** tnovacik has quit IRC12:19
*** zhurong has quit IRC12:19
*** zhurong has joined #openstack-horizon12:19
openstackgerritMerged openstack/horizon: Correcting form_invalid get_context_data call  https://review.openstack.org/33770312:20
*** yamamoto has quit IRC12:21
*** uxdanielle has quit IRC12:23
*** aortega has joined #openstack-horizon12:23
*** rajalokan has quit IRC12:25
*** wolverineav has quit IRC12:25
*** ducttape_ has quit IRC12:26
*** rajalokan has joined #openstack-horizon12:26
*** wolverineav has joined #openstack-horizon12:30
*** zul has quit IRC12:32
*** javeriak has quit IRC12:32
*** javeriak has joined #openstack-horizon12:32
*** zul has joined #openstack-horizon12:32
*** pauloewerton has joined #openstack-horizon12:33
*** wolverineav has quit IRC12:35
robcresswellYaroslav: I don't have the time to dig through that guide right now. May be able to get support later on, or you can try #openstack12:36
*** wolverineav has joined #openstack-horizon12:36
*** wolverineav has quit IRC12:40
*** yamamoto has joined #openstack-horizon12:41
*** btully has joined #openstack-horizon12:42
*** wolverineav has joined #openstack-horizon12:44
*** lblanchard has joined #openstack-horizon12:47
*** jtriley has joined #openstack-horizon12:48
*** btully has quit IRC12:53
*** matt-borland has joined #openstack-horizon12:55
YaroslavA common questions, to install Horizon I need to do 3 things1. apt-get install openstack-dashboard 2. Edit /etc/openstack-dashboard/local_settings.py 3. service apache2 restart. Do I miss anything?12:56
YaroslavKeystone, Glance, Nova and Neutron have been installed already.12:57
*** hwcomcn has joined #openstack-horizon13:01
*** hwcomcn has quit IRC13:01
*** hwcomcn has joined #openstack-horizon13:02
*** mtanino has joined #openstack-horizon13:02
*** Raildo has joined #openstack-horizon13:02
*** btully has joined #openstack-horizon13:03
openstackgerritMatt Borland proposed openstack/horizon: Flavors panel can switch to Angular  https://review.openstack.org/34391713:05
*** wolverineav has quit IRC13:06
*** sjmc7 has joined #openstack-horizon13:06
*** ericksonsantos has quit IRC13:09
*** pauloewerton has quit IRC13:09
*** sjmc7 has quit IRC13:11
openstackgerritTatiana Ovchinnikova proposed openstack/horizon: Fix unit test indentation and the test itself  https://review.openstack.org/34999713:11
*** pauloewerton has joined #openstack-horizon13:12
*** ericksonsantos has joined #openstack-horizon13:12
*** ducttape_ has joined #openstack-horizon13:12
*** btully has quit IRC13:16
*** wolverineav has joined #openstack-horizon13:19
*** wolverineav has quit IRC13:25
*** btully has joined #openstack-horizon13:26
*** julim has joined #openstack-horizon13:26
*** julim has quit IRC13:26
*** ducttape_ has quit IRC13:29
*** wolverineav has joined #openstack-horizon13:31
robcresswelltsufiev: I think some of the transfer-table/dynamic-dynamic table work may have had side effects13:31
robcresswelltsufiev: https://bugs.launchpad.net/horizon/+bug/160846213:31
openstackLaunchpad bug 1608462 in OpenStack Dashboard (Horizon) "'non-assignable' JS error in NG LI" [Critical,Confirmed]13:31
*** julim has joined #openstack-horizon13:33
*** wolverineav has quit IRC13:36
openstackgerritTatiana Ovchinnikova proposed openstack/manila-ui: Remove unit tests warnings  https://review.openstack.org/35001113:37
*** liuyulong_ has joined #openstack-horizon13:39
*** wolverineav has joined #openstack-horizon13:39
*** liuyulong has quit IRC13:40
*** pt_15 has joined #openstack-horizon13:40
*** mtanino has quit IRC13:41
*** zhurong has quit IRC13:43
*** wolverineav has quit IRC13:44
*** itisha has joined #openstack-horizon13:46
*** wolverineav has joined #openstack-horizon13:46
*** uxdanielle has joined #openstack-horizon13:47
*** zhurong has joined #openstack-horizon13:51
*** ducttape_ has joined #openstack-horizon13:56
*** wolverineav has quit IRC13:56
*** sguduru has joined #openstack-horizon13:59
*** tovchinnikova has quit IRC14:01
*** wolverineav has joined #openstack-horizon14:02
*** ametts has joined #openstack-horizon14:04
*** Tamayo has joined #openstack-horizon14:04
*** zhurong has quit IRC14:06
*** zhurong has joined #openstack-horizon14:07
*** wolverineav has quit IRC14:07
*** sjmc7 has joined #openstack-horizon14:08
*** javeriak has quit IRC14:08
*** wolverineav has joined #openstack-horizon14:12
*** sjmc7 has quit IRC14:12
*** masco has quit IRC14:14
*** dave-mccowan has joined #openstack-horizon14:14
tsufievrobcresswell, hm, interesting14:17
tsufievI don't recall anyone found it during the corresponding patch review14:17
tsufievso it should have be caused by some other patch combined with transfer-table/hz-dynamic-table work14:17
tsufievthe bad thing is that we don't test for browser console errors currently in integration tests14:18
tsufievsince they don't show up for FF browser14:18
tsufievotherwise, it that was possible (and it is possible for Chrome) and NG LI test was merged, we would have detected it14:19
*** wolverineav has quit IRC14:19
*** sjmc7 has joined #openstack-horizon14:20
*** wolverineav has joined #openstack-horizon14:23
*** tosky has quit IRC14:25
*** asettle has quit IRC14:28
zigorobcresswell: I don't understand your comments on django-openstack-auth. That package only has a settings.py for testing. Did you mean that I need release notes for django-openstack-auth itself?14:28
*** tosky has joined #openstack-horizon14:28
tsufievzigo, you need to change horizon default settings as well, and in that case a release note is usually provided14:31
tsufievwho cares about the tests passing when the app itself doesn't work?14:31
*** wolverineav has quit IRC14:31
*** asettle has joined #openstack-horizon14:32
robcresswellzigo: Which patch sorry?14:33
*** wolverineav has joined #openstack-horizon14:33
robcresswellzigo: Oh, I found it. Yeah I said in the comment: "If we don't change the actual setting, then the tests will pass but Horizon itself still won't work"14:34
robcresswellPassing unit tests is not useful if they are using different settings to regular Horizon.14:34
*** aortega has quit IRC14:35
*** yottatsa has quit IRC14:37
*** wolverineav has quit IRC14:38
*** wolverineav has joined #openstack-horizon14:39
*** Marcellin_ has joined #openstack-horizon14:41
*** wolverineav has quit IRC14:43
*** weezS has joined #openstack-horizon14:44
*** wolverineav has joined #openstack-horizon14:44
*** mtanino has joined #openstack-horizon14:45
openstackgerritMatt Borland proposed openstack/horizon: Make 'switch' between legacy and Angular Images  https://review.openstack.org/33912214:45
openstackgerritMatt Borland proposed openstack/horizon: Enable Angular Image panel  https://review.openstack.org/33916414:48
openstackgerritLiao Zhuodi proposed openstack/horizon: Make the form _clean_rule_custom method full-fledged  https://review.openstack.org/35007214:48
matt-borlandrobcresswell, ^^ modified as requested...also rebased the child patch14:50
matt-borlandand added the changes to the docs in the parent and child patch14:50
robcresswellnice14:50
robcresswellthanks14:50
matt-borlandthanks for pointing that out...hoping we'll get successful gate passage14:51
*** hwcomcn has quit IRC14:51
*** asettle has quit IRC14:53
*** wolverineav has quit IRC14:54
*** asettle has joined #openstack-horizon14:54
*** TravT has joined #openstack-horizon14:56
*** ChanServ sets mode: +v TravT14:56
*** wolverineav has joined #openstack-horizon14:58
ducttape_could I please get some help with a workflow vote?  https://review.openstack.org/#/c/329167/  have 2 +2 votes on it14:59
tsufievducttape_, +A-ed15:00
tsufievI was waiting till the job pass15:00
ducttape_ah ok.  thanks tsufiev15:00
*** TravT_ has joined #openstack-horizon15:00
*** ChanServ sets mode: +v TravT_15:00
*** wolverineav has quit IRC15:03
*** TravT has quit IRC15:04
robcresswelltsufiev: You can just approve it. Once gate passes it should then go through, no?15:04
robcresswellIt wont go through with gate failure, even with a workflow anyway15:05
*** ezpz has joined #openstack-horizon15:05
tsufievrobcresswell, well, yes, I guess it would be the same15:05
tsufievdon't know why I did this :/15:06
*** yamamoto_ has joined #openstack-horizon15:07
zigorobcresswell: tsufiev: This is only django-openstack-auth, I don't see how something in there needs a release note, this can be addressed in Horizon I agree, but why a -1 there then?15:07
zigorobcresswell: tsufiev: Do you guys want a Depends-On commit?15:07
*** TravT_ has quit IRC15:08
*** tyr has joined #openstack-horizon15:08
*** wolverineav has joined #openstack-horizon15:09
tyrmorning o/15:10
*** TravT has joined #openstack-horizon15:10
*** ChanServ sets mode: +v TravT15:10
*** yamamoto has quit IRC15:10
*** TravT_ has joined #openstack-horizon15:11
*** ChanServ sets mode: +v TravT_15:11
*** tyr has quit IRC15:12
*** tyr_ has joined #openstack-horizon15:12
*** sguduru has quit IRC15:13
*** TravT has quit IRC15:14
ediardomorning \o15:15
robcresswellzigo: Oh! Yes, I'm sorry, you're correct. I was in my Horizon mindset. If you could follow up in Horizon that would be great.15:17
robcresswellI'll add a dj110 env too15:18
robcresswelltsufiev: zigo is right, no need to hold up doa patch15:20
*** belmoreira has quit IRC15:21
*** wolverineav has quit IRC15:21
tsufievah. okay15:23
*** wolverineav has joined #openstack-horizon15:23
robcresswellthanks zigo Sorry for the hassle15:24
*** wolverineav has quit IRC15:27
*** zhurong has quit IRC15:30
openstackgerritRob Cresswell proposed openstack/django_openstack_auth: Fix Django 1.10 tox env  https://review.openstack.org/35011215:30
*** wolverineav has joined #openstack-horizon15:31
*** wolverineav has quit IRC15:40
jlopezgumorning o/15:42
jlopezguthanks robcresswell for the reviews15:42
*** dave-mcc_ has joined #openstack-horizon15:43
*** dave-mccowan has quit IRC15:44
robcresswellno problem15:44
robcresswellducttape_: You around?15:45
robcresswellducttape_: Wondered if you might cast your eyes over a patch for me :)15:45
*** wolverineav has joined #openstack-horizon15:46
*** bpokorny has joined #openstack-horizon15:47
*** weezS has quit IRC15:47
*** weezS has joined #openstack-horizon15:49
ediardoGuys, need some help here with the messages module:15:49
ediardoIf I use messages.info(req, msg) a message is not shown after the server sends a response, but after I do a new request... I thought horizon.alert() was responsible for rendering that message but I think that's not correct anymore... I also see a cookie with the msg content, that's deleted after a third request is made..15:49
ducttape_I'm here robcresswell15:50
ducttape_more or less15:50
*** rfinn has joined #openstack-horizon15:51
ediardowhere could I learn more about messages?15:51
ducttape_ediardo: it matters when you place that message, you are placing it after the page header is started15:51
ediardoI see15:51
robcresswellhttps://review.openstack.org/#/c/332922 ducttape_15:51
ediardowell, that makes sense15:51
ducttape_ideally you want that message early on, like in get_context_data etc15:51
ducttape_right now you are seeing that message on the next page render, right  ediardo ?15:52
ediardoright15:52
ducttape_yep, I've seen this.... just need to move the message to a different spot ediardo15:52
ediardoafter the next page render then a new request needs to be made to delete that cookie15:52
ediardokk15:52
ediardoI'll take a look at it, thank you ducttape_15:54
*** ygbo has quit IRC15:54
ducttape_sure np good luck ediardo.   looking at that path, thanks robcresswell15:55
ducttape_patch*15:55
robcresswellducttape_: Thanks!15:55
*** tjones has joined #openstack-horizon15:58
*** yamamoto_ has quit IRC15:59
openstackgerritMerged openstack/horizon: [Django 1.10] Fix get_form uses kwargs  https://review.openstack.org/34493116:00
*** gokrokve has joined #openstack-horizon16:02
ducttape_done robcresswell16:03
ducttape_I think it's a good idea / general concept within the patch16:03
openstackgerritRob Cresswell proposed openstack/horizon: Add Angular Schema Form  https://review.openstack.org/33274516:03
*** Tamayo has quit IRC16:03
*** Tamayo has joined #openstack-horizon16:04
openstackgerritRob Cresswell proposed openstack/horizon: Add Angular Schema Form  https://review.openstack.org/33274516:04
robcresswellducttape_: Thanks16:10
*** aortega has joined #openstack-horizon16:11
*** TravT_ is now known as TravT16:13
*** javeriak has joined #openstack-horizon16:13
*** cfriesen_ has joined #openstack-horizon16:14
*** wolverineav has quit IRC16:15
*** asettle has quit IRC16:16
*** gokrokve has quit IRC16:17
*** javeriak_ has joined #openstack-horizon16:19
*** javeriak has quit IRC16:21
*** piet has joined #openstack-horizon16:22
*** wolverineav has joined #openstack-horizon16:23
openstackgerritMerged openstack/horizon: Default subnet dns added to create network  https://review.openstack.org/32916716:26
*** krotscheck is now known as krot_sickleave16:27
*** amotoki has quit IRC16:28
*** yamamoto has joined #openstack-horizon16:30
*** rhagarty has joined #openstack-horizon16:31
*** tosky has quit IRC16:34
*** yamamoto has quit IRC16:34
*** wolverineav has quit IRC16:35
*** wolverineav has joined #openstack-horizon16:37
ducttape_david-lyle: do you know of any react bps in process?16:37
david-lylenone yet16:38
ducttape_huh, interesting16:38
david-lylemaking a proposal16:39
tsufievTravT, are you around?16:39
david-lyle?16:39
TravThi tsufiev16:39
tsufievTravT, hi! I consider NG Create Image from a local file feature as a prerequisite for both GlanceV2 work and Angular/Legacy Image panel switch that Matt is working on16:40
TravTi definitely consider it pre-req to the v216:41
tsufievgiven that, a new iteration of reviews is certainly welcome :)16:41
TravTi have your patches starred and was going to look at them today. :)16:41
tsufievawesome!16:41
tsufievit was just a gentle reminder :)16:41
ducttape_david-lyle: no proposals from me.16:42
david-lyleducttape_: surely there's some newer hotness than that even16:42
*** bpokorny has quit IRC16:42
ducttape_sure, but I was thinking we could write a bp to remove all the angular and react at the same time, to be replaced with a new js framework that just came out this morning16:43
david-lylelol16:44
TravTmaybe we should write our own js framework16:44
tsufievha!16:44
TravTcall it "horizon"16:44
david-lyleI hear grommet is swell16:44
david-lyleTravT: ooh, even better16:44
ducttape_applets - hipster retro16:44
tsufievTravT, http://horizon.io/ is busy16:44
david-lyleyet another horizon name use16:44
*** Tamayo has quit IRC16:46
robcresswellUgh the grommet site has scroll hijacking16:47
*** Tamayo has joined #openstack-horizon16:47
robcresswellI dont know why thats become a UI trend.16:47
*** jpich has quit IRC16:47
david-lylerobcresswell: you are visitor 1216:48
robcresswellhaha16:48
*** Tamayo has quit IRC16:48
*** Tamayo has joined #openstack-horizon16:48
robcresswellThey're doing their part to drive down unemployment16:48
tsufievwhat's the grommet?16:48
robcresswellhttp://www.grommet.io/16:49
robcresswellIts HPs UI component collection16:49
robcresswellReact based16:50
tsufievoh16:50
*** bpokorny has joined #openstack-horizon16:51
*** tesseract- has quit IRC16:51
openstackgerritMerged openstack/django_openstack_auth: [Django 1.10] Define TEMPLATES  https://review.openstack.org/34407616:52
* tsufiev imagines the variation of xkcd comicstrip: 'Too many JS web-frameworks... We need a new one that will transpile to any of them! [a year passed] Now we have too many + 1 JS web-frameworks \o/'16:53
david-lyleJquery still works, just sayin'16:53
sjmc7:)16:53
ediardohttps://xkcd.com/927/16:54
tsufievediardo, yeah, that's it!16:56
ediardohas anyone thought on doing an easter egg? lol16:57
*** chlong has quit IRC16:58
*** clu_ has joined #openstack-horizon16:58
*** ChanServ sets mode: +v clu_16:58
david-lylehorizon is the easter eff16:59
david-lyle*egg16:59
ediardolol16:59
ducttape_I thought it was called ceilometer16:59
* ducttape_ shows himself the door16:59
robcresswellPoor ceilometer17:00
*** mpavlase has quit IRC17:01
*** yamamoto has joined #openstack-horizon17:02
*** julim has quit IRC17:02
*** piet has quit IRC17:04
*** mvk has quit IRC17:06
*** julim has joined #openstack-horizon17:06
ankur-gupta-fa secret button that when pressed recursively terminates everything in your tenant17:07
ankur-gupta-fsurprise!!!17:07
david-lyleunfortunately that's a really hard problem, we tried17:08
david-lylejust ask vkmc :(17:08
ducttape_rm -rf /   is a tough problem to solve  ;)17:09
ducttape_there is os-purge now, right ?17:09
ducttape_https://github.com/openstack/ospurge17:10
david-lyleinteresting17:10
openstackgerritMatt Borland proposed openstack/horizon: WIP: Enable Angular Flavors Panel  https://review.openstack.org/34445617:12
*** chlong has joined #openstack-horizon17:12
*** ametts has quit IRC17:12
*** yamamoto has quit IRC17:12
*** ametts has joined #openstack-horizon17:13
*** wolverineav has quit IRC17:15
*** wolverineav has joined #openstack-horizon17:16
*** piet has joined #openstack-horizon17:18
vkmctenant deletion workflow gosh17:19
*** wolverineav has quit IRC17:21
krot_sickleavematt-borland: Made some comments on https://review.openstack.org/#/c/349077/8 - there's a couple of things that need to be renamed.17:25
matt-borlandthanks krot_sickleave!!  I appreciate it.17:25
krot_sickleavematt-borland: Also, I think you should be able to run the tests manually with tox -ezuul17:26
krot_sickleaveDon't quote me on that17:26
matt-borlandheh heh, cool, I'll look into that. :)17:26
*** tqtran has joined #openstack-horizon17:31
*** wolverineav has joined #openstack-horizon17:34
*** wolverineav has quit IRC17:36
*** wolverineav has joined #openstack-horizon17:36
*** yamamoto has joined #openstack-horizon17:40
*** ankur-gupta-f1 has joined #openstack-horizon17:41
*** tjones has left #openstack-horizon17:48
*** yamamoto has quit IRC17:52
*** mvk has joined #openstack-horizon17:58
*** jamielennox|away is now known as jamielennox18:01
matt-borlandclu_, robcresswell: https://review.openstack.org/#/c/339122/ and its follow-on patch for the Images switch both passed check with the latest changes.  You can see that in both cases the right tests are skipped/run.  I'd like a final review...thanks!18:02
matt-borland(the right integration tests, in the zuul logs)18:02
*** amakarov has quit IRC18:04
*** amakarov has joined #openstack-horizon18:04
*** amakarov has quit IRC18:04
*** alexander__ has joined #openstack-horizon18:05
*** wolverineav has quit IRC18:07
*** wolverineav has joined #openstack-horizon18:07
*** itisha has quit IRC18:10
openstackgerritTatiana Ovchinnikova proposed openstack/manila-ui: Fix unit tests  https://review.openstack.org/35021018:11
*** pt_15 has quit IRC18:16
openstackgerritDiana Whitten proposed openstack/horizon: Style: Update Image Metadata overflow fail Style: Host Aggregate: Update Metadata overflow fail  https://review.openstack.org/34900818:17
*** wolverineav has quit IRC18:19
*** yamamoto has joined #openstack-horizon18:20
*** wolverineav has joined #openstack-horizon18:20
*** wolverineav has quit IRC18:25
*** jrist has quit IRC18:27
*** jrist has joined #openstack-horizon18:28
*** julim has quit IRC18:29
openstackgerritDiana Whitten proposed openstack/horizon: UX: Add IPSec Policy Modal Hint List is hard to read  https://review.openstack.org/34902618:30
*** jrist has quit IRC18:30
*** yamamoto has quit IRC18:30
*** wolverineav has joined #openstack-horizon18:30
*** julim has joined #openstack-horizon18:31
openstackgerritMerged openstack/horizon: No eslint errors in horizon.heattop.js  https://review.openstack.org/34700118:33
*** wolverineav has quit IRC18:34
*** wolverin_ has joined #openstack-horizon18:34
*** wolverineav has joined #openstack-horizon18:35
*** wolverineav has quit IRC18:35
*** wolverin_ has quit IRC18:35
*** wolverineav has joined #openstack-horizon18:35
*** tyr_ has quit IRC18:40
*** Raildo has quit IRC18:55
*** wolverin_ has joined #openstack-horizon18:55
openstackgerritMatt Borland proposed openstack/horizon: Flavors panel can switch to Angular  https://review.openstack.org/34391718:57
openstackgerritMatt Borland proposed openstack/horizon: WIP: Enable Angular Flavors Panel  https://review.openstack.org/34445618:57
*** yamamoto has joined #openstack-horizon18:58
*** jtriley has quit IRC18:58
*** wolverineav has quit IRC18:59
*** Raildo has joined #openstack-horizon19:01
*** Raildo has quit IRC19:01
*** asettle has joined #openstack-horizon19:03
*** julim has quit IRC19:04
*** julim has joined #openstack-horizon19:06
*** fifieldt has quit IRC19:07
*** yamamoto has quit IRC19:09
*** ezpz has quit IRC19:10
*** ankur-gupta-f1 has quit IRC19:12
openstackgerritPurva Tendulkar proposed openstack/horizon: Help tooltips added for dashboard names in the left navigation bar using Bootstrap tooltips. Closes-Bug: #1381641  https://review.openstack.org/35023619:14
openstackbug 1381641 in OpenStack Dashboard (Horizon) "add help tooltips to menu navigation" [Wishlist,New] https://launchpad.net/bugs/1381641 - Assigned to Cindy Lu (clu-m)19:14
openstackgerritMatt Borland proposed openstack/horizon: WIP: Enable Angular Flavors Panel  https://review.openstack.org/34445619:17
*** fifieldt has joined #openstack-horizon19:18
openstackgerritMatt Borland proposed openstack/horizon: Flavors panel can switch to Angular  https://review.openstack.org/34391719:20
openstackgerritMatt Borland proposed openstack/horizon: WIP: Enable Angular Flavors Panel  https://review.openstack.org/34445619:20
*** purva has joined #openstack-horizon19:24
*** hurgleburgler has quit IRC19:29
*** tyr_ has joined #openstack-horizon19:32
*** yamamoto has joined #openstack-horizon19:37
*** rfinn has quit IRC19:39
tqtranr1chardj0n3s: i am noticing something strange19:40
*** TravT has quit IRC19:40
tqtrani created containers and upload a file using the swift cli19:40
tqtranbut for whatever reason, im not seeing it when i hit the swift panel19:41
tqtranthe containers/files are not showing up19:41
tqtranstrange....19:41
tqtranbut i am doing some strange stuff with the acl, could this affect it?19:41
*** TravT has joined #openstack-horizon19:43
*** ChanServ sets mode: +v TravT19:43
*** yamamoto has quit IRC19:48
*** rfinn has joined #openstack-horizon19:53
*** javeriak has joined #openstack-horizon19:54
*** javeriak has quit IRC19:55
*** _ducttape_ has joined #openstack-horizon19:56
*** jrist has joined #openstack-horizon19:58
openstackgerritMatt Borland proposed openstack/horizon: Pre-test hook for integration tests/deprecated  https://review.openstack.org/34902019:58
*** javeriak_ has quit IRC19:58
*** TravT has quit IRC19:59
*** ducttape_ has quit IRC20:00
*** TravT has joined #openstack-horizon20:01
*** ChanServ sets mode: +v TravT20:01
*** julim has quit IRC20:04
*** jtriley has joined #openstack-horizon20:05
*** _ducttape_ has quit IRC20:09
*** ducttape_ has joined #openstack-horizon20:09
*** wolverin_ has quit IRC20:14
zigotsufiev: robcresswell: I don't think I can do something better than https://review.openstack.org/#/c/345259/, so please take it over and fix it, as I really don't know how.20:17
zigoShould I just abandon the patch, or maybe one of you can take it over?20:17
*** yamamoto has joined #openstack-horizon20:17
*** ducttape_ has quit IRC20:24
*** weezS has quit IRC20:25
*** ducttape_ has joined #openstack-horizon20:27
openstackgerritMerged openstack/horizon: Fix untranslated help text in Launch Instance window  https://review.openstack.org/34944220:27
*** yamamoto has quit IRC20:28
*** jtriley has quit IRC20:28
*** pt_15 has joined #openstack-horizon20:31
*** wolverineav has joined #openstack-horizon20:31
*** itisha has joined #openstack-horizon20:33
*** hurgleburgler has joined #openstack-horizon20:35
*** ChanServ sets mode: +v hurgleburgler20:35
*** openstackgerrit_ has joined #openstack-horizon20:35
*** wolverineav has quit IRC20:36
*** xiong has joined #openstack-horizon20:36
*** openstackgerrit_ has quit IRC20:36
xiongHey, has anybody done any work on angularizing the heat dashboard? When any call is made to heat, the promise returns immediately since heat operations often take a while. It's then up to horizon to continually query for status updates on operations. There is an existing django method to do this, but I'm trying to do something imilar in angular20:37
*** rhagarty has quit IRC20:38
openstackgerritMerged openstack/django_openstack_auth: Fix Django 1.10 tox env  https://review.openstack.org/35011220:38
r1chardj0n3stqtran: are you accessing the same account? I've never used the swift cli20:38
tqtrani have 4 different user accounts and two project accounts20:42
tqtranand they have cross-domain sharing of containers20:43
tqtranusing the swift cli, i am able to list and view them all20:43
tqtranbut when i log into horizon, i am unable to see it20:43
tqtrannothing shows up for me20:43
tqtranlet me try creating another account witout any acl20:43
tqtranand see if that shows up20:44
*** ametts has quit IRC20:44
tqtrannvm i lied, it didnt work because i had a breakpoint in the swift code :P20:46
*** wolverineav has joined #openstack-horizon20:46
tqtranr1chardj0n3s: ^20:47
tyr_xiong: what kind of call to heat do you mean?20:48
tqtranbut it does bring up an interesting point. right now we are scoped to a project. swift isnt bog down by this concept, you can do x-domain sharing of containers20:48
tqtrannot sure how you would show that in horizon20:49
*** aortega has quit IRC20:51
*** wolverineav has quit IRC20:52
*** wolverineav has joined #openstack-horizon20:55
xiongtyr_: I was trying to do heatstack_delete20:55
r1chardj0n3stqtran: sweet :-)20:55
*** wolverineav has quit IRC20:56
xiongIt's my understanding that the promise it returns resolves before the actual deletion completes20:56
xiongIs that right?20:56
tyr_that's correct.20:56
*** wolverineav has joined #openstack-horizon20:56
r1chardj0n3stqtran: I've been aware that there's additional access stuff that might be doable in the swift UI but no-one's shown any interest in it AFAICT20:56
*** yamamoto has joined #openstack-horizon20:57
robcresswellzigo: As I said in the review, I'll look into it20:57
tyr_xiong: I think you want something like https://review.openstack.org/#/c/34621020:58
tyr_is this action on a row item?20:58
xiongtyr_: It's a global action21:00
xiongWell, that's not strictly true21:00
xiongThe global action affects a row item, and there is only one row item allowed21:00
xiongSo I guess in the context of updating the row's status, it's effectively a row action?21:01
tqtranr1chardj0n3s: i think it might actually pretty hard to do that. you would have to know as a user that you are given access to a certain container/object ahead of time21:01
r1chardj0n3syecch :-)21:02
tqtranyeah, not pleasant, i doubt that even the swift ui handles this21:02
*** Tamayo has quit IRC21:02
tyr_xiong: the strategy we are working on is to register an "inTransition" function for the resource type. the generic table will then call that function (if present) for each row of data passing in the row data. If that function returns true...the row is highlighted.21:02
*** Tamayo has joined #openstack-horizon21:03
tqtranwe probably just need a url input and a button that would give the user access to hidden containers/objects provided that they know what the url is21:03
*** Tamayo has quit IRC21:03
tyr_The part that matt-borland and I haven't gotten to is what to do IF a row is in-transition...other than just highlight it.21:03
*** Tamayo has joined #openstack-horizon21:03
tqtranbut yeah, if theres no pressing need for it, it'll just be wasted effort21:03
tyr_xiong: a natural next step is to refresh the entire table...or ideally, poll on the specific rows until they are no longer in-transition.21:04
tqtranthe swift client does support this feature though21:04
*** yamamoto has quit IRC21:04
xiongtyr_: As of right now though, is there any way to affect behavior while a row is in transition, or no longer in transition?21:04
*** yamamoto has joined #openstack-horizon21:05
tyr_xiong: affect the behavior of what?21:05
*** wolverineav has quit IRC21:06
xiongWell I'd like my panel to make a call to heat, and I could use what's in that patch to poll for transition state21:06
xiongOnce the heat call is completed, I'd like to be able to make a follow up API call to a different API21:06
xiongAfter that follow up API call, I'd like to refresh the page21:06
robcresswellxiong: My over-engineering senses are tingling :p21:07
xiongExplain?21:08
robcresswellCould you explain a little more indepth what you're trying to do?21:08
xiongSure21:08
tyr_robcresswell: I think xiong has a very common use case. Similar to instances or images that take a few minutes to complete their lifecycle21:08
*** matt-borland has quit IRC21:08
xiongAs yo uknow, I'm angularizing some existing django dashboards21:08
xiongThe one I'm currently working on uses both Heat and Neutron API's (the neutron api is a plugin()21:08
robcresswelltyr_: The complexity I was referring to was API calls following API calls whilst polling.21:09
robcresswelltyr_: So Im curious about the use case, and whether we can simplify things. This doesn't sound like a common use case, to me.21:09
xiongI want to first apply a network template (which is part of the neutron plugin)21:09
robcresswellxiong: Sure21:09
xiongOnce that's applied, heat can begin its orchestration21:10
xiongOn the flip side, in order to undo this process, I want to delete the heat stack21:10
xiongAnd then once that's done, remove the networkt emplate21:10
xiongBut I can't do the second step until heat is done deleting the heat stack21:10
*** yamamoto has quit IRC21:10
xiongIt's a single global action, but it has two steps, one dealing w/ heat, and one dealing w/ neutron21:10
*** wolverineav has joined #openstack-horizon21:11
xiongI know for the Django Orchestration panel, there's a similar construct that allows for periodic polling of a row21:11
robcresswellThis is an action that would be done during the configuration of a single resource? Or across multiple at once?21:12
*** wolverineav has quit IRC21:12
*** wolverineav has joined #openstack-horizon21:12
xiongOne at a time21:13
openstackgerritDiana Whitten proposed openstack/horizon: Legacy Transfer Table should inherit from theme  https://review.openstack.org/30362521:14
*** jtriley has joined #openstack-horizon21:14
robcresswellGenerally speaking, my advice with this kind of action (if I understand correctly) is to have multiple actions or multi step workflows21:15
robcresswellRather then attempting to do *all* the config and then carry out all the API calls as an atomic action21:15
robcresswellHave your config for the first call in the first step, and have the second step as a large "do a thing" button, and once it completes, reveal that second step.21:16
openstackgerritDiana Whitten proposed openstack/horizon: XStatic Libraries should auto discover  https://review.openstack.org/19537121:16
robcresswellOr, have two tabs representing the two states of the resource as its processed21:16
robcresswellChaining APIs tends to be extremely fragile and results in Horizon carrying quite a lot of logic (often orchestration of its own) to undo it21:17
tyr_robcresswell: makes a good point. Consider what happens if the user navigates to another page between steps A and B21:18
wolverineavrobcresswell, tqtran - i think the way xiong wants the action to be is like the resource update per row for heat stacks: https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/stacks/tables.py#L337-L35121:18
wolverineavand as soon as HTTP404 happens for any particular row, we can do the next operation - like deleting a related item from neutron21:19
wolverineavdoes that make sense?21:19
wolverineavah, but like you said - if the user switches between pages, that does cause some issues.21:20
tyr_one option to consider is have the "perform" method of the angular action do both steps A and B before returning control to the user.21:20
*** pauloewerton has quit IRC21:20
wolverineavi haven't actually tried it and always relied on the fact that the user is there until the action is finished.21:20
tyr_that may make for a very long running...and very complex action as it will need to handle partial failures...but its a starting point.21:21
robcresswellwolverineav: The other difficult part is that then Horizon carries logic for deleting items in certain states etc. I realise this sounds petty, but that kind of logic is generally very fragile (and beyond the scope of the project, really)21:21
wolverineavyep, i see its a moot point actually to depend on chaining actions that way.21:22
tyr_isn't heat built to do this kind of orchestration (affect resource A, then affect resource B, etc)?21:23
wolverineavtyr_ that's correct - but that's inside the heat service, not from horizon. horizon simply checks the status.21:24
tyr_I'm wondering if you could flip your workflow around such that the neutron work was part of the heat stack...not sure if that makes sense or not21:24
robcresswellwolverineav: Is this internal or upstream work?21:26
robcresswellJust because a blueprint with specific APIs etc might help us understand21:26
*** Marcellin_ has quit IRC21:27
wolverineavrobcresswell - this is internal, but the code is all public. however there may not be blueprints available :|21:27
tyr_wolverineav: and xiong, another option to consider is that if you action returns "updated" items in the ActionResult, your table controller can take whatever multi-step / polling action it wants...however hairy that might be :)21:29
*** rfinn has quit IRC21:30
wolverineavtyr_ that sounds like a reasonable workaround!21:30
*** lblanchard has quit IRC21:31
robcresswell:)21:31
*** Tamayo has quit IRC21:31
tyr_as robcresswell points out, polling on the status of updated items, then taking additional API actions when they change may be fragile...and the user may exit horizon before all steps complete...21:31
wolverineavis the heat dashboard angularized? that might have many of these facets solved - the async status update is kind of natural to heat21:32
robcresswellwolverineav: If you want more detailed info, writing up the intent/apis etc may help us give more info21:32
*** Tamayo has joined #openstack-horizon21:32
robcresswellDifficult to gauge exactly.21:32
robcresswellAnd no, it isnt.21:32
wolverineavrobcresswell - i completely understand. let me try out a few things with xiong. if it doesn't work or seems like upstream might be a better place to do it, i'll detail it with the APIs :)21:33
wolverineavthanks for the pointers and suggestions! :D21:33
robcresswellNo worries, good luck21:34
xiongrobcresswell: tyr_: Editing the table controller seems a bit unorthodox, since right now I'm using the hz-resource-table and its associated controller. If we were to go w/ the workaround where we do this logic in the controller, how would we do the "surgery" required to redirect the table to use our modified controller?21:34
tyr_I'd start by using hz-dynamic-table directly.21:35
tyr_that exposes the resultHandler to the caller21:35
tyr_Basically you'd be writing something very similar to hz-resource-table...but with your own resultHandler logic21:35
tyr_hz-resource-table is kind of meant to be the 80% use case for simple lists of resources with simple actions. Your case wants a little more control so you'd work with widgets 1 layer lower (hz-dynamic-table)21:37
*** jtriley has quit IRC21:37
tyr_Alternatively, I think you could create a single action whose perform method did multiple steps before resolving its promise.21:39
r1chardj0n3styr_: fyi https://blueprints.launchpad.net/horizon/+spec/ui-router21:40
*** jtriley has joined #openstack-horizon21:40
tyr_ooo r1chardj0n3s...that sounds exciting21:41
r1chardj0n3sI need to flesh it out with some actual steps and also a POC of the use of it in the swift ui21:43
*** Tamayo has quit IRC21:44
r1chardj0n3s... speaking of POCs... I didn't heard anything re https://review.openstack.org/#/c/345145/ from tyr_/TravT/borland :-)21:44
*** purva has quit IRC21:45
*** Tamayo has joined #openstack-horizon21:45
*** xiong has quit IRC21:45
tyr_I'll have to look at that more closely. Trying to get listFunction improved and schemaForms reviewed so i can build designate.21:47
*** Tamayo has quit IRC21:49
r1chardj0n3styr_: yep, I need to get back to the listFunction and schemaForm patches21:50
tyr_thanks r1chardj0n3s. Attempting to improve listFunction has led to a horrible rabbit hole of tweaking in hz-dynamic-table to make it "actually dynamic" :|21:51
r1chardj0n3s:-D21:51
openstackgerritDiana Whitten proposed openstack/horizon: UX: System Information Overflow Fail  https://review.openstack.org/35028121:51
tyr_isolate scopes should be mandatory ;|21:52
*** jtriley has quit IRC21:58
r1chardj0n3styr_: when I was looking into dynamic-table I noticed there was a rather arbitrary line drawn between diective attributes and config object paramaters21:59
r1chardj0n3sthat's probably out of scope for what you're doing tho22:00
tyr_I saw your comment :) and exactly part of what I'm into22:00
*** rfinn has joined #openstack-horizon22:00
r1chardj0n3s\o/22:00
TravTif we need to change some of that, need to do it very shortly...22:01
tyr_config is now watched allowing dynamic table to change its columns etc...just tidying up my patch.22:01
TravTr1chardj0n3s: i'll try to get to your scopes tomorrow. promised timur that i'd look over his images patches today and somehow today is nearly over22:02
r1chardj0n3slike, I *think* that the more angular approach would be to nuke "config", move easy stuff onto the directive and move columns into sub-directives22:02
tyr_and TravT you'll be glad to see that it doesn't need to modify columns to add its allowed annotations.22:02
r1chardj0n3sTravT: cheers22:02
tyr_r1chardj0n3s: I *think* I agree...but that ship may be a bit too far out of the harbor for Newton. I'll have a think...22:03
r1chardj0n3styr_: definitely :-)22:03
r1chardj0n3s... or columns can be a complex JS object, but it's the only thing left in "config" so effectively "columns" becomes an attribute on the dynamic-table directive22:04
*** jtriley has joined #openstack-horizon22:05
tyr_yeah...that might be doable in my current work22:05
* TravT shudders22:07
*** asettle has quit IRC22:10
*** wolverineav has quit IRC22:15
*** wolverineav has joined #openstack-horizon22:17
*** hurgleburgler has left #openstack-horizon22:19
*** jtriley has quit IRC22:20
*** wolverineav has quit IRC22:21
*** sjmc7 has quit IRC22:22
*** xiong has joined #openstack-horizon22:23
openstackgerritBrad Pokorny proposed openstack/horizon: Remove extraneous TODOs from Identity code  https://review.openstack.org/35028822:23
*** jtriley has joined #openstack-horizon22:26
*** wolverineav has joined #openstack-horizon22:27
*** mpavlase has joined #openstack-horizon22:29
*** wolverineav has quit IRC22:32
*** wolverineav has joined #openstack-horizon22:35
openstackgerritRebecca Finn proposed openstack/horizon: [WIP] Allow instance snapshot to be pre-selected as source image  https://review.openstack.org/35029122:37
openstackgerritRebecca Finn proposed openstack/horizon: [WIP] Allow instance snapshot to be pre-selected as source image  https://review.openstack.org/35029122:40
*** sdake has quit IRC22:40
*** jtriley has quit IRC22:44
*** _ducttape_ has joined #openstack-horizon22:44
openstackgerritRebecca Finn proposed openstack/horizon: [WIP] Allow instance snapshot to be pre-selected as source image  https://review.openstack.org/35029122:44
*** ducttape_ has quit IRC22:47
*** _ducttape_ has quit IRC22:48
*** david-lyle has quit IRC22:50
*** david-lyle has joined #openstack-horizon22:51
*** ChanServ sets mode: +o david-lyle22:51
*** uxdanielle has quit IRC22:55
*** dave-mcc_ has quit IRC23:02
*** julim has joined #openstack-horizon23:03
*** wolverineav has quit IRC23:05
*** aortega has joined #openstack-horizon23:06
*** wolverineav has joined #openstack-horizon23:06
tyr_r1chardj0n3s: changing the parameters to hz-dynamic-table at this point would potentially break any custom hz-detail-row templates people have written that assume access to any of the table parameters.23:13
r1chardj0n3syeah23:13
r1chardj0n3s:/23:13
tyr_I can't even change hz-dynamic-table to use "controller as" for the same reason. hz-detail-row doesn't enforce a well defined contract by not using isolate scope, preventing meaningful refactoring at this point :(23:14
*** wolverineav has quit IRC23:14
r1chardj0n3s:-(23:14
tyr_but it can at least respond to dynamic changes (or late binding) in the config!!23:15
*** sdake has joined #openstack-horizon23:15
openstackgerritTyr Johanson proposed openstack/horizon: Allow listFunction extra params  https://review.openstack.org/34626923:16
*** mpavlase has quit IRC23:17
*** sdake_ has joined #openstack-horizon23:17
*** wolverineav has joined #openstack-horizon23:17
*** tyr_ has quit IRC23:19
*** sdake has quit IRC23:20
*** sdake_ is now known as sdake23:21
*** rfinn has quit IRC23:23
*** wolverineav has quit IRC23:25
*** wolverineav has joined #openstack-horizon23:28
*** wolverin_ has joined #openstack-horizon23:29
*** wolverin_ has quit IRC23:29
*** wolverineav has quit IRC23:30
*** wolverin_ has joined #openstack-horizon23:30
*** TravT has quit IRC23:34
*** xiong has quit IRC23:41
*** xiong has joined #openstack-horizon23:42
*** yingjun has joined #openstack-horizon23:43
*** jtriley has joined #openstack-horizon23:53

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