Monday, 2014-11-10

*** sseago has joined #openstack-horizon00:08
*** viswanathsomanch has quit IRC00:16
*** Viswanath has joined #openstack-horizon00:18
*** Viswanath_ has quit IRC00:19
*** Viswanath has quit IRC00:23
*** tzumainn has joined #openstack-horizon00:27
*** alexpilotti has joined #openstack-horizon00:48
*** ZZelle has quit IRC01:09
*** alexpilotti has quit IRC01:14
*** crobertsrh has joined #openstack-horizon01:35
*** crobertsrh is now known as _crobertsrh01:36
*** viswanathsomanch has joined #openstack-horizon01:36
*** vivekd has joined #openstack-horizon01:36
*** viswanathsomanch has quit IRC01:37
*** viswanathsomanch has joined #openstack-horizon01:37
*** viswanathsomanch has quit IRC01:38
*** viswanathsomanch has joined #openstack-horizon01:38
*** nlahouti has joined #openstack-horizon01:39
*** nlahouti has quit IRC01:42
*** nlahouti has joined #openstack-horizon01:42
*** wuhg has joined #openstack-horizon01:44
*** r1chardj0n3s is now known as r1chardj0n3s_afk01:49
*** viswanathsomanch has quit IRC02:40
*** jacalcat has joined #openstack-horizon03:04
*** sseago has left #openstack-horizon03:11
*** Longgeek has joined #openstack-horizon03:12
*** Longgeek has quit IRC03:16
*** exploreshaifali has joined #openstack-horizon03:47
*** Drago1 has joined #openstack-horizon03:51
*** jacalcat has quit IRC04:05
*** viswanathsomanch has joined #openstack-horizon04:07
*** vijendar has quit IRC04:09
*** Longgeek has joined #openstack-horizon04:13
*** Longgeek has quit IRC04:17
*** cody-somerville has quit IRC04:22
*** tzumainn has quit IRC04:23
*** k4n0 has joined #openstack-horizon04:44
*** nikunj2512 has joined #openstack-horizon04:46
*** jacalcat has joined #openstack-horizon04:53
*** exploreshaifali has quit IRC05:01
*** jacalcat has quit IRC05:05
*** Longgeek has joined #openstack-horizon05:10
*** cody-somerville has joined #openstack-horizon05:11
*** cody-somerville has quit IRC05:11
*** cody-somerville has joined #openstack-horizon05:11
*** katyafervent_awa is now known as katyafervent05:11
*** amerine has quit IRC05:23
nikunj2512which js file has js code for horizon tables??05:45
*** nlahouti has quit IRC06:04
*** nlahouti has joined #openstack-horizon06:06
*** nlahouti has quit IRC06:19
*** katyafervent is now known as katyafervent_awa06:24
*** nlahouti has joined #openstack-horizon06:26
*** Drago1 has quit IRC06:31
*** viswanathsomanch has quit IRC06:32
*** katyafervent_awa is now known as katyafervent06:42
*** nlahouti has quit IRC07:01
*** sayan has joined #openstack-horizon07:25
*** vivekd_ has joined #openstack-horizon07:28
*** vivekd has quit IRC07:31
*** vivekd_ is now known as vivekd07:32
*** mrunge has joined #openstack-horizon07:37
*** Longgeek has quit IRC07:49
*** Longgeek has joined #openstack-horizon07:49
*** ramishra has joined #openstack-horizon07:53
*** regebro has joined #openstack-horizon08:06
*** qba73 has joined #openstack-horizon08:09
*** rdopieralski has joined #openstack-horizon08:18
*** Ala has joined #openstack-horizon08:19
*** katyafervent is now known as katyafervent_awa08:21
*** katyafervent_awa is now known as katyafervent08:24
*** e0ne has joined #openstack-horizon08:26
*** jtomasek has joined #openstack-horizon08:30
*** jcoufal has joined #openstack-horizon08:30
*** jcastro has joined #openstack-horizon08:31
*** jcastro has quit IRC08:32
*** jcastro has joined #openstack-horizon08:32
*** jcastro has quit IRC08:33
*** jcastro has joined #openstack-horizon08:34
*** jcastro has quit IRC08:34
*** jcastro has joined #openstack-horizon08:35
*** jcastro has quit IRC08:36
*** jcastro has joined #openstack-horizon08:37
*** qba73 has quit IRC08:37
*** jcastro is now known as josecastroleon08:39
*** josecastroleon has quit IRC08:40
*** josecastroleon has joined #openstack-horizon08:40
*** pkarikh has joined #openstack-horizon08:42
*** romainh has joined #openstack-horizon08:45
*** masco has joined #openstack-horizon08:45
*** cedrics has joined #openstack-horizon08:56
*** krykowski has joined #openstack-horizon08:57
*** MaxV has joined #openstack-horizon09:00
*** jpich has joined #openstack-horizon09:00
*** ygbo has joined #openstack-horizon09:06
*** zz_ttrifonov is now known as ttrifonov09:11
*** ttrifonov is now known as zz_ttrifonov09:15
*** aix has joined #openstack-horizon09:17
*** zz_ttrifonov is now known as ttrifonov09:17
*** ttrifonov is now known as zz_ttrifonov09:27
*** MaxV has quit IRC09:29
*** zz_ttrifonov is now known as ttrifonov09:31
*** Longgeek has quit IRC09:35
*** Longgeek has joined #openstack-horizon09:36
*** IvanBerezovskiy has joined #openstack-horizon09:37
*** jcoufal has quit IRC09:45
*** exploreshaifali has joined #openstack-horizon09:50
*** MaxV has joined #openstack-horizon09:54
*** ZZelle has joined #openstack-horizon09:54
*** exploreshaifali has quit IRC09:55
*** jprovazn has joined #openstack-horizon09:56
*** enykeev has joined #openstack-horizon09:57
*** athomas has joined #openstack-horizon09:59
*** cedricss has joined #openstack-horizon10:06
*** ZZelle_ has joined #openstack-horizon10:07
*** cedrics has quit IRC10:09
*** ZZelle_ has quit IRC10:10
*** exploreshaifali has joined #openstack-horizon10:15
*** sayan has quit IRC10:15
*** akrivoka has joined #openstack-horizon10:20
*** cedricss has quit IRC10:28
*** Longgeek has quit IRC10:30
*** sambetts has joined #openstack-horizon10:32
*** cedrics has joined #openstack-horizon10:32
*** akrivoka has quit IRC10:33
*** tosky has joined #openstack-horizon10:33
*** openstack797 has joined #openstack-horizon10:34
openstack797hi all10:34
openstack797need a quick help10:34
*** sayan has joined #openstack-horizon10:34
openstack797is_null10:35
openstack797is_null: hi10:35
*** tzumainn has joined #openstack-horizon10:36
jpichHi openstack797. It's customary to simply ask your question on IRC, if someone can help you they will, though it might take some time for them to see your question10:37
openstack797ohh okie10:39
openstack797jpich: thanks for the info10:39
openstack797jpich: my query is10:40
openstack797jpich: i was trying to run the tempest test case for volumes - tempest/tempest/scenario/test_volume_boot_pattern.py10:40
openstack797jpich: but it is failing with the error Details: {"itemNotFound": {"message": "floating ip not found", "code": 404}}10:42
jpichopenstack797: This channel is specific to the horizon dashboard, you may have better luck asking in #openstack-qa or #openstack-dev10:42
openstack797jpich: as per the analysis till now, what i found is that the TC is trying to use nova-network instead of neutron while trying to create floating-ip and failing to do so10:43
jpichProbably you should include a trace (use http://paste.openstack.org) so people can help you debug10:43
openstack797jpich: okie jpich thanks10:43
*** openstack797 has quit IRC10:44
*** cedrics has quit IRC10:44
*** krykowski has quit IRC10:48
*** ttrifonov is now known as zz_ttrifonov10:51
*** akrivoka has joined #openstack-horizon10:53
*** zz_ttrifonov is now known as ttrifonov10:55
*** aix has quit IRC11:02
*** Longgeek has joined #openstack-horizon11:03
*** Sukhdev_ has joined #openstack-horizon11:09
*** aix has joined #openstack-horizon11:29
*** ramishra has quit IRC11:29
*** nikunj2512 has quit IRC11:34
*** jcoufal has joined #openstack-horizon11:35
*** jroovers has joined #openstack-horizon11:38
*** akrivoka has quit IRC11:47
*** akrivoka has joined #openstack-horizon11:52
*** akrivoka has quit IRC12:01
*** akrivoka has joined #openstack-horizon12:01
*** vivekd has quit IRC12:03
*** cedrics has joined #openstack-horizon12:07
*** akrivoka has quit IRC12:09
*** nikunj2512 has joined #openstack-horizon12:10
*** Sukhdev_ has quit IRC12:11
nikunj2512jpich: Hi12:12
*** akrivoka has joined #openstack-horizon12:12
jpichnikunj2512: hey12:13
nikunj2512jpich: How was summit & Paris :-)12:13
*** hewbrocca has joined #openstack-horizon12:14
*** ramishra has joined #openstack-horizon12:15
jpichnikunj2512: Very good, I think! There's etherpads from most sessions if you're curious to see what was discussed12:15
nikunj2512jpich: Great.. i will take a look.. Thank You.. i hope you wasn't disappointed by the Paris Food :-)12:16
jpichnikunj2512: It was some of the best conference food I've ever had so that was quite ok :P12:16
nikunj2512jpich: good to hear that :-)12:17
nikunj2512jpich: if you have few minutes to spare.. Please take a look at this blueprint - https://blueprints.launchpad.net/horizon/+spec/detecting-browser ... i have modified it according to new format..12:17
jpichnikunj2512: Great, thanks! I'm still deep into emails and catching up on other things that came up while I was away so I won't have time to look into this today, maybe ask me again in another couple of days12:18
jpichThat actually came up during the operators session as well so I'm even more interested in seeing this get through12:18
nikunj2512jpich: Ok no problem.. much appreciated... operators session mean end-user sessions?12:19
jpichnikunj2512: No, I mean a design summit session focused on operators feedback last week12:20
nikunj2512jpich: Ohhh.. Ok12:20
*** raildo has joined #openstack-horizon12:26
*** alexpilotti has joined #openstack-horizon12:30
*** jtomasek has quit IRC12:44
*** john-davidge has joined #openstack-horizon12:46
*** jtomasek has joined #openstack-horizon12:52
*** vijendar has joined #openstack-horizon12:57
*** doug-fish has joined #openstack-horizon13:02
*** mflobo has joined #openstack-horizon13:02
*** alexpilotti has quit IRC13:24
*** jacalcat has joined #openstack-horizon13:26
*** asahlin has quit IRC13:32
*** sayan has quit IRC13:39
*** akrivoka has quit IRC13:43
*** mrunge has quit IRC13:46
*** akrivoka has joined #openstack-horizon13:47
*** _crobertsrh is now known as crobertsrh13:51
*** mattfarina has joined #openstack-horizon13:59
*** ramishra has quit IRC14:03
*** vijendar has quit IRC14:03
*** vijendar has joined #openstack-horizon14:04
*** openstackgerrit has joined #openstack-horizon14:05
*** Longgeek has quit IRC14:05
*** Longgeek has joined #openstack-horizon14:06
*** Longgeek has quit IRC14:06
*** ramishra has joined #openstack-horizon14:11
*** IvanBerezovskiy has quit IRC14:11
*** IvanBerezovskiy has joined #openstack-horizon14:11
*** asahlin has joined #openstack-horizon14:13
openstackgerritA change was merged to openstack/tuskar-ui: Node detail styling and node state icon filter, role detail  https://review.openstack.org/13076314:13
openstackgerritA change was merged to openstack/tuskar-ui: Add counts to index pages  https://review.openstack.org/13180914:16
*** exploreshaifali has quit IRC14:19
*** julim has joined #openstack-horizon14:28
*** ramishra has quit IRC14:34
*** ramishra has joined #openstack-horizon14:38
*** neelashah has joined #openstack-horizon14:39
*** peristeri has joined #openstack-horizon14:43
pkarikhjpomero, hi14:44
*** ramishra has quit IRC14:47
*** jprovazn has quit IRC14:52
*** Drago has joined #openstack-horizon14:53
*** rbertram has joined #openstack-horizon14:53
*** jcoufal has quit IRC14:55
jdandreaHas anyone had trouble getting other WSGI apps to peacefully coexist with Horizon on the same apache server? Context: http://paste.openstack.org/show/130227/14:56
openstackgerritGeorge Peristerakis proposed a change to openstack/horizon: Attach a floating ip to an created instance  https://review.openstack.org/13248615:02
*** julim has quit IRC15:03
openstackgerritRadomir Dopieralski proposed a change to openstack/tuskar-ui: Move the nodes templtes to global templates directory  https://review.openstack.org/13225215:05
*** julim has joined #openstack-horizon15:06
*** sigmavirus24_awa is now known as sigmavirus2415:08
*** sayan has joined #openstack-horizon15:12
*** k4n0 has quit IRC15:14
*** ericpeterson has joined #openstack-horizon15:14
*** ramishra has joined #openstack-horizon15:16
*** nikunj2512 has quit IRC15:20
*** woodm1979 has joined #openstack-horizon15:25
*** woodm19791 has joined #openstack-horizon15:29
*** woodm1979 has quit IRC15:29
*** ramishra has quit IRC15:30
*** ramishra has joined #openstack-horizon15:33
*** exploreshaifali has joined #openstack-horizon15:36
*** jrist has joined #openstack-horizon15:38
openstackgerritA change was merged to openstack/tuskar-ui: Move the nodes templtes to global templates directory  https://review.openstack.org/13225215:38
*** ramishra has quit IRC15:40
jpomeropkarikh, hi15:45
*** Viswanath has joined #openstack-horizon15:47
*** Viswanath has quit IRC15:50
*** ramishra has joined #openstack-horizon15:54
*** ramishra has quit IRC15:55
pkarikhjpomero, I've updated my patch according your comments. Could you please take a look as you will have time? https://review.openstack.org/#/c/128253/15:55
jpomeropkarikh, i will take a look15:56
pkarikhjpomero, thanks! :)15:56
*** Viswanath has joined #openstack-horizon15:57
*** woodm1979 has joined #openstack-horizon15:58
*** woodm19791 has quit IRC15:58
*** ramishra has joined #openstack-horizon15:59
*** Viswanath has quit IRC16:01
*** bpokorny has joined #openstack-horizon16:02
*** ramishra has quit IRC16:03
*** rebelagentm has joined #openstack-horizon16:08
*** Viswanath has joined #openstack-horizon16:08
*** Viswanath has quit IRC16:14
*** Drago1 has joined #openstack-horizon16:15
*** Drago1 has joined #openstack-horizon16:16
pkarikhFolks, who knows whether Horizon uses https by default or not?16:21
rdopieralskipkarikh: the person who set it up16:27
*** tqtran has joined #openstack-horizon16:27
rdopieralskipkarikh: it depends on the configuration of the web server, not horizon itself16:27
*** foexle has joined #openstack-horizon16:29
pkarikhrdopieralski, and where I can read more about security/crypto libs, which Horizon uses? I've found this page, https://wiki.openstack.org/wiki/Security/Icehouse, but looks like there is nothing about Horizon there.16:30
foexleheyho guys, is there anything what i need todo again ? https://review.openstack.org/#/c/131475/16:30
rdopieralskipkarikh: why would horizon use any crypto libraries?16:30
pkarikhrdopieralski, I just research what opportunities for strengthening security there are in Horizon except of ssl for API connections and some django-s XSS-protection things.16:37
*** nlahouti has joined #openstack-horizon16:37
*** cedrics has quit IRC16:38
*** john-davidge has quit IRC16:41
pkarikhjpomero, I think that the commit message from this patch can be an example of the nice and meaningful commit-msg :) https://review.openstack.org/#/c/112744/16:42
*** alexpilotti has joined #openstack-horizon16:46
jpomeropkarikh, i was trying to preemptively answer questions i knew i was going to get about the implementation =]16:52
jpomerosince i had already gotten some of them16:52
*** IvanBerezovskiy has left #openstack-horizon16:56
*** ttrifonov is now known as zz_ttrifonov17:00
*** amerine has joined #openstack-horizon17:00
*** ygbo has quit IRC17:02
*** Drago1 has quit IRC17:02
ericpetersonhttps://bugs.launchpad.net/horizon/+bug/1391242   is a easy bug to fix, I think, and rather severe.  up for anyone.  thanks!17:03
*** rdopieralski has quit IRC17:12
*** Ala has quit IRC17:14
*** vijendar1 has joined #openstack-horizon17:15
*** vijendar has quit IRC17:18
*** vijendar1 has quit IRC17:19
*** vijendar has joined #openstack-horizon17:20
*** hewbrocca has quit IRC17:23
*** wuhg has quit IRC17:23
*** Viswanath has joined #openstack-horizon17:29
*** colinmcnamara has joined #openstack-horizon17:31
*** ayoung has joined #openstack-horizon17:32
*** ybathia has joined #openstack-horizon17:33
*** masco has quit IRC17:34
*** Viswanath has quit IRC17:34
*** jpich has quit IRC17:35
*** regebro has quit IRC17:35
*** david-lyle has joined #openstack-horizon17:38
*** woodm19791 has joined #openstack-horizon17:41
*** woodm1979 has quit IRC17:41
*** woodm1979 has joined #openstack-horizon17:41
*** woodm19791 has quit IRC17:45
ericpetersondavid-lyle (or any cores):  I am coordinating with sambetts on https://review.openstack.org/#/c/118334/ so another bug I have will also be storing cookies per user.  It would be very nice if we had a clear idea on if we will settings in a user specific cookie.  Is that agreed upon for a direction???17:46
*** bpokorny has quit IRC17:46
*** Viswanath has joined #openstack-horizon17:47
ericpetersonif we do that, it also will eat into 4k storage limits since each user gets a cookie17:48
*** sambetts has quit IRC17:52
*** bpokorny has joined #openstack-horizon17:52
*** romainh has quit IRC17:58
*** Viswanath has quit IRC17:59
*** Viswanath has joined #openstack-horizon18:02
*** doug-fish has left #openstack-horizon18:05
*** Viswanath has quit IRC18:07
*** MaxV has quit IRC18:07
*** Viswanath has joined #openstack-horizon18:15
*** athomas has quit IRC18:18
*** Viswanath has quit IRC18:19
*** exploreshaifali has quit IRC18:23
*** colinmcnamara has quit IRC18:23
openstackgerritThai Tran proposed a change to openstack/horizon: Angular table templating  https://review.openstack.org/12412618:24
*** colinmcnamara has joined #openstack-horizon18:25
*** doug-fish has joined #openstack-horizon18:28
*** colinmcnamara has quit IRC18:37
*** Viswanath has joined #openstack-horizon18:42
*** akrivoka has quit IRC18:43
*** colinmcnamara has joined #openstack-horizon18:43
*** amcrn has joined #openstack-horizon18:44
*** Viswanath has quit IRC18:44
*** dkorn has joined #openstack-horizon18:46
*** aix has quit IRC18:48
*** Viswanath has joined #openstack-horizon18:48
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: region and project not sticky  https://review.openstack.org/11920218:49
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: region and project not sticky  https://review.openstack.org/13354018:50
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: region and project not sticky  https://review.openstack.org/11920218:50
ericpetersonI intentionally have two versions of a fix up there ^, depending upon direction of using per user cookies18:53
*** ybathia has quit IRC18:54
*** ybathia has joined #openstack-horizon18:54
*** Viswanath has quit IRC18:54
*** ybathia has quit IRC18:59
*** ybathia has joined #openstack-horizon19:06
*** foexle has quit IRC19:11
*** Viswanath has joined #openstack-horizon19:12
*** Viswanath has quit IRC19:17
david-lyleericpeterson: per user because we're assuming multiple users will be using the same browser on the same computer?19:17
openstackgerritA change was merged to openstack/horizon: Restyled topbar to resemble UX guidelines  https://review.openstack.org/11711819:17
david-lyleare we optimizing for internet cafes?19:17
ericpetersonyes, it was a bug that sambetts had19:18
*** MaxV has joined #openstack-horizon19:18
david-lylea legit bug?19:18
david-lylewhat's the use case?19:18
ericpetersonI am provided too versions of a patch to make project and region sticky.... one with the per user cookie and the other without19:18
ericpetersonyour questions are kind of what I was looking for guidance from you and the cores on19:19
david-lyleI'm just trying to understand what use case is for keying the cookie on the user id19:19
ericpetersonif you don't want per user cookies, thats fine.... lets close that out and move on19:19
david-lyleI may be short-sighted, looking for enlightenment19:20
ericpetersonit is for what you are thinking..... one user logs on, then another user logs on that same browser/machine19:20
ericpetersonand the settings from the previous user are used19:20
david-lylethat seems like pre-mature optimization to me19:20
ericpetersoncould be, I am not really advocating that approach19:20
ericpetersonI just want the region and project to be sticky, and trying to get that moving19:21
david-lyleI understand19:21
david-lylenone of the other settings are per user now19:21
ericpetersonso maybe a topic for tomorrow's meeting19:22
david-lyleI think not making it per user is fine19:22
ericpetersonok.  either way with me.   ready to ship some code tho19:22
david-lyleif we want to re-key later because someone has an awesome use case that I'm missing19:22
*** MaxV has quit IRC19:22
david-lylelink for the non-per user?19:22
ericpetersonhold on.... lemme ammend a checkin, I goofed up a gerrit submission19:25
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: region and project not sticky  https://review.openstack.org/11920219:26
david-lylespelling errors in the first review still hold19:27
david-lyleericpeterson:19:27
*** Viswanath has joined #openstack-horizon19:27
ericpetersonhttps://review.openstack.org/#/c/119202/  yep, there it is19:27
*** tosky has quit IRC19:28
ericpetersonok.  I have previously said that spelling errors equate to "COPYRIGHT: Eric Peterson"19:28
david-lylenot arguing that point19:28
*** bpokorny has quit IRC19:28
ericpetersonwill fix that one up, thanks for the input / guidance19:28
david-lyleif only there were tools for that sort of thing ;)19:29
openstackgerritA change was merged to openstack/horizon: Fix Horizon crash when parsing volume list  https://review.openstack.org/13264419:30
*** woodm1979 has quit IRC19:30
*** woodm1979 has joined #openstack-horizon19:30
*** e0ne has quit IRC19:33
*** Viswanath has quit IRC19:33
*** davelowe has joined #openstack-horizon19:33
*** dkehn_ has joined #openstack-horizon19:33
*** rwsu has joined #openstack-horizon19:35
*** bpokorny has joined #openstack-horizon19:38
*** gary-smith has quit IRC19:46
*** Viswanath has joined #openstack-horizon19:51
*** Viswanath has quit IRC19:53
*** ybathia has quit IRC20:01
*** gary-smith has joined #openstack-horizon20:01
*** Sukhdev has joined #openstack-horizon20:04
*** mrunge has joined #openstack-horizon20:04
*** mrunge has quit IRC20:05
*** mrunge has joined #openstack-horizon20:05
*** david-lyle has quit IRC20:08
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: Make region and project sticky  https://review.openstack.org/11920220:10
*** dkehn_ has quit IRC20:13
*** colinmcnamara has quit IRC20:14
*** sayan has quit IRC20:18
*** julim has quit IRC20:19
*** r1chardj0n3s_afk is now known as r1chardj0n3s20:19
r1chardj0n3sgood morning20:19
*** pastypas_ has joined #openstack-horizon20:19
mrungeo/20:19
*** pastypas_ has quit IRC20:32
*** pastypas_ has joined #openstack-horizon20:33
*** pastypas_ has quit IRC20:33
*** pastypas_ has joined #openstack-horizon20:35
*** david-lyle has joined #openstack-horizon20:36
*** e0ne has joined #openstack-horizon20:39
*** jroovers has quit IRC20:40
*** Sukhdev has quit IRC20:54
*** nlahouti has quit IRC20:55
*** Sukhdev has joined #openstack-horizon20:57
*** dkorn has quit IRC20:57
*** e0ne has quit IRC20:59
*** e0ne has joined #openstack-horizon21:03
*** e0ne has quit IRC21:06
*** julim has joined #openstack-horizon21:06
*** Sukhdev has quit IRC21:07
*** raildo is now known as raildo_away21:08
*** e0ne has joined #openstack-horizon21:10
*** sigmavirus24 is now known as sigmavirus24_awa21:11
*** sigmavirus24_awa is now known as sigmavirus2421:12
*** mattfarina has quit IRC21:17
*** Sukhdev has joined #openstack-horizon21:18
*** e0ne has quit IRC21:28
*** e0ne has joined #openstack-horizon21:32
*** e0ne has quit IRC21:37
*** crobertsrh is now known as _crobertsrh21:46
*** Sukhdev has quit IRC21:47
*** mrunge has quit IRC21:48
*** e0ne has joined #openstack-horizon21:49
*** Viswanath_ has joined #openstack-horizon21:51
*** Viswanath has joined #openstack-horizon21:51
*** e0ne has quit IRC21:53
*** Viswanath_ has quit IRC21:53
*** Viswanath has quit IRC21:54
*** rbertram has quit IRC21:56
*** e0ne has joined #openstack-horizon21:57
*** e0ne has quit IRC21:58
*** nlahouti has joined #openstack-horizon22:00
*** ayoung is now known as ayoung-dadmode22:01
*** aix has joined #openstack-horizon22:02
*** Viswanath has joined #openstack-horizon22:25
*** ybathia has joined #openstack-horizon22:25
*** Viswanath has quit IRC22:28
*** Drago has quit IRC22:30
*** colinmcnamara has joined #openstack-horizon22:34
david-lyleericpeterson: ping22:35
ericpetersondavid-lyle: pong22:37
david-lylehave you tried the latest version of https://review.openstack.org/#/c/119202 ?22:38
ericpetersonyeah, I think so.  lemme reclean my venv and double check22:38
ericpetersonwas there an issue in particular you had in mind???22:39
david-lylewas trying to recreate in python and the sort seems to be reversed22:39
david-lyledo you need reverse=True in backend.py?22:39
ericpetersonthe sort seemed to produce what I needed22:40
david-lylewill try with objects22:40
david-lylewith dicts reverses order22:40
tqtrandavid-lyle: do you know how django_openstack_auth is referencing templates in horizon? https://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/views.py#L8522:41
tqtranif anyone knows, feel free to chime in22:41
ericpetersonI prolly know22:42
ericpetersondavid-lyle:  just verified..... choose my 3rd (out of 5) projects, and secondary region.... logged out, back in.... and back where I was22:43
woodm1979david-lyle: >>> a = [True, False, True, False]22:43
woodm1979>>> a.sort()22:43
woodm1979>>> a22:43
woodm1979[False, False, True, True]22:43
ericpetersonI think it just works™22:43
woodm1979For some reason, False is first.22:43
woodm1979That's your issue.22:43
r1chardj0n3sdavid-lyle: hi; do you have contact details for Max, the guy writing the new add instance wizard?22:44
ericpetersonr1chardj0n3s  also look for travist online at some point22:44
ericpetersontravis tripp is his name22:44
david-lyleTravT is on vacation for a week22:45
r1chardj0n3sericpeterson: thanks, he's on my list of names to contact :)22:45
david-lyleMax is maxV22:45
r1chardj0n3sthanks david-lyle22:45
david-lylesure22:45
david-lylel = [{"id": "A"}, {"id": "B"}, {"id": "C"}]22:45
woodm1979r1chardj0n3s: I'll also be working with TravT on this project.22:45
r1chardj0n3sdavid-lyle: rather unfortunately, I didn't manage to get everyone's actual contact details who put their hand up at the meetup :/22:45
david-lylel.sort(key=lambda d: (d.id == "B"))22:46
r1chardj0n3swoodm1979: the Add Instance wizard?22:46
david-lyledoh wrong sort line22:46
woodm1979r1chardj0n3s: Yessir22:46
r1chardj0n3swoodm1979: oh, cool - were you at the meetup last Friday? (ie. do I have your name on the list already :)22:46
david-lylel.sort(key=lambda d: (d["id"] == "B")022:46
*** jacalcat has quit IRC22:46
woodm1979@david-lyle: It seems pretty weird to me to be sorting on True or False.22:47
woodm1979Hence the strange behavior of sorting a list of falses and trues.  I'd personally think the trues would be first, but …22:47
woodm1979It's possible that's an implementation detail for various pythons.22:47
david-lylewoodm1979: I feel like it's working by chance22:47
ericpetersonwoodm1979: we need a list where a certain item is first, where a value == X or something.   the rest of the list can stay as is22:47
r1chardj0n3shad a jetlag day yesterday, so am getting back up to speed today, working on my many action items from last week :)22:48
woodm1979Though in old python, True was 1 and False was 0, so maybe that's what's being mimicked.22:48
david-lyler1chardj0n3s: I should be able to link you with the appropriate folks22:48
r1chardj0n3sdavid-lyle: cool, thanks. Most importantly, I need to touch base with the UX folks who stepped up.22:49
r1chardj0n3sSerena, Michael H and Jarda22:49
david-lylesdoyle, michaelh and jcoufal22:49
r1chardj0n3sawesome, thanks!22:50
david-lylecan track down emails if necessary22:50
r1chardj0n3sdavid-lyle: propbably going to be, given timezones, so yes please :/22:51
david-lylewoodm1979: using python 2.7.5 on the Mac22:51
*** e0ne has joined #openstack-horizon22:52
*** colinmcnamara has quit IRC22:53
*** colinmcnamara has joined #openstack-horizon22:54
woodm1979yeah22:55
woodm1979I'm looking up a more official solution for you, but likely the best would be to pull that value out of the list and then re-insert it22:55
tqtranericpeterson: have an idea of how that works? =D22:55
woodm1979david-lyle: http://stackoverflow.com/questions/949098/python-split-a-list-based-on-a-condition  Yeah, not so simple solutions here.22:56
*** alexpilotti has quit IRC22:57
david-lyletqtran: it's actually the inverse22:58
david-lylehorizon is referencing openstack_auth templatese22:58
david-lylewith less E22:58
r1chardj0n3stemplatese sounds like a dialect :)22:59
ericpetersontqtran:  that code you refer to is from the convention of modal popups23:00
*** rbertram has joined #openstack-horizon23:01
tqtranok here is my trace:23:03
tqtranhttps://github.com/openstack/horizon/blob/master/openstack_dashboard/urls.py#L3623:03
tqtranhttps://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/urls.py#L2423:03
*** e0ne has quit IRC23:03
tqtranhttps://github.com/openstack/django_openstack_auth/blob/master/openstack_auth/views.py#L8523:03
*** peristeri has quit IRC23:03
tqtranbasically, im just curious how openstack_auth knows about the auth/_login.html, which exists in horizon....23:03
tqtranwell, knows is the wrong word... more like "fetch"?23:04
woodm1979@david-lyle: This might work for you:  https://review.openstack.org/#/c/119202/12/openstack_auth/backend.py23:05
woodm1979Python's sort is stable.23:05
woodm1979Gah, my comment hadn't saved.  It should be saved now.23:07
ericpetersonso it's cool then or not woodm1979 ?23:07
ericpetersonI could write some other sort method thing, but I was trying to keep it as small as possible23:07
woodm1979No, that sort COULD work if you do a reverse, but I'd be unfomfortable with it.23:08
woodm1979instead, just add in a known value (0 and 1 for instance)23:08
woodm1979I pasted in example code here:  https://review.openstack.org/#/c/119202/12/openstack_auth/backend.py23:08
woodm1979that will make the sort work guaranteed.23:08
woodm1979and with no strange ambiguity around True < False23:09
david-lylewoodm1979: I get the same sort result in python on ubuntu as well23:09
ericpetersonif the sort is stable, that implies reliability to me, but I agree with clarity23:09
ericpetersonwoodm1979: your example exceeds 80 characters :p23:11
ericpeterson;)23:11
woodm1979Well, stable means a very specific thing as relates to sorting.23:11
david-lyleI get better results in my test case with Matt's code23:12
ericpetersonadding matt's idea, just need to pacify pep823:12
woodm1979reverse wouldn't work because it'd reverse everything as well.23:13
woodm1979yeah, I think the 0 and 1 idea is really the best.  I generally hate lambdas though.23:14
woodm1979:-)  And others will give you pushback on the ternary-ness.  :-)23:14
david-lylewoodm1979: I wasn't advocating the reverse, just was trying to understand the lambda expression and it failed on the test case23:14
ericpetersonwoodm1979:  others meaning woodm1979  ;)23:14
woodm1979totally understand.  I'm just talking out loud.23:14
woodm1979ericpeterson: others meaning most reviewers.  I use it all the time, but radomir has struck me down occasionally.23:15
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: Make region and project sticky  https://review.openstack.org/11920223:16
ericpetersoninstead of reverse, I found switching the 0 and 1 worked well23:16
ericpetersonthanks woodm1979 and david-lyle for taking a look at this.  users around here are ready to punch me with this behavior23:18
woodm1979:-)23:18
david-lyleericpeterson: must be something about your face23:19
david-lyle:)23:19
ericpetersonI get told that a lot23:19
*** colinmcnamara has quit IRC23:22
*** jtomasek has quit IRC23:22
*** rbertram has quit IRC23:22
*** neelashah has quit IRC23:25
*** colinmcnamara has joined #openstack-horizon23:27
*** gary-smith has quit IRC23:31
david-lyleericpeterson: I hate to belabor the point, but aren't the 1 and 0 reversed in your patch?23:31
ericpetersonI am testing against a real setup, and it works for what we need23:34
ericpetersonbefore it was not working23:34
woodm1979Wait, yeah, I agree with David.23:35
* woodm1979 goes and removes his +1. :-)23:35
ericpetersonit is b/c the operation down below is using pop()23:36
ericpetersonwhich takes the last item in the list23:36
woodm1979If ever there was a need for a comment in code, this seems like it.23:36
ericpetersonso you want your preferred project to be last with the existing code23:36
woodm1979# if a most recent project was found, try using it first23:37
openstackgerritEric Peterson proposed a change to openstack/django_openstack_auth: Make region and project sticky  https://review.openstack.org/11920223:38
* ericpeterson looks forward to the next round of "and one more thing...."23:39
woodm1979Oooh, two more things!23:39
* ericpeterson looks for something to throw ;)23:39
woodm1979(plus1)23:43
ericpeterson:D23:43
woodm1979both to the code and to the throwing of things.23:43
*** sigmavirus24 is now known as sigmavirus24_awa23:43
david-lyleericpeterson: no23:44
david-lyleit pops and attempts to get a scoped token for that project23:44
david-lyleyou want the first23:44
david-lylethe first one that is scoped is the project23:44
ericpetersonsay huh?23:45
ericpetersonyou want the last project you used, and try to scope to that first and foremost23:45
ericpetersonwhich is what is there23:45
ericpetersonit sorts the list with the last used project at the end of the list23:45
david-lyleyes23:45
ericpetersonpop() pulls one from the end23:45
ericpetersonand bob's your uncle23:46
ericpetersonif that one fails.... it then tries the next one at the tail of the list.... until no more remain23:46
ericpetersonso why do I want the first one?23:46
david-lyleyou are right23:47
ericpetersonfirst time for everything23:47
david-lylewe could just pop023:48
david-lyleerr pop(0)23:48
woodm1979That'd likely be clearer.  :-)23:48
david-lylethe logic is getting quite convoluted23:48
david-lyleeither way, stupid sticky session23:49
david-lyle:P23:49
openstackgerritAaron Sahlin proposed a change to openstack/horizon: Fixed display issues on Details Page caused by bootstrap 3 update  https://review.openstack.org/11569323:49
* ericpeterson senses another patch23:49
* ericpeterson holds steady23:49
david-lyleI think the patch you have logic wise is fine23:49
david-lylebut shoving the thing you want to the end of a list seems counter intuitive23:50
david-lylewhy not just a for loop that breaks23:50
ericpetersonthat is what already existed, and I didn't want to change any more than what was needed23:51
david-lylewhen you find one that works23:51
ericpetersonI just needed to change the order of how projects are attempted23:51
david-lylebecause what is there is stupid23:51
david-lyle:D23:52
ericpetersonIt's taken 2 months to change less than 100 lines of code, if I refactor stuff I am pretty sure I won't see stuff happen in my lifetime.  that's part of my concern23:52
ericpetersontrying to change the least amount of code and still not rock the boat23:53
ericpetersongreater the chance for +2.... etc23:53
david-lyleI like the change, I just want it not to be confusing as hell23:54
david-lyleI'll get it merged23:54
ericpetersonI think the number of people on planet earth that have worked in DOA is < 10.  that thing and confusion are good friends23:54
david-lyleseems like we could try to improve some of the confusion23:56
ericpetersonif you want it with the pop(0) or whatever, that is not the end of the world too.  I would also sort in a more logical order, etc23:56
*** Drago has joined #openstack-horizon23:57
ericpetersonjust give review feedback.  eod for me23:57
*** ericpeterson has quit IRC23:57
*** gary-smith has joined #openstack-horizon23:57

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