Tuesday, 2017-04-04

*** jtriley has joined #openstack-horizon00:05
guglr1chardj0n3s, I run into some issues for example , the pause action doesn't respond in table action, but in the overview action, it has some 401 errors...there are some issues as well.00:18
r1chardj0n3sgugl: thanks for testing, please make notes against the patch :-)00:19
*** rajalokan has joined #openstack-horizon00:19
guglr1chardj0n3s, I started without your changes to make sure most of the actions are ok. Then applied changes...will compile the list of issues and let you know00:19
r1chardj0n3sthanks gugl!00:24
*** catintheroof has joined #openstack-horizon00:25
*** jtriley has quit IRC00:29
openstackgerritwei.ying proposed openstack/horizon master: Fix edit qos spec form exception  https://review.openstack.org/45299900:38
*** rajalokan has quit IRC00:42
*** rajalokan has joined #openstack-horizon00:42
*** rajalokan has quit IRC00:54
*** rajalokan has joined #openstack-horizon00:55
*** catintheroof has quit IRC01:02
openstackgerritRichard Jones proposed openstack/horizon master: Expose more of Swift to ResourceType  https://review.openstack.org/34874101:03
*** Tamayo has quit IRC01:12
*** dave-mccowan has quit IRC01:17
*** aortega has quit IRC01:31
adriantr1chardj0n3s, around for some more silly questions? :P01:57
*** harlowja has quit IRC02:06
*** harlowja has joined #openstack-horizon02:50
*** weezS has joined #openstack-horizon02:51
r1chardj0n3sadriant: could be :-)02:56
adriantr1chardj0n3s, this unrelated to the v2/v3 rc thing, and sort of related to the url stuff I was doing a while back.02:59
adriantr1chardj0n3s, now what I need to do is... from the scope of my plugin, add an extra bit to the login form for horizon without overriding the whole template.03:00
adrianthttp://paste.openstack.org/show/605322/03:00
adriantsimilar to how we have it on our actual dashboard here: https://dashboard.cloud.catalyst.net.nz03:00
adriantI want this plugin to be able to be installed easily in a devstack environment and just 'work' for the features my service has.03:01
adriantso I'm working to decouple my code from our company code so I can properly upstream it03:02
*** wuyanjun has joined #openstack-horizon03:03
*** Elaine_wu has quit IRC03:06
adriantr1chardj0n3s, basically, I'm after some sort of way from the scope of my plugin to do 'minor' changes to the login template. In our case for the production deploy we just have the change in a custom theme, but the goal of this plugin is to make it work standalone against a devstack or some such. :/03:07
r1chardj0n3sadriant: sorry, I'm in a meeting right now, will get back to you in a couple of hours I hope03:07
adriantr1chardj0n3s, not a problem :)03:08
adriantI'm aware my questions are weird enough anyway as I'm doing slightly odd stuff with horizon.03:09
*** amotoki has joined #openstack-horizon03:34
*** gary-smith_ has quit IRC03:46
*** amotoki has quit IRC03:50
*** harlowja has quit IRC03:56
*** amotoki has joined #openstack-horizon04:01
*** harlowja has joined #openstack-horizon04:07
*** Adri2000 has quit IRC04:17
*** Adri2000 has joined #openstack-horizon04:17
*** amotoki has quit IRC04:19
*** amotoki has joined #openstack-horizon04:28
*** harlowja has quit IRC04:33
*** weezS has quit IRC04:39
*** rcernin has joined #openstack-horizon04:45
*** weezS has joined #openstack-horizon04:47
robcresswelladriant: The only way to override templates is either inherit and override blocks, or override the entire thing05:03
robcresswellThere's no way of doing small parts I think, unless you use jQuery to manipulate it. (Don't do this)05:04
*** vishwana_ has joined #openstack-horizon05:05
*** betherly_ has joined #openstack-horizon05:07
*** ratailor has joined #openstack-horizon05:09
*** John341 has joined #openstack-horizon05:09
*** rcernin has quit IRC05:09
*** rcernin has joined #openstack-horizon05:11
*** harlowja has joined #openstack-horizon05:11
*** rodrigod` has joined #openstack-horizon05:12
*** NikitaKonovalov2 has joined #openstack-horizon05:13
*** NightKhaos_ has joined #openstack-horizon05:13
*** xhku_ has joined #openstack-horizon05:13
*** vishwanathj has quit IRC05:14
*** fbouliane has quit IRC05:14
*** Krenair has quit IRC05:14
*** jgravel has quit IRC05:14
*** NikitaKonovalov has quit IRC05:14
*** betherly has quit IRC05:14
*** rodrigods has quit IRC05:14
*** John341_ has quit IRC05:14
*** zhenguo has quit IRC05:14
*** NightKhaos has quit IRC05:14
*** ankur-gupta-f4 has quit IRC05:14
*** NightKhaos_ is now known as NightKhaos05:14
*** NikitaKonovalov2 is now known as NikitaKonovalov05:14
*** jamielennox is now known as jamielennox|away05:15
*** betherly_ is now known as betherly05:16
*** udesale has joined #openstack-horizon05:17
adriantrobcresswell, I very much want to avoid any javascript manipulation.05:17
*** Krenair has joined #openstack-horizon05:17
adriantrobcresswell, I'm playing with doing an override that extends the old default and just changes the login_footer block05:17
adriantwe'll see how that works05:18
adriantproblem is, I have to override that block with the old content it had, and add my own.05:18
adriantIt would be nice if there was an additional block for additional links or data like I'm doing in core horizon05:18
adriantas then I could use that block instead05:18
adriantrobcresswell: although right now I can't even test that my current override works because of odd issues with my enable file not actually registering the blasted panel! gah!05:19
r1chardj0n3sadriant: sorry, meetings ran longer than humanly acceptable :-)05:20
* r1chardj0n3s reads scrollback05:20
adriantr1chardj0n3s: not a problem.05:21
adriantrobcresswell, r1chardj0n3s: this is what my template looks like at the moment: http://paste.openstack.org/show/605330/05:21
adriantI've not yet been able to test that it actually works as expected :P05:22
adriantthe problem being that even if that template works, I'm having to add that button back in. Which means if the default button changes my template will override it, and may break things.05:23
r1chardj0n3sright, I getcha05:23
adriantbasically, see here: https://dashboard.cloud.catalyst.net.nz/ and the click the reset password link05:24
adriantI have a service that handles that, and I'm trying to make that feature in horizon pluggable05:24
r1chardj0n3sadriant: are you familiar with {{ block.super }} ?05:25
r1chardj0n3shttps://docs.djangoproject.com/en/dev/ref/templates/language/#template-inheritance05:25
r1chardj0n3sI think it'll help you do what you need to do05:25
adriantno? I've not don't as much with django templates as I should05:25
r1chardj0n3sby allowing you to pull in the default content and add your own05:25
adriantoh!05:25
*** amotoki has quit IRC05:26
adriantah ok yes that should so it05:26
r1chardj0n3s(I also only learned about {{ block.super }} just now :-)05:26
adriantI'm mostly a backend dev really, although I do a hell of a lot with django. I really need to learn more about the templates...05:27
adrianthttp://paste.openstack.org/show/605331/05:27
adriant^ that should hopefully then do it!05:27
* r1chardj0n3s also hopes :-005:27
adriantnow back to figuring out why my panel isn't being loaded :(05:28
*** amotoki has joined #openstack-horizon05:30
*** jamielennox|away is now known as jamielennox05:37
*** udesale__ has joined #openstack-horizon05:42
*** udesale has quit IRC05:43
*** madgoat has joined #openstack-horizon05:45
*** madgoat has left #openstack-horizon05:46
*** harlowja has quit IRC06:02
*** udesale__ has quit IRC06:08
openstackgerritFerenc Cserepkei proposed openstack/horizon master: TrunkPort, Horizon workflow: launch instance, django version  https://review.openstack.org/45272506:18
*** tesseract has joined #openstack-horizon06:26
*** itxaka has joined #openstack-horizon06:28
adriantr1chardj0n3s: gah! The template override both works, and doesn't. Partly because I can't override it how I want, as that causes recursion issues :/06:49
adriantr1chardj0n3s: but I think I can do a patch to horizon itself which will add something I can override and should be a tiny tiny amount of code.06:52
adriantwell, template code06:52
adriantBut it's up to you guys if you'd approve it.06:52
adriantWill test, spec, and submit the patch.06:52
r1chardj0n3sadriant: is the "override it how I want" the paste you provided above?06:53
adriantsort of yeah, but that causes a recursion problem as I want to override the template by name, and extend the 'old' template of that name...06:55
adriantwhich well06:55
adriantyou can't06:55
adriantI was hoping to make a template 'auth/_login_page.html' with this content: http://paste.openstack.org/show/605349/06:56
adriantbut as that causes a recursion problem I have to do: http://paste.openstack.org/show/605350/06:57
adriantwhich works, but still means I'm overriding more than I want06:57
adriantr1chardj0n3s: the solution is in core horizon change the _login_page.html template to: http://paste.openstack.org/show/605351/07:00
*** amotoki has quit IRC07:00
adriantand then I can create a template '_login_form_footer.html' which has the only content as:  '<p>Can't log in? <a href="/forgot-password/">Reset your password</a>.</p>'07:00
*** makowals has joined #openstack-horizon07:00
adriantwhich would also need to be added but empty to the openstack_dashboard/templates folder just like _login_footer.html07:01
adriantthat means people can easily add additional content just below the login button in the login form itself07:01
r1chardj0n3shurm, I'm surprised that issue hasn't come up for other folks in the django world07:03
*** amotoki has joined #openstack-horizon07:03
adriantr1chardj0n3s: the problem is that the template loader can't differentiate between the original version, and the new one with the same name, as the old one just, doesn't exist to it.07:05
adriantso when you extend the same name... it extends itself07:05
adriantrecursively, forever07:05
adriant"RuntimeError: maximum recursion depth exceeded while calling a Python object"07:05
r1chardj0n3sright :-(07:07
adriantr1chardj0n3s: I'll throw up a spec tomorrow for my template thing, and a patch. It's a small patch that just adds an include for what I want to do, and lets me and other people stick in some extra stuff right below the login button.07:08
r1chardj0n3sadriant: yep, thanks07:09
r1chardj0n3sI can't immediately find anything useful out there about replacing a template but also extending the replaced template07:09
adriantyeah, I don't think it can be done :(07:09
adriantr1chardj0n3s: and my hack for url loading doesn't seem to want to work anymore so back to the drawing board.07:14
r1chardj0n3s:-(07:14
adriantr1chardj0n3s: would there be any opposition to me building a mechanism for horizon to allow pluggable pre-login views?07:14
adriantlike my forgot password thing07:15
*** zhenguo has joined #openstack-horizon07:15
r1chardj0n3sadriant: that's the realm of a proposal to take to the broader community through formulating the idea, proposing it via email / team meeting and seeing what folks say. I don't see an issue with it, if we do it reasonably :-)07:15
*** ankur-gupta-f4 has joined #openstack-horizon07:16
robcresswelladriant: I very much doubt you're the only person who would like to manipulate the login stuff, so its worth looking into if you have some spare time to come up with a proposal and reasonably generic solution07:17
adriantr1chardj0n3s: as an alternative, can I hide panels from the menu?07:19
*** jgravel has joined #openstack-horizon07:19
*** pcaruana has joined #openstack-horizon07:19
adriantrobcresswell: I can probably find the time, and I'd want to ensure anything I did was suitably generic and close to the panel loading mechanism, just for pre-login views.07:20
adriantoh and robcresswell, are you ok with me taking https://bugs.launchpad.net/horizon/+bug/1547061 and fixing it? I need the fix for our ocata upgrade, so if I can do one I can backport for our own deployment that would rock.07:23
openstackLaunchpad bug 1547061 in OpenStack Dashboard (Horizon) "openrc v2.sh contains /v3 url" [Undecided,Confirmed]07:23
robcresswelladriant: Yeah, go ahead07:24
robcresswelladriant: FYI, I saw your comment on it the other day; people have been using it for a while, but perhaps not in the way you were :)07:24
adriantrobcresswell, yeah, it's a weird one, but a relatively easy fix. I personally want us to drop v2 altogether but we can't yet so I'm working out a migration path and telling our users to move to v3 and making that easy is important.07:27
adriantand by us I mean our deployment.07:27
*** udesale has joined #openstack-horizon07:27
adriantupstream is already pretty much at the point of finally dropping v2 entirely, which I why I've been trying to push us.07:27
robcresswelladriant: We're deprecating our v2 code path for Pike07:29
robcresswellAnd will default to v307:29
adriantbut not getting rid of the v2 stuff yet though right?07:29
robcresswellNo07:29
adriantyeah, keystone is teetering very close to outright dropping v2 it looks like, but I think not just yet.07:30
adriantanyway, home time for me, and I'll throw up some patches, and a spec tomorrow.07:31
*** adriant has quit IRC07:32
*** amotoki has quit IRC07:35
*** amotoki has joined #openstack-horizon07:36
*** jamielennox is now known as jamielennox|away07:45
*** udesale__ has joined #openstack-horizon07:48
*** udesale has quit IRC07:50
*** amoralej|off is now known as amoralej07:53
*** ianychoi has quit IRC07:54
*** jpich has joined #openstack-horizon07:54
*** jprovazn has joined #openstack-horizon08:12
*** ianychoi has joined #openstack-horizon08:17
openstackgerritOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/45306909:02
*** tosky has joined #openstack-horizon09:03
*** slunkad has joined #openstack-horizon09:05
*** ratailor_ has joined #openstack-horizon09:25
*** ratailor_ has quit IRC09:25
*** ratailor is now known as ratailor_09:26
*** ratailor_ is now known as Guest656509:27
*** ccesario has quit IRC09:30
*** mvk has quit IRC09:31
openstackgerritMerged openstack/horizon master: Imported Translations from Zanata  https://review.openstack.org/45306909:38
*** mvk has joined #openstack-horizon10:00
*** wolverineav has joined #openstack-horizon10:02
*** aortega has joined #openstack-horizon10:22
*** udesale__ has quit IRC10:30
*** ccesario has joined #openstack-horizon10:36
*** wolverineav has quit IRC10:49
*** wolverineav has joined #openstack-horizon10:50
*** wolverineav has quit IRC10:54
*** wolverineav has joined #openstack-horizon10:59
*** jamielennox|away is now known as jamielennox11:03
*** wolverineav has quit IRC11:04
*** xiaoruiguo has joined #openstack-horizon11:04
*** wolverineav has joined #openstack-horizon11:05
*** wolverineav has quit IRC11:11
*** wolverineav has joined #openstack-horizon11:13
*** wolverineav has quit IRC11:18
*** dave-mccowan has joined #openstack-horizon11:21
*** rodrigod` is now known as rodrigods12:01
*** rodrigods has joined #openstack-horizon12:01
*** rodrigods has quit IRC12:01
*** rodrigods has joined #openstack-horizon12:02
*** rodrigods has quit IRC12:03
*** rodrigods has joined #openstack-horizon12:03
*** catintheroof has joined #openstack-horizon12:05
*** amoralej is now known as amoralej|lunch12:08
*** wolverineav has joined #openstack-horizon12:08
*** chlong has joined #openstack-horizon12:10
*** Guest6565 has quit IRC12:11
*** ccesario has quit IRC12:26
*** Pavo has joined #openstack-horizon12:42
*** belmoreira has joined #openstack-horizon13:07
*** zul has quit IRC13:12
*** amoralej|lunch is now known as amoralej13:14
*** amotoki has quit IRC13:15
*** jtriley has joined #openstack-horizon13:24
*** lblanchard has joined #openstack-horizon13:26
*** zul has joined #openstack-horizon13:32
*** ccesario has joined #openstack-horizon13:34
*** xiaoruiguo has quit IRC13:44
*** xiaoruiguo has joined #openstack-horizon13:45
*** TravT has joined #openstack-horizon13:45
*** ChanServ sets mode: +v TravT13:45
*** amotoki has joined #openstack-horizon13:50
*** amotoki has quit IRC13:59
*** Pavo has quit IRC14:08
*** Pavo has joined #openstack-horizon14:09
*** Pavo has quit IRC14:09
*** Pavo has joined #openstack-horizon14:10
*** Pavo has quit IRC14:10
*** Pavo has joined #openstack-horizon14:11
*** Pavo has quit IRC14:11
*** Pavo has joined #openstack-horizon14:11
*** Pavo has quit IRC14:12
*** Pavo has joined #openstack-horizon14:12
*** Pavo has quit IRC14:12
*** amotoki has joined #openstack-horizon14:17
*** ccesario has quit IRC14:23
*** ccesario has joined #openstack-horizon14:45
*** jlopezgu_ has joined #openstack-horizon14:47
*** erhudy has joined #openstack-horizon14:48
*** yingjun has joined #openstack-horizon14:53
*** yingjun has quit IRC14:53
*** ratailor has joined #openstack-horizon15:00
openstackgerritBeth Elwell proposed openstack/horizon master: Adds basic angular QoS panel to Horizon  https://review.openstack.org/41882815:02
*** weezS has quit IRC15:03
*** lucasxu has joined #openstack-horizon15:04
*** ccesario has quit IRC15:05
*** flwang has quit IRC15:07
*** flwang has joined #openstack-horizon15:20
*** belmoreira has quit IRC15:24
*** weezS has joined #openstack-horizon15:34
*** rajalokan has quit IRC15:34
*** lucasxu has quit IRC15:44
*** pcaruana has quit IRC16:01
*** wolverineav has quit IRC16:06
*** wolverineav has joined #openstack-horizon16:10
*** xiaoruiguo has quit IRC16:11
*** jpich has quit IRC16:23
*** rajalokan has joined #openstack-horizon16:23
*** itxaka has quit IRC16:31
*** weezS has quit IRC16:33
*** lucasxu has joined #openstack-horizon16:39
*** mtanino has joined #openstack-horizon16:39
*** ratailor has quit IRC16:50
openstackgerritBeth Elwell proposed openstack/horizon master: Adds basic angular QoS panel to Horizon  https://review.openstack.org/41882816:51
*** tesseract has quit IRC17:04
*** mvk has quit IRC17:15
*** amoralej is now known as amoralej|off17:20
*** lucasxu has quit IRC17:33
*** kzaitsev_mb has joined #openstack-horizon17:34
*** lucasxu has joined #openstack-horizon17:34
guglr1chardj0n3s, reviewed https://review.openstack.org/#/c/444095 and added the issue list in the comments. Since it is a fairly big changes and I assume you will do a couple of commits to make it stable. Please let me know what items you will fix in the next next submit so I can focus on those items.17:38
*** lucasxu has quit IRC17:40
*** TravT has quit IRC17:41
*** lucasxu has joined #openstack-horizon17:41
*** ccesario has joined #openstack-horizon17:43
*** ccesario has quit IRC17:45
*** ccesario has joined #openstack-horizon17:46
*** tosky has quit IRC17:52
*** mvk has joined #openstack-horizon18:01
*** ccesario has quit IRC18:02
*** ccesario has joined #openstack-horizon18:06
*** mdavidson has joined #openstack-horizon18:11
*** Pavo has joined #openstack-horizon18:15
*** jtriley has quit IRC18:28
*** weezS has joined #openstack-horizon18:31
guglr1chardj0n3s, sorry my last message was a little messed up. just want to know what you want to focus on this submit and what you want to leave for the next submit.18:31
*** weezS has quit IRC18:32
*** amotoki has quit IRC18:34
*** yohoffman has quit IRC18:36
*** jtriley has joined #openstack-horizon18:42
*** Pavo has quit IRC18:46
*** yohoffman has joined #openstack-horizon18:59
*** lucasxu has quit IRC19:07
*** lucasxu has joined #openstack-horizon19:08
*** harlowja has joined #openstack-horizon19:24
*** ccesario has quit IRC19:31
*** jeremy_moffitt has quit IRC19:35
*** Pavo has joined #openstack-horizon19:36
*** ccesario has joined #openstack-horizon19:47
*** ducttape_ has joined #openstack-horizon19:48
ducttape_hurgleburgler no longer around?19:49
*** jprovazn has quit IRC19:53
*** ediardo has quit IRC20:00
*** ediardo has joined #openstack-horizon20:01
*** dave-mccowan has quit IRC20:03
*** wolverineav has quit IRC20:10
*** wolverineav has joined #openstack-horizon20:11
*** rajalokan has quit IRC20:11
*** wolverineav has quit IRC20:16
*** Pavo has quit IRC20:21
*** ducttape_ has quit IRC20:24
*** ducttape_ has joined #openstack-horizon20:34
*** ccesario has quit IRC20:48
*** wolverineav has joined #openstack-horizon20:52
*** rcernin has quit IRC20:55
david-lyleducttape_, not typically21:09
david-lylecan try hangouts21:09
*** lblanchard has quit IRC21:09
ducttape_k thanks david-lyle21:09
*** revon has joined #openstack-horizon21:10
*** dave-mccowan has joined #openstack-horizon21:15
r1chardj0n3sgugl: thanks! I'll poke at it to see if I can figure how it broke :-)21:17
*** jtriley has quit IRC21:19
*** wolverineav has quit IRC21:26
*** david-lyle has quit IRC21:35
*** Pavo has joined #openstack-horizon21:43
*** david-lyle has joined #openstack-horizon21:43
*** ChanServ sets mode: +o david-lyle21:43
*** Pavo has quit IRC21:59
*** kzaitsev_mb has quit IRC22:08
*** lucasxu has quit IRC22:27
*** hoonetorg has quit IRC22:43
*** hoonetorg has joined #openstack-horizon22:44
*** hoonetorg has quit IRC22:47
*** catintheroof has quit IRC22:57
*** hoonetorg has joined #openstack-horizon22:58
*** jtriley has joined #openstack-horizon22:58
*** jtriley has quit IRC23:05
*** jtriley has joined #openstack-horizon23:20
*** mtanino has quit IRC23:39
*** ducttape_ has quit IRC23:46
*** ducttape_ has joined #openstack-horizon23:46
*** ducttape_ has quit IRC23:48
*** ducttape_ has joined #openstack-horizon23:48
*** _ducttape_ has joined #openstack-horizon23:50
*** ducttape_ has quit IRC23:50
ankur-gupta-f4revon: ping? no23:59

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