Wednesday, 2014-11-12

*** amcrn has joined #openstack-horizon00:02
*** david-lyle is now known as david-lyle_afk00:03
*** bpokorny has joined #openstack-horizon00:07
openstackgerritA change was merged to openstack/horizon: Field "Volume name" on Horizon no longer mandatory  https://review.openstack.org/13274800:12
*** Sukhdev has quit IRC00:24
*** Viswanath has joined #openstack-horizon00:25
*** Viswanath has quit IRC00:29
*** hightall has joined #openstack-horizon00:34
r1chardj0n3stqtran: I only just got time to load up your nav menu change; immediate reaction: NICE :)00:42
tqtranr1chardj0n3s: =) yeah, its a simple change that makes things a bit more ajaxy00:43
openstackgerritA change was merged to openstack/horizon: Honor keystone policy file when creating client  https://review.openstack.org/13303200:43
r1chardj0n3stqtran: there's a few views which don't quite work (instance details for eg, you get two menus)00:44
r1chardj0n3stqtran: but I'm going to look into that and the selenium thing00:44
r1chardj0n3stqtran: can a change in gerrit have multiple authors? or do I need to get any suggested edits to you? (sorry, my gerrit/openstack noobishness coming through ;)00:45
*** lhcheng_ has quit IRC00:46
tqtranyou can have multiple authors, example: https://review.openstack.org/#/c/94706/00:47
tqtranjust make sure to list yourself in the commit message Co-Authored-By:00:48
r1chardj0n3sah, ok, cool. are you ok with me submitting fixes to that change set directly?00:48
tqtranand when you're submitting, just reuse the same Change-Id and you're good to go00:48
tqtranyes, thats fine00:48
r1chardj0n3sok, great!00:48
tqtranso i started using smart table, it is a bit easier00:49
tqtranbut the documentation is a bit poorer00:49
r1chardj0n3sthere's mention in the angboard readme about sorting, which I failed to get working when I tried it out weeks ago but got distracted before I had a chance to look into it00:50
tqtranhad to debug in order to add checkboxes, and would also require a bit more code to get what we want (im perfectly ok with that, more controll)00:50
tqtranyeah, but i think its ok, simplicity is easier to extend00:50
r1chardj0n3syep. I like that it integrates better with the HTML00:51
tqtranng-table has more out of the box, but i think would be more painful to extend00:51
r1chardj0n3syeah, ng-table is powerful, but complex (especially for adding sorting and filtering, but also its configuration mechanism is kinda odd ;)00:51
tqtranyeah it is lol00:51
r1chardj0n3sfyi I did about 12 months of angular before coming on to rackspace to work on horizon; we used ng-table in a couple of projects and it certainly got the job done, it was just so ... inelegant :)00:52
*** ybathia has quit IRC00:56
*** hinnant has quit IRC00:57
*** amerine has quit IRC00:58
*** jacalcat has quit IRC01:03
*** neelashah has joined #openstack-horizon01:10
*** amerine has joined #openstack-horizon01:14
*** amerine has joined #openstack-horizon01:15
*** amcrn has quit IRC01:17
*** gokrokve has quit IRC01:19
*** Drago1 has quit IRC01:20
*** sigmavirus24_awa is now known as sigmavirus2401:38
*** tqtran has quit IRC01:39
*** amerine has quit IRC01:40
*** Viswanath has joined #openstack-horizon01:47
*** Viswanath has quit IRC01:51
*** wuhg has joined #openstack-horizon02:00
openstackgerritGloria Gu proposed a change to openstack/horizon: Added volume type description for volume type  https://review.openstack.org/13387202:02
*** cody-somerville has quit IRC02:04
*** clu_ has quit IRC02:05
*** amerine has joined #openstack-horizon02:06
*** bpokorny has quit IRC02:10
*** amerine has quit IRC02:11
openstackgerritGloria Gu proposed a change to openstack/horizon: Fixed issue of progress bars in resize instance  https://review.openstack.org/11705302:15
*** jacalcat has joined #openstack-horizon02:28
*** ayoung has joined #openstack-horizon02:29
*** openstackgerrit has quit IRC02:34
*** mattfarina has joined #openstack-horizon02:56
*** mattfarina has quit IRC02:57
*** jacalcat has quit IRC02:58
*** pastypasty has quit IRC03:10
*** Viswanath has joined #openstack-horizon03:22
*** Viswanath has quit IRC03:25
*** vivekd has joined #openstack-horizon03:30
*** dsneddon has quit IRC03:33
*** nlahouti has quit IRC03:33
*** dsneddon has joined #openstack-horizon03:34
*** jacalcat has joined #openstack-horizon03:34
*** tzumainn has quit IRC03:49
*** hightall has quit IRC03:50
*** ericpeterson has joined #openstack-horizon03:58
*** katyafervent is now known as katyafervent_awa04:03
*** jacalcat has quit IRC04:16
*** ericpeterson has quit IRC04:17
*** Drago1 has joined #openstack-horizon04:18
*** sigmavirus24 is now known as sigmavirus24_awa04:19
*** Drago1 has quit IRC04:19
*** hightall has joined #openstack-horizon04:30
*** neelashah has quit IRC04:49
*** r1chardj0n3s is now known as r1chardj0n3s_afk04:54
*** nikunj2512 has joined #openstack-horizon04:56
*** jrist has joined #openstack-horizon04:57
*** colinmcnamara has joined #openstack-horizon05:00
*** colinmcnamara has quit IRC05:02
nikunj2512gary-smith: Hi05:02
*** sirushti has left #openstack-horizon05:36
*** nlahouti has joined #openstack-horizon05:37
*** sayan has joined #openstack-horizon05:45
*** nlahouti has quit IRC06:07
*** nlahouti has joined #openstack-horizon06:07
*** woodm1979 has quit IRC06:13
*** masco has joined #openstack-horizon06:33
*** k4n0 has joined #openstack-horizon06:37
*** mrunge has joined #openstack-horizon06:40
*** enykeev has quit IRC06:42
*** enykeev has joined #openstack-horizon06:44
*** vijendar has quit IRC07:15
*** vijendar has joined #openstack-horizon07:15
*** enykeev has quit IRC07:21
*** enykeev has joined #openstack-horizon07:23
*** tnovacik has joined #openstack-horizon07:29
*** ramishra has joined #openstack-horizon07:33
*** katyafervent_awa is now known as katyafervent07:34
*** exploreshaifali has joined #openstack-horizon07:35
mrungezigo, you may want to comment on that JavaScript thread on openstack-dev07:40
mrungezigo, especially, because that is about adding new dependencies to Horizon07:40
*** r1chardj0n3s_afk is now known as r1chardj0n3s07:43
r1chardj0n3sohai mrunge! I have Dad stuff I need to do but I hope my very brief response to your email just now makes sense!07:44
r1chardj0n3sI'll try to pop back in here over the next few hours...07:44
mrunger1chardj0n3s, hey07:44
mrungeI was about to answer to your mail07:44
r1chardj0n3scool, I have to run right now, shall read in a bit :)07:44
*** r1chardj0n3s is now known as r1chardj0n3s_afk07:44
mrunger1chardj0n3s_afk, enjoy your dads time!07:45
*** exploreshaifali has quit IRC07:45
*** Ala has joined #openstack-horizon07:46
*** Drago2 has joined #openstack-horizon07:49
*** Drago2 has quit IRC07:50
*** enykeev has quit IRC07:51
*** enykeev has joined #openstack-horizon07:53
*** e0ne has joined #openstack-horizon07:55
*** MaxV has joined #openstack-horizon07:56
*** jprovazn has joined #openstack-horizon07:56
*** e0ne has quit IRC07:59
*** e0ne has joined #openstack-horizon08:04
*** Longgeek has joined #openstack-horizon08:04
*** Longgeek has quit IRC08:06
*** Longgeek has joined #openstack-horizon08:07
*** e0ne has quit IRC08:07
*** e0ne has joined #openstack-horizon08:11
*** amerine has joined #openstack-horizon08:12
*** MaxV has quit IRC08:16
*** amerine has quit IRC08:17
*** e0ne has quit IRC08:20
*** ramishra has quit IRC08:21
*** romainh has joined #openstack-horizon08:23
*** zz_ttrifonov is now known as ttrifonov08:23
*** ramishra has joined #openstack-horizon08:27
*** jcoufal has joined #openstack-horizon08:28
*** nlahouti has quit IRC08:31
*** ramishra has quit IRC08:36
*** ramishra has joined #openstack-horizon08:40
nikunj2512Is there any way to run a single testcase??08:40
*** enykeev has quit IRC08:41
*** enykeev has joined #openstack-horizon08:43
*** enykeev has quit IRC08:50
*** MaxV has joined #openstack-horizon08:53
pkarikhnikunj2512, have you tried this? http://blog.jasonmeridth.com/posts/how-to-run-a-single-test-with-tox/08:53
nikunj2512pkarikh: No, let me try08:55
*** cedrics has joined #openstack-horizon08:55
*** enykeev has joined #openstack-horizon08:55
*** ramishra has quit IRC08:55
*** jpich has joined #openstack-horizon08:56
*** romainh has left #openstack-horizon08:57
*** ramishra has joined #openstack-horizon09:00
nikunj2512pkarikh: No, let me try09:00
nikunj2512pkarikh: Not working :(09:00
*** ygbo has joined #openstack-horizon09:05
*** masco_ has joined #openstack-horizon09:05
pkarikhnikunj2512, have you used '.' or '/' to separate directories it path param?  This is quite frech blog post and it says that there is a way to run single test. http://thiagodasilvablog.wordpress.com/2013/11/27/debugging-python-unit-tests-while-using-tox-and-nosetests/. It is strange that nothing about it is not written in the official documentation09:05
nikunj2512pkarikh: /09:06
pkarikhnikunj2512, could you please try '.'?09:06
nikunj2512pkarikh: Ok09:06
nikunj2512pkarikh: failing again due to ImportError09:09
pkarikhnikunj2512, I think you can try to run a single module for a start09:10
nikunj2512pkarikh: Ok09:11
*** amerine has joined #openstack-horizon09:13
*** amerine has quit IRC09:18
*** athomas has joined #openstack-horizon09:20
*** asahlin has quit IRC09:21
*** asahlin has joined #openstack-horizon09:22
*** vivekd has quit IRC09:23
*** vokhrimenko has joined #openstack-horizon09:25
*** ramishra has quit IRC09:26
*** ramishra has joined #openstack-horizon09:28
*** hightall has quit IRC09:33
*** ramishra has quit IRC09:35
*** ramishra has joined #openstack-horizon09:39
*** IvanBerezovskiy has quit IRC09:51
*** cedricss has joined #openstack-horizon09:51
*** cedrics has quit IRC09:51
*** IvanBerezovskiy has joined #openstack-horizon09:51
*** e0ne has joined #openstack-horizon09:53
*** foexle has joined #openstack-horizon10:00
*** cedricss has quit IRC10:00
*** sambetts has joined #openstack-horizon10:01
*** vivekd has joined #openstack-horizon10:03
*** ramishra has quit IRC10:04
*** ramishra has joined #openstack-horizon10:05
*** cedrics has joined #openstack-horizon10:06
*** Longgeek has quit IRC10:09
*** Longgeek has joined #openstack-horizon10:10
*** Longgeek_ has joined #openstack-horizon10:12
*** Longgeek has quit IRC10:15
*** dkorn has joined #openstack-horizon10:17
*** aix has joined #openstack-horizon10:18
*** akrivoka has joined #openstack-horizon10:24
*** enykeev has quit IRC10:25
*** enykeev has joined #openstack-horizon10:25
*** ttrifonov is now known as zz_ttrifonov10:31
*** ramishra has quit IRC10:33
*** ramishra has joined #openstack-horizon10:38
*** regebro has joined #openstack-horizon10:42
*** dkorn has quit IRC10:42
*** jprovazn has quit IRC10:43
pkarikhnikunj2512 any progress with tests?10:48
*** zz_ttrifonov is now known as ttrifonov10:57
nikunj2512pkarikh: No.... :(... I am back to run ./run_test.sh11:01
*** dkorn has joined #openstack-horizon11:01
*** Dafna has joined #openstack-horizon11:02
*** vivekd_ has joined #openstack-horizon11:04
*** vivekd has quit IRC11:05
*** vivekd_ is now known as vivekd11:05
*** tosky has joined #openstack-horizon11:06
mrungenikunj2512, at least you can do: ./run_tests.sh openstack_dashboard --failfast11:10
mrungenikunj2512, at least that will just run tests of openstack_dashboard and will stop immediately after the first issue was found11:11
nikunj2512mrunge: ohh.... thank you.. i didn't knew about this11:12
nikunj2512mrunge: i will do that.... :-)11:13
*** enykeev has quit IRC11:13
mrungenikunj2512, that still takes lots of time :-(11:13
*** aix has quit IRC11:14
*** amerine has joined #openstack-horizon11:14
*** amerine has joined #openstack-horizon11:15
nikunj2512mrunge: ohhh...11:15
*** enykeev has joined #openstack-horizon11:15
*** colinmcnamara has joined #openstack-horizon11:15
*** cedrics has quit IRC11:18
*** nikunj2512 has quit IRC11:19
*** amerine has quit IRC11:19
*** aix has joined #openstack-horizon11:28
pkarikhnikunj2512, do I understand you correctly, that now single test run but fail with import error? What if add import for method into method? Just for test, of course.11:29
*** kmartin has quit IRC11:32
*** ramishra has quit IRC11:34
zigomrunge: Thanks for the pointer, I replied.11:34
*** sayan has quit IRC11:35
*** sayan has joined #openstack-horizon11:38
*** colinmcnamara has quit IRC11:39
*** colinmcnamara has joined #openstack-horizon11:42
*** akrivoka has quit IRC11:49
*** mflobo has quit IRC11:51
pkarikhmrunge, I'm sorry but are you sure that I need to implement CSRF-protection for GET-requests for this patch? https://review.openstack.org/#/c/128253/ It is simple GET request to only filter instances, there is no data changing there. There is no side effects there. So these GET-requests are completly safe , aren't they?11:56
*** tzumainn has joined #openstack-horizon11:57
*** lhcheng has joined #openstack-horizon12:01
*** ZZelle has joined #openstack-horizon12:04
*** nikunj2512 has joined #openstack-horizon12:04
*** colinmcnamara has quit IRC12:05
*** akrivoka has joined #openstack-horizon12:12
nikunj2512The call user testcase is making user_get.__call__(<class 'django.http.HttpRequest'>, u'1') but it code is expecting user_get.__call__(<class 'django.http.request.HttpRequest'>12:15
nikunj2512How can i make the above to call to below one???12:15
*** hightall has joined #openstack-horizon12:19
nikunj2512figured out12:22
pkarikhnikunj2512 and how you've fixed it?12:23
nikunj2512pkarikh: i was passing wrong number of arguments.. stupid me... and this problem kept me busy whole... :p12:24
nikunj2512pkarikh: In actual code i was passing 2 parameters and in test case i was passing 3..12:25
pkarikhnikunj2512 I think the main thing that you have fixed it :)12:31
nikunj2512pkarikh: Yes :-)12:31
pkarikhFolks, am I right that since this bug https://bugs.launchpad.net/trove/+bug/1391840 is actial, all 'check-devstack-dsvm-cells' tests are going to be failed?12:34
pkarikhUntil this bug would be fixed, I mean.12:34
*** ramishra has joined #openstack-horizon12:34
nikunj2512pkarikh: Thank You for notifying.. I was wondering was check-devstack-dsvm-cells failing12:35
*** ramishra has quit IRC12:36
*** ramishra_ has joined #openstack-horizon12:36
*** exploreshaifali has joined #openstack-horizon12:37
mrungepkarikh, I see your patch is just about to change filters. But: you'll be setting a pattern for other patches.12:45
mrungepkarikh, and you'll open your browsing session to (currently very limited) exploits12:45
mrungepkarikh, please bear that in mind!12:45
*** cedrics has joined #openstack-horizon12:51
pkarikhmrungeб oh, ok. I know very little about csrf attacks so I going to heed your opinion and place @method_decorator(csrf_protect) around get_data method.12:52
mrungepkarikh, those attacks are quite simple.12:53
mrungepkarikh, assume, you're logged into your horizon12:53
mrungepkarikh, then assume I'll send you an email, which includes an image tag like <img src="http://websrv/horizon/project/images/..."/>12:54
*** ramishra_ has quit IRC12:55
mrungepkarikh, or I'll trick you to visit a web page containing that link. The image won't be displayed, but your browser will tray to access that image anyways. you won't even notice, you just visited that link. but it executes that link within your current scope.12:56
mrungepkarikh, that is, why you never should GET for parameters12:56
*** tosky has quit IRC12:56
*** ramishra has joined #openstack-horizon12:59
pkarikhmrunge, yea, I understand this. But If we assume that with GET requests we are going to only retrieve data, and not change it. So, for example, you've send me a link with image url from table filtering. So, browser will create a hidden request to tables with filtering params. Of anothe GET request to any horizon page. As far as I can see, we use GET requests in Horizon only to retrive data. So I just cannot imagine case with unsecure GET req13:03
pkarikhuest.  Maybe you could give any example of such case? if it does not take to much time for you, of course.13:03
*** ramishra has quit IRC13:09
*** thiagop has joined #openstack-horizon13:10
mrungepkarikh, my takeaway from those issues is: just don't do it! If there really is no action (no data change at all!), it may be acceptable13:11
*** ramishra has joined #openstack-horizon13:11
pkarikhmrunge, as far as I can see no data changed at all. But I'm going to try implement csrf protection, you've сonvinced me. :) Thanks for yours time and attention. :)13:18
*** crobertsrh has joined #openstack-horizon13:20
mrungepkarikh, thank you for taking this serious! I'm quite sure, we're in Horizon are exploitable in one or the other view. e.g network views13:21
*** dkorn has quit IRC13:29
*** ramishra has quit IRC13:32
*** Longgeek has joined #openstack-horizon13:33
*** jacalcat has joined #openstack-horizon13:34
*** Longgeek_ has quit IRC13:36
*** ramishra has joined #openstack-horizon13:38
*** ramishra has quit IRC13:45
*** k4n0 has quit IRC13:46
*** ramishra has joined #openstack-horizon13:53
*** sigmavirus24_awa is now known as sigmavirus2413:54
*** jacalcat has quit IRC13:54
*** jacalcat has joined #openstack-horizon13:54
*** sambetts has quit IRC13:55
*** sambetts has joined #openstack-horizon13:56
*** masco has quit IRC13:59
*** asahlin has quit IRC14:00
*** ramishra has quit IRC14:01
*** mattfarina has joined #openstack-horizon14:02
*** ramishra has joined #openstack-horizon14:03
*** sayan has quit IRC14:06
*** julim has joined #openstack-horizon14:07
*** neelashah has joined #openstack-horizon14:07
*** johnma has quit IRC14:08
*** IvanBerezovskiy has left #openstack-horizon14:13
*** gokrokve has joined #openstack-horizon14:20
*** jprovazn has joined #openstack-horizon14:21
*** lhcheng_ has joined #openstack-horizon14:22
*** rbertram has quit IRC14:23
*** rbertram has joined #openstack-horizon14:23
*** lhcheng has quit IRC14:24
*** asahlin has joined #openstack-horizon14:30
*** ramishra has quit IRC14:32
*** colinmcnamara has joined #openstack-horizon14:34
*** tnovacik has quit IRC14:38
*** athomas has quit IRC14:38
*** peristeri has joined #openstack-horizon14:39
*** exploreshaifali has quit IRC14:39
*** openstackgerrit has joined #openstack-horizon14:40
*** ramishra has joined #openstack-horizon14:41
*** athomas has joined #openstack-horizon14:42
*** nikunj2512 has quit IRC14:45
*** nikunj2512_ has joined #openstack-horizon14:45
openstackgerritNikunj Aggarwal proposed openstack/horizon: Fixes Error message when image creation fails due to file filtering  https://review.openstack.org/13105914:46
*** sayan has joined #openstack-horizon14:58
*** vivekd has quit IRC15:00
*** jpomero has joined #openstack-horizon15:01
*** cedricss has joined #openstack-horizon15:13
*** gokrokve has quit IRC15:13
*** ramishra has quit IRC15:15
*** cedrics has quit IRC15:15
pkarikhmrunge, do have a couple minutes?15:17
*** ramishra has joined #openstack-horizon15:17
*** lhcheng_ has quit IRC15:18
mrungepkarikh, somehow, yes15:19
*** doug-fish has left #openstack-horizon15:19
pkarikhmrunge, as far as I undestand, the common way to defend from csrf is compare csrf-token from user cookie and from reques param. And also to check HTTP_referer header field. Am I right?15:19
*** vijendar has quit IRC15:19
*** vijendar has joined #openstack-horizon15:20
pkarikhfrom request params15:20
mrungepkarikh, tbh, I never do that manually, since django provides all needed already built in15:20
pkarikhmrunge, yep, but looks like django @csrf_protect decorator works only with POST requests.15:21
mrungepkarikh, that may have a reason...?15:22
mrungepkarikh, https://www.owasp.org/index.php/Cross-Site_Request_Forgery_%28CSRF%29_Prevention_Cheat_Sheet#Disclosure_of_Token_in_URL15:24
*** cedricss has quit IRC15:24
*** mrunge has quit IRC15:27
*** johnma has joined #openstack-horizon15:27
*** Ala has quit IRC15:27
pkarikhmrunge, "For these cases, attempting to retrofit this pattern in existing applications requires significant development time and cost, and as a temporary measure it may be better to pass CSRF tokens in the URL. Once the application has been fixed to respond to HTTP GET and POST verbs correctly, CSRF tokens for GET requests should be turned off."15:28
pkarikhmrunge, so Im condused again. If it is bad practise to send csrf-token in GET_param, how can I send it to the server to validate request?15:29
pkarikhmrunge maybe I've missed something?15:30
*** rbertram has quit IRC15:30
*** cedrics has joined #openstack-horizon15:31
*** rbertram has joined #openstack-horizon15:32
*** cody-somerville has joined #openstack-horizon15:32
*** gokrokve has joined #openstack-horizon15:32
openstackgerritThiago Paiva Brito proposed openstack/horizon: Clarifying Project Overview usage labels  https://review.openstack.org/7968815:33
*** Longgeek has quit IRC15:35
openstackgerritThiago Paiva Brito proposed openstack/horizon: Clarifying Project Overview usage labels  https://review.openstack.org/7968815:37
*** cedricss has joined #openstack-horizon15:39
*** cedrics has quit IRC15:40
*** rebelagentm has joined #openstack-horizon15:40
*** ramishra has quit IRC15:41
*** ramishra has joined #openstack-horizon15:42
*** rebelagentm has quit IRC15:45
*** my_openstack_use has joined #openstack-horizon15:45
my_openstack_usehello15:45
*** ramishra has quit IRC15:47
my_openstack_useHORIZON_CONFIG appears to only accept a single string for customization module15:47
my_openstack_useIs there any support for multiple customization modules enabled at the same time?15:48
my_openstack_useI have one component that adds a dashboard to horizon and two other components that add their panels to that dashboard through customization module15:49
*** david-lyle_afk is now known as david-lyle15:52
david-lylemy_openstack_use: the preferred way for adding that type of content is https://github.com/openstack/horizon/blob/master/doc/source/topics/settings.rst#pluggable-settings15:52
*** ayoung is now known as ayoung-afk15:53
my_openstack_usethanks, this might be just crazy enough to work15:54
*** rebelagentm has joined #openstack-horizon16:00
*** Drago has joined #openstack-horizon16:03
*** Drago has quit IRC16:03
*** Drago has joined #openstack-horizon16:03
*** lhcheng has joined #openstack-horizon16:04
*** lhcheng_ has joined #openstack-horizon16:06
*** MaxV has quit IRC16:07
*** lhcheng has quit IRC16:09
*** hightall has quit IRC16:11
*** MaxV has joined #openstack-horizon16:13
openstackgerritAna Krivokapic proposed openstack/horizon: Add support for locking and unlocking servers  https://review.openstack.org/13399216:15
*** tosky has joined #openstack-horizon16:16
*** masco has joined #openstack-horizon16:20
*** hinnant has joined #openstack-horizon16:22
*** ericpeterson has joined #openstack-horizon16:25
*** sigmavirus24 is now known as sigmavirus24_awa16:32
*** amerine has joined #openstack-horizon16:33
*** gokrokve_ has joined #openstack-horizon16:33
*** sigmavirus24_awa is now known as sigmavirus2416:34
*** dsneddon has quit IRC16:35
*** Longgeek has joined #openstack-horizon16:35
*** dsneddon has joined #openstack-horizon16:35
*** Viswanath has joined #openstack-horizon16:36
*** gokrokve has quit IRC16:36
*** doug-fish has joined #openstack-horizon16:36
*** gokrokve_ has quit IRC16:37
*** Viswanath has quit IRC16:39
*** lhcheng_ has quit IRC16:40
*** ericpeterson has quit IRC16:40
*** ericpeterson has joined #openstack-horizon16:40
*** nlahouti has joined #openstack-horizon16:40
*** Longgeek has quit IRC16:40
*** ericpeterson has quit IRC16:40
*** ericpeterson has joined #openstack-horizon16:41
*** ericpeterson has quit IRC16:42
*** ericpeterson has joined #openstack-horizon16:43
*** neelashah has quit IRC16:43
*** lhcheng has joined #openstack-horizon16:44
*** ericpeterson has quit IRC16:45
*** vokhrimenko has quit IRC16:49
*** lhcheng_ has joined #openstack-horizon16:49
*** amerine has quit IRC16:51
*** lhcheng has quit IRC16:51
*** e0ne has quit IRC16:52
*** ygbo has quit IRC16:55
*** jacalcat has quit IRC16:57
*** ayoung-afk is now known as ayoung16:57
*** mattfarina has quit IRC17:03
*** MaxV has quit IRC17:04
*** mattfarina has joined #openstack-horizon17:04
*** tqtran has joined #openstack-horizon17:07
*** exploreshaifali has joined #openstack-horizon17:08
*** amerine has joined #openstack-horizon17:10
*** gokrokve has joined #openstack-horizon17:12
*** colinmcnamara has quit IRC17:13
*** wuhg has quit IRC17:13
*** cedricss has quit IRC17:14
openstackgerritGloria Gu proposed openstack/horizon: Added volume type description for volume type  https://review.openstack.org/13387217:18
*** colinmcnamara has joined #openstack-horizon17:21
*** bpokorny has joined #openstack-horizon17:22
openstackgerritThai Tran proposed openstack/horizon: Single page navigation  https://review.openstack.org/11439217:24
*** jroovers has joined #openstack-horizon17:26
*** amcrn has joined #openstack-horizon17:31
*** athomas has quit IRC17:39
*** amcrn has quit IRC17:41
*** akrivoka has quit IRC17:42
*** colinmcnamara has quit IRC17:46
*** jpich has quit IRC17:46
*** masco has quit IRC17:47
openstackgerritThai Tran proposed openstack/horizon: Modal form cleanup  https://review.openstack.org/12347217:49
*** ttrifonov is now known as zz_ttrifonov17:49
*** afaranha has joined #openstack-horizon17:52
*** amcrn has joined #openstack-horizon18:00
*** my_openstack_use has quit IRC18:02
*** gokrokve has quit IRC18:03
*** gokrokve has joined #openstack-horizon18:03
*** rebelagentm has quit IRC18:04
openstackgerritMerged openstack/horizon: add tooltip to cells if 'truncate' variable is set  https://review.openstack.org/12388918:05
*** sambetts has quit IRC18:05
*** jroovers has quit IRC18:10
*** doug-fish has left #openstack-horizon18:11
*** nikunj2512_ has quit IRC18:11
*** johnma has quit IRC18:15
*** vijendar has quit IRC18:19
*** aix has quit IRC18:19
*** alexpilotti has joined #openstack-horizon18:21
*** amcrn has quit IRC18:23
*** ericpeterson has joined #openstack-horizon18:32
*** bpokorny_ has joined #openstack-horizon18:36
*** randyochoa has joined #openstack-horizon18:37
*** bpokorny has quit IRC18:39
*** Drago has quit IRC18:40
*** arborism has joined #openstack-horizon18:52
*** arborism is now known as amcrn18:53
*** e0ne has joined #openstack-horizon18:54
*** bpokorny has joined #openstack-horizon18:58
*** bpokorny_ has quit IRC19:01
*** gokrokve has quit IRC19:02
*** gokrokve has joined #openstack-horizon19:02
*** radez_g0` is now known as radez19:06
*** vkmc has joined #openstack-horizon19:06
*** vkmc has quit IRC19:06
*** vkmc has joined #openstack-horizon19:06
*** gokrokve has quit IRC19:07
*** alexpilotti_ has joined #openstack-horizon19:09
*** alexpilotti has quit IRC19:09
*** alexpilotti_ is now known as alexpilotti19:09
*** gokrokve has joined #openstack-horizon19:10
*** johnma has joined #openstack-horizon19:11
*** ZZelle_ has joined #openstack-horizon19:11
*** neelashah has joined #openstack-horizon19:15
*** gokrokve has quit IRC19:21
*** gokrokve has joined #openstack-horizon19:21
*** gokrokve has quit IRC19:22
*** gokrokve has joined #openstack-horizon19:22
*** bpokorny_ has joined #openstack-horizon19:27
*** bpokorn__ has joined #openstack-horizon19:29
*** bpokorny has quit IRC19:30
*** tosky has quit IRC19:30
*** bpokorny_ has quit IRC19:32
*** bpokorny has joined #openstack-horizon19:40
*** bpokorn__ has quit IRC19:42
*** romainh has joined #openstack-horizon19:43
*** romainh has left #openstack-horizon19:45
thiagopdavid-lyle: Hi! Have you seen that I broke the patches to change the session backend?19:47
openstackgerritjmurax proposed openstack/django_openstack_auth: Updated the installation instructions  https://review.openstack.org/12300319:48
thiagopdavid-lyle: I also submitted a patch to ensure devstack is syncing the db once it has the DATABASES setting19:48
david-lylethiagop: I saw those19:49
david-lylethe devstack patch seems to have a few issues19:49
david-lyleI've been playing with memcached a bit too19:50
david-lylemay be even easier19:50
david-lyleas devstack already has memcached running19:50
thiagopIt depends that the first of horizon's, but I can't put a cross project dependency19:50
openstackgerritMerged openstack/horizon: Imported Translations from Transifex  https://review.openstack.org/13388919:50
david-lylejust adding entries for CACHE in the settings and a couple of middleware classes19:51
david-lyleeasier HA config as well19:51
david-lyleshrug19:51
david-lylefound another bug related to cookie size overflow, so was testing it out19:52
thiagopDjango supports memcached by default as session backend?19:53
thiagops/Django/does Django/19:53
david-lyleyeah as long as it's installed and running19:53
david-lyleDjango doesn't handle that part19:54
thiagopI couldn't find anything related in the docs...19:54
david-lylehttps://docs.djangoproject.com/en/dev/topics/cache/19:55
*** rebelagentm has joined #openstack-horizon19:56
*** e0ne has quit IRC19:57
thiagopthis would change all caches, not just the session one, right?19:58
david-lyleyes, there's a way to limit it to sessions, working through that19:58
*** jprovazn has quit IRC19:59
*** foexle has quit IRC19:59
thiagopwhat did you put on the SESSION_ENGINE config? django.contrib.sessions.backends.cache?19:59
david-lyleyes20:00
thiagopI see...20:00
thiagopdoes Devstack already install memcached by default?20:00
david-lyleyes20:01
david-lyleI'd have to track down where to verify that it's dependable20:02
david-lyleactually the SESSION_ENGINE = 'django.contrib.sessions.backends.cache' change is all that's required20:05
david-lyleit seems20:06
david-lylethen the question is for dev setup20:07
*** ArcTanSusan has joined #openstack-horizon20:08
*** r1chardj0n3s_afk is now known as r1chardj0n3s20:09
r1chardj0n3smorning20:09
david-lyler1chardj0n3s: morning20:11
*** doug-fish has joined #openstack-horizon20:12
r1chardj0n3sooh, lots of email to absorb this morning :)20:13
*** jcoufal has quit IRC20:15
david-lyler1chardj0n3s: so I'm trying to understand what toolchain you're advocating for deployed Horizon20:18
david-lyleare you still wanting to require dynamically installed dependencies for non-dev environments20:19
r1chardj0n3sdavid-lyle: IIRC some non-dev environments still wish to run the test suite, so there will need to be some tools in those environments, yes20:20
r1chardj0n3sthere wasn't really a complete proposal put forward, I think there's still some discussion to be had around grunt/gulp and whether bower is feasible alternative to xstatic20:21
*** exploreshaifali has quit IRC20:24
david-lyleI just know installing packages from an external repo to a production server isn't going to fly in a lot of situations20:27
david-lylehopefully most situations20:28
r1chardj0n3srighto. so currently the xstatic packages are repackaged by distros?20:28
*** bpokorny has quit IRC20:28
david-lyleyes20:30
r1chardj0n3syikes, that's a lot of extra work20:32
r1chardj0n3swould be easier to just bundle the stuff ;)20:33
*** alexpilotti has quit IRC20:33
* david-lyle cries20:37
r1chardj0n3sit'd be sad if the blocker to modernising Horizon is packaging, so we'll come up with some solution20:44
david-lyleso packagers used to break out the 3rd party js libraries embedded in Horizon and just point them at the content of their delivered packages20:46
david-lylethey still do that with xstatic packages too20:46
r1chardj0n3srighto20:46
david-lyleI think we'll be able to arrive at a workable solution, it may maximize the amount of work required to get there, but we can find a solution20:47
r1chardj0n3syup20:48
* r1chardj0n3s breaks fast20:49
rbertramr1chardj0n3s: re: your doodle. If you scroll right horizontally, top right shows that it is adjusting for your local timezone. Your instructions seem to indicate otherwise. Which way is it?20:49
david-lylethiagop: it looks like at least keystone, ceilometer,  and swift require memcached20:49
david-lylein devstack20:50
thiagopwe have to keep in mind that there is the multi-node configuration also20:50
*** e0ne has joined #openstack-horizon20:50
david-lyleI think memcached actually works fine for that20:51
r1chardj0n3srbertram: sorry, just posted a clarification (I hope)20:51
rbertramdavid-lyle: fyi, I'm working on paging/sorting instances BP. Found that the new nova API for sorting does not meet our needs due to database schema. :-(  so backing off of "virtual paging".20:52
david-lylerbertram: how does sorting affect virtual paging?20:53
rbertramdavaid-lyle: I think sorting, along w/ filtering, are required to make paging valuable. Given many items, need to get the ones you want to the top. Preferably first page.20:55
rbertramdavaid-lyle: Currently in instances you can page down through instances, but not back up. The instances are already sorted by time created. So paging down, and back up, is probably valuable, now that I think of it.20:57
rbertramdavaid-lyle: At this point, I'm considering a design that does paging & sorting client-side, works for all APIs. Filtering via API may be needed first. Thoughts, anyone?21:00
*** bpokorny has joined #openstack-horizon21:05
thiagopdavid-lyle: when we can have a final word about that? Do you want to discuss it on the meeting some more?21:08
david-lylethiagop: ultimately, I don't care which solution we use, I just was playing with memcached and it seems to work easily.21:10
david-lyleesp. with devstack21:10
*** dkorn has joined #openstack-horizon21:10
*** MasterPiece has joined #openstack-horizon21:11
david-lylerbertram: that sounds more inline with the outcome of the design session21:11
rbertramdavid-lyle: :-)  everyone told me so21:12
thiagopdavid-lyle: I was just wondering about persistency and reliability issues that we talked on the last discussion, but... I'm not the best advocate. :)21:14
david-lylememcached cleans up unused data automatically, so no cron job21:15
david-lyleagain, really don't care though :)21:15
*** lhcheng_ has quit IRC21:16
thiagopThat is a good motive, though. To set this cron job is a little problem, to erase it on "unstack" is a huge one (that I preferred not even to touch)21:17
*** e0ne has quit IRC21:21
*** ArcTanSusan has quit IRC21:24
*** ArcTanSusan has joined #openstack-horizon21:25
*** e0ne has joined #openstack-horizon21:25
*** asahlin has quit IRC21:29
*** lhcheng has joined #openstack-horizon21:33
*** ArcTanSusan has quit IRC21:35
*** raildo has quit IRC21:36
*** Viswanath has joined #openstack-horizon21:36
*** ArcTanSusan has joined #openstack-horizon21:37
*** Viswanath has quit IRC21:40
*** Viswanath has joined #openstack-horizon21:41
*** thiagop has quit IRC21:43
openstackgerritGeorge Peristerakis proposed openstack/horizon: [WIP] Standardize the exception handling thrown by services.  https://review.openstack.org/13405821:43
*** Viswanath has quit IRC21:44
*** ArcTanSusan has quit IRC21:49
*** nlahouti has quit IRC21:51
*** clu_ has joined #openstack-horizon21:52
*** crobertsrh is now known as _crobertsrh21:53
clu_david-lyle: https://review.openstack.org/#/c/123889/621:54
clu_reading you comment there21:54
david-lyleclu_: tried to ping you earlier, left review comment instead21:55
clu_oopsies21:55
clu_yeah, I made the assumption that 'truncate 'is only set on columns with strings21:56
*** tqtran_ has joined #openstack-horizon21:56
david-lyleclu_: I'm not sure it's an incorrect assumption21:56
clu_should I add the string type check?21:57
david-lylebut would like to know that before making that type of change21:57
david-lyleI'm guessing a protective try/except block around the len() call would be safer21:58
*** clu__ has joined #openstack-horizon21:58
*** e0ne has quit IRC21:58
clu__david-lyle: okay, I will add that for safety then :)21:59
*** ArcTanSusan has joined #openstack-horizon21:59
*** mattfarina has quit IRC22:01
*** amcrn has quit IRC22:04
*** nlahouti has joined #openstack-horizon22:05
*** jacalcat has joined #openstack-horizon22:16
*** peristeri has quit IRC22:16
*** gokrokve has quit IRC22:18
*** johnma has quit IRC22:28
*** colinmcnamara has joined #openstack-horizon22:28
*** nlahouti has quit IRC22:30
*** colinmcnamara has quit IRC22:38
*** ericpeterson has quit IRC22:39
*** nlahouti has joined #openstack-horizon22:41
*** dkorn has quit IRC22:55
openstackgerritGloria Gu proposed openstack/horizon: Added volume type description for volume type  https://review.openstack.org/13387223:09
*** Sukhdev has joined #openstack-horizon23:10
*** amcrn has joined #openstack-horizon23:12
*** david-lyle is now known as david-lyle_afk23:12
*** ArcTanSusan has quit IRC23:16
*** ArcTanSusan has joined #openstack-horizon23:20
*** Sukhdev has quit IRC23:27
*** colinmcnamara has joined #openstack-horizon23:27
*** neelashah has quit IRC23:29
r1chardj0n3sjtomasek, ayoung: ping?23:35
*** ArcTanSusan_ has joined #openstack-horizon23:36
*** ZZelle_ has quit IRC23:37
*** tqtran_ has quit IRC23:37
*** ArcTanSusan has quit IRC23:38
*** ArcTanSusan_ is now known as ArcTanSusan23:38
*** exploreshaifali has joined #openstack-horizon23:48
*** doug-fish has left #openstack-horizon23:49
*** gokrokve has joined #openstack-horizon23:56
*** amotoki has joined #openstack-horizon23:56
*** rebelagentm has quit IRC23:57
*** colinmcnamara has quit IRC23:58
*** ArcTanSusan has quit IRC23:59

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