Thursday, 2014-09-25

*** ArcTanSusan has quit IRC00:05
*** dsneddon has quit IRC00:10
*** ArcTanSusan has joined #openstack-horizon00:10
*** sigmavirus24_awa is now known as sigmavirus2400:11
*** dsneddon has joined #openstack-horizon00:12
*** alexpilotti has quit IRC00:18
*** alexpilotti has joined #openstack-horizon00:25
*** alexpilotti has quit IRC00:26
*** neillc_ has quit IRC00:29
*** nlahouti has quit IRC00:31
*** dsneddon has quit IRC00:31
*** dsneddon has joined #openstack-horizon00:32
gary-smithjpich: bug 133153 is only present for icehouse; it is fixed in juno. Is there a better way to represent this than 'icehouse-backport-potential' ?00:44
jpichgary-smith: I tried to do this by adding a Icehouse task and marking the master one as invalid00:45
jpichbut there has to be a bug covering that somewhere (I mean, it's unlikely it was accidentally fixed?) so ideally we'd mark this as a duplicate :-)00:45
gary-smithah, I see. That's good to know00:45
jpichgary-smith: Do you know how to open task targetted to a specific series like that?00:46
gary-smithno, I don't00:46
jpicher, branch?00:46
jpichIt's the "Target to series" button below the affected projects00:46
gary-smithNominate for series, right?00:46
jpichIt's additive so if you click "Icehouse" it will add a Icehouse task -- I was afraid I was accidentally retargetting the bug away from master the first time I used it :-)00:47
gary-smithThat's good to know00:47
jpichHm it's called "Target to series" for me... "Also affect projects" "Also affect distribution/package" "Target to series"00:47
gary-smithInteresting, mine sez "Also affects project", "Also affects distribution/package", "Nominate for series"00:50
gary-smithmaybe its a l10n thing00:50
gary-smith(within launchpad)00:50
*** harlowja_ has quit IRC00:51
gary-smithgotta run00:52
*** gary-smith has quit IRC00:52
*** ArcTanSusan has quit IRC00:53
*** dsneddon has quit IRC00:53
*** dsneddon has joined #openstack-horizon00:53
*** lcheng has joined #openstack-horizon00:55
*** cedrics has joined #openstack-horizon01:00
*** cedrics has quit IRC01:09
*** Drago1 has joined #openstack-horizon01:10
*** harlowja has joined #openstack-horizon01:18
*** Sukhdev has quit IRC01:21
*** Sukhdev has joined #openstack-horizon01:22
*** clu_ has quit IRC01:26
*** bpokorny_ has quit IRC01:30
*** lcheng has quit IRC01:33
*** sseago has quit IRC01:36
*** ramishra has joined #openstack-horizon01:46
*** ArcTanSusan has joined #openstack-horizon01:55
*** jpich has quit IRC01:57
*** jacalcat has joined #openstack-horizon02:10
*** ramishra has quit IRC02:11
*** jpich has joined #openstack-horizon02:14
*** rodrigod` has joined #openstack-horizon02:15
*** rodrigods has quit IRC02:16
*** rodrigod` has quit IRC02:19
*** rodrigods has joined #openstack-horizon02:19
*** rodrigods_ has quit IRC02:27
*** Sukhdev has quit IRC02:28
*** sigmavirus24 is now known as sigmavirus24_awa02:29
*** Drago1 has quit IRC02:32
*** jacalcat has quit IRC02:35
*** sseago has joined #openstack-horizon02:37
*** ArcTanSusan has quit IRC02:51
*** jacalcat has joined #openstack-horizon03:02
*** ArcTanSusan has joined #openstack-horizon03:15
*** bradjones has quit IRC03:18
*** bradjones has joined #openstack-horizon03:23
*** bradjones has quit IRC03:23
*** bradjones has joined #openstack-horizon03:23
*** nlahouti has joined #openstack-horizon03:49
*** jacalcat has quit IRC03:53
*** jacalcat has joined #openstack-horizon03:53
*** nlahouti has quit IRC03:55
*** nlahouti has joined #openstack-horizon03:56
*** ramishra has joined #openstack-horizon03:57
*** coolsvap is now known as coolsvap|gone03:58
*** ArcTanSusan has quit IRC04:04
*** Sukhdev has joined #openstack-horizon04:06
*** echevemaster_ has joined #openstack-horizon04:09
*** ArcTanSusan has joined #openstack-horizon04:12
*** ankit_ag has joined #openstack-horizon04:23
*** ArcTanSusan has quit IRC04:24
*** lcheng has joined #openstack-horizon04:29
*** jacalcat has quit IRC04:32
*** nikunj2512 has joined #openstack-horizon04:34
*** gokrokve has joined #openstack-horizon04:35
*** amcrn has quit IRC04:46
*** nlahouti has quit IRC04:49
*** nlahouti has joined #openstack-horizon04:49
*** nlahouti has quit IRC04:49
*** nlahouti has joined #openstack-horizon04:50
*** lsmola has quit IRC04:57
*** echevemaster_ has quit IRC04:58
*** gokrokve has quit IRC05:04
*** lsmola has joined #openstack-horizon05:11
*** jpich has quit IRC05:15
*** tzumainn has quit IRC05:20
*** ramishra has quit IRC05:25
*** coolsvap|gone is now known as coolsvap05:26
*** masco has joined #openstack-horizon05:28
*** jpich has joined #openstack-horizon05:29
nikunj2512Hi, i am trying to create a pip package for my js and css files but i am getting import error05:43
nikunj2512Please some help me05:43
nikunj2512http://paste.openstack.org/show/115200/05:43
nikunj2512Log of the error - http://paste.openstack.org/show/115200/05:43
*** vkmc has quit IRC05:44
*** jpomero_ has joined #openstack-horizon05:46
*** rbertram has quit IRC05:46
*** jpomero has quit IRC05:49
*** harlowja is now known as harlowja_away05:53
*** amcrn has joined #openstack-horizon05:55
nikunj2512jpich: Julie, do you have any insights about creating a pip package??05:56
jpichnikunj2512: Hey! I don't at this point, sorry I can't help05:56
nikunj2512jpich: OK. Thank You05:56
*** sayali has joined #openstack-horizon06:00
*** Sukhdev has quit IRC06:03
*** asahlin_ has joined #openstack-horizon06:06
*** asahlin has quit IRC06:07
*** johnma has quit IRC06:08
*** mrunge has joined #openstack-horizon06:10
*** ramishra has joined #openstack-horizon06:12
*** ramishra has quit IRC06:17
*** ramishra has joined #openstack-horizon06:28
*** k4n0 has joined #openstack-horizon06:37
*** ramishra has quit IRC06:38
*** MaxV has joined #openstack-horizon06:40
*** jprovazn has joined #openstack-horizon06:43
*** jtomasek has joined #openstack-horizon06:44
*** rdopieralski has joined #openstack-horizon06:46
*** nlahouti has quit IRC06:49
mflobowhere are the model definition on Horizon?06:53
mflobomodels.py file is empty06:53
nikunj2512rdopiealski: Please help me in creating a pip package. I am trying to create one from yesterday but i am not able to do so06:54
*** MaxV has quit IRC06:54
jpichmflobo: Horizon doesn't store any data and uses the API from the other OpenStack components to interact with the data06:55
mflobojpich, ok, so Horizon is not exactly a Django application I guess...06:56
jpichmflobo: It's based on Django but it has its little quirks06:58
mflobojpich, ok, thank you06:58
jpichNo problems06:59
*** bradjones has quit IRC07:03
rdopieralskinikunj2512: what did you do, what did you expect to get and what did you get instead?07:03
mfloboOther question, at this point http://docs.openstack.org/developer/horizon/topics/tutorial.html?highlight=horizon%20views#defining-a-table , we define a table for a dashboard07:04
*** ankit_ag has left #openstack-horizon07:04
mflobomy question is: Is it possible to have 2 tables in the same view? for example, 2 tables on Image list?07:04
nikunj2512rdopiealski: i cloned the Xstatic-jQuery package and followed the instructions given on the xstatic package page. But after making all the changes, i am getting this error: http://paste.openstack.org/show/115200/07:05
nikunj2512rdopiealski: In the end i want a pip package to be generated07:05
rdopieralskinikunj2512: show me the repository with your code07:05
nikunj2512rdopiealski: How??07:06
rdopieralskinikunj2512: put it on github or bitbucket and give me the link?07:06
nikunj2512ok07:07
jpichmflobo: Yep. Here's an example in Icehouse: https://github.com/openstack/horizon/blob/stable/icehouse/openstack_dashboard/dashboards/admin/aggregates/templates/aggregates/index.html07:08
mflobojpich, thank you, I'll check07:09
*** lcheng has quit IRC07:12
*** jcoufal has joined #openstack-horizon07:12
*** dulek has joined #openstack-horizon07:13
nikunj2512rdopiealski: Here is the code : https://github.com/nikunj2512/jReject07:16
*** ttrifonov_zZzz is now known as ttrifonov07:16
*** romainh has joined #openstack-horizon07:18
rdopieralskinikunj2512: looking07:27
nikunj2512rdopiealski: ok and Thank you07:28
*** jpich_ has joined #openstack-horizon07:28
rdopieralskinikunj2512: you definitely want to change the maintainer name and address07:29
rdopieralskinikunj2512: and the homepage address07:29
nikunj2512rdopiealski: ok but all the static data is sample. i deleted and created these files many ti,es07:29
rdopieralskinikunj2512: other than that I don't see a problem07:29
rdopieralskinikunj2512: how are you generating the package?07:30
*** MaxV has joined #openstack-horizon07:30
nikunj2512rdopiealski: Ok, i am running this command - python setup.py sdist07:30
*** MaxV has quit IRC07:30
*** bradjones has joined #openstack-horizon07:30
rdopieralskinikunj2512: sounds good, and what are you doing with the file then?07:31
*** bradjones has quit IRC07:31
*** bradjones has joined #openstack-horizon07:31
nikunj2512rdopiealski: And it gives me import error saying: ImportError: No module named jreject07:31
nikunj2512rdopiealski: This command is failing07:31
rdopieralskifrom what directory are you running that command?07:32
*** jpich has quit IRC07:32
*** jpich_ is now known as jpich07:33
nikunj2512From the base directory07:33
rdopieralskinikunj2512: I just downloaded your code and ran that command and it worked fine07:34
nikunj2512So this means some error with my system??07:34
*** MaxV has joined #openstack-horizon07:35
rdopieralskiwget -nd https://github.com/nikunj2512/jReject/archive/master.zip && unzip master.zip && cd jReject-master && python setup.py sdist07:36
rdopieralskithis command builds the sdist file for me07:36
nikunj2512Ok, let me try it07:36
nikunj2512rdopiealski: Still same error07:38
nikunj2512rdopiealski: Still same error07:38
nikunj2512rdopiealski: This time i tried into a different enviroment07:38
nikunj2512rdopiealski: I am able to do this under windows enviroment but not under Ubuntu??07:39
rdopieralskiI use ubuntu07:40
rdopieralskiare you absolutely sure that you are in the correct directory when you are doing it07:40
rdopieralskiand there are no stray files07:41
nikunj2512rdopiealski: Yes, I am07:41
*** sayan has joined #openstack-horizon07:41
rdopieralskinikunj2512: what does `python -c 'import sys; print sys.path'` say?07:42
nikunj2512rdopiealski: http://paste.openstack.org/show/115228/07:43
rdopieralskihmm, that's devstack's virtualenv?07:45
*** jcoufal has quit IRC07:46
*** qba73 has joined #openstack-horizon07:46
nikunj2512rdopiealski: OK07:46
nikunj2512rdopiealski: So, it that's a problem??07:46
*** jcoufal has joined #openstack-horizon07:46
rdopieralskino idea, it shouldn't be07:46
*** e0ne has joined #openstack-horizon07:46
rdopieralskibut python has some funky stuff going on with namespaces when you have subpackages installed in different directories07:47
rdopieralskican you try with a clean virtualenv?07:47
nikunj2512rdopiealski: OK, i will try it07:47
*** e0ne has quit IRC07:49
*** e0ne has joined #openstack-horizon07:50
nikunj2512rdopiealski: I am able to it under a clean Virtualenv07:51
nikunj2512rdopiealski: Thank You very much07:52
rdopieralskinikunj2512: excellent, thank you for working on it07:53
nikunj2512rdopiealski: No, no, thank You. I was trying this from yesterday but it was failing everytime. but You solved it :). Thank You again. :):)07:55
*** e0ne has quit IRC07:55
*** Ala has joined #openstack-horizon07:57
*** qba73 has quit IRC07:57
*** cedrics has joined #openstack-horizon07:58
*** e0ne has joined #openstack-horizon07:59
*** sbfox has joined #openstack-horizon08:00
*** qba73 has joined #openstack-horizon08:01
*** e0ne has quit IRC08:01
*** ygbo has joined #openstack-horizon08:02
amotokittrifonov: if you have time, could you take a loot at my HA router support patch? https://review.openstack.org/#/c/121917/08:03
*** vokhrimenko has joined #openstack-horizon08:09
*** sbfox has quit IRC08:09
*** e0ne has joined #openstack-horizon08:10
*** athomas has joined #openstack-horizon08:11
*** jpich has quit IRC08:11
*** e0ne has quit IRC08:17
ttrifonovamotoki: Done :)08:31
*** sayan has quit IRC08:35
amotokittrifonov: thanks. your comments are really helpful.08:38
*** Longgeek has joined #openstack-horizon08:52
*** lcheng has joined #openstack-horizon08:55
*** lcheng has quit IRC08:59
*** sayan has joined #openstack-horizon09:04
*** tosky has joined #openstack-horizon09:05
nikunj2512rdopiealski: After installing the pip package, where does it keeps the static files??09:08
nikunj2512cd09:08
rdopieralskinikunj2512: in the site-packages directory of your virtualenv09:10
rdopieralskinikunj2512: lib/python/site-packages/xstatic/pkg/XXX/data09:11
rdopieralskinikunj2512: but you should get that using the base_dir property09:11
rdopieralskinikunj2512: see the settings.py file for an example09:12
nikunj2512Ok09:12
nikunj2512rdopiealski: I got the path. thank You09:17
*** Dafna has joined #openstack-horizon09:17
*** e0ne has joined #openstack-horizon09:23
*** dsneddon has quit IRC09:24
*** alexpilotti has joined #openstack-horizon09:24
*** dsneddon has joined #openstack-horizon09:25
*** cedricss has joined #openstack-horizon09:27
*** cedrics has quit IRC09:30
nikunj2512rdopiealski: i made the changes in the settings file and restarted the apache. So, will it create the folder in the horizon automatically??09:31
*** e0ne has quit IRC09:34
*** Longgeek has quit IRC09:35
*** e0ne has joined #openstack-horizon09:35
*** Longgeek has joined #openstack-horizon09:44
rdopieralskinikunj2512: you need to run collectstatic09:55
nikunj2512ok09:56
*** qba73 has quit IRC09:57
*** qba73 has joined #openstack-horizon09:58
*** qba73 has quit IRC10:10
*** qba73 has joined #openstack-horizon10:15
*** cedricss has quit IRC10:16
*** mrunge has quit IRC10:16
mfloboI want to modify _data_table_row.html file only for Image list, Is this possible? how?10:16
mflobonow I know how to modify _data_table.html only for Image list, but now I want to do the same thing for rows on that table10:17
mfloboI've tried the same strategy used to redefine _data_table.html, but it doesn't work10:18
mfloboFor _data_table.html you must copy/paste horizon/templates/horizon/common/_data_table.html to openstack-dashboard/openstack_dashboard/templates10:20
mfloboand then put on class Meta, inside class ImagesTable(tables.DataTable):, the parameter: template='_data_table.html'10:20
mfloboSo, this strategy doesn't work to redefine _data_table_row.html10:21
*** akrivoka has joined #openstack-horizon10:23
*** jacalcat has joined #openstack-horizon10:28
*** sayan has quit IRC10:43
tsufievygbo, hi! I've found the reason selenium tests for your double login fix failed10:44
nikunj2512rdopiealski: I have uploaded the pip file and also added it in requirements.txt file and also made changes in settings.py file. But when i am runnig tox, the test is failing with this error - "UncompressableFileError: 'horizon/lib/jreject/js/jquery.jreject.js' could not be found in the COMPRESS_ROOT '/tmp' or with staticfiles."10:48
*** ramishra has joined #openstack-horizon10:49
*** jacalcat has quit IRC10:49
*** MaxV has quit IRC11:15
*** MaxV has joined #openstack-horizon11:16
rdopieralskinikunj2512: send the patch to review and I will look11:18
nikunj2512rdopiealski: Ok. thank You very much11:19
*** MaxV has quit IRC11:20
*** jasondotstar has joined #openstack-horizon11:20
nikunj2512rdopiealski: patch is upload.11:25
*** colinmcnamara has joined #openstack-horizon11:26
*** sambetts has joined #openstack-horizon11:28
*** MaxV has joined #openstack-horizon11:30
*** coolsvap is now known as coolsvap|afk11:37
*** colinmcnamara has quit IRC11:38
*** cedrics has joined #openstack-horizon11:39
*** vkmc has joined #openstack-horizon11:44
*** vkmc has quit IRC11:44
*** vkmc has joined #openstack-horizon11:44
*** regebro has quit IRC11:44
ygbotsufiev: Hi11:44
*** nikunj2512 has quit IRC11:44
ygbotsufiev: sorry I was out at lunch and forgot to mark myself as away :-)11:45
ygbotsufiev: I'm reading your comment, thanks a lot for your help11:46
*** bfic has joined #openstack-horizon11:54
*** julim has joined #openstack-horizon11:55
*** jacalcat has joined #openstack-horizon12:00
*** tnovacik has joined #openstack-horizon12:02
*** regebro has joined #openstack-horizon12:04
*** doug-fish has joined #openstack-horizon12:08
*** amcrn has quit IRC12:10
*** tzumainn has joined #openstack-horizon12:14
*** rodrigods_ has joined #openstack-horizon12:15
*** rodrigods_ has quit IRC12:15
*** akrivoka has quit IRC12:38
*** jpomero_ is now known as jpomero12:45
*** akrivoka has joined #openstack-horizon12:47
*** e0ne has quit IRC12:48
*** e0ne has joined #openstack-horizon12:49
*** regebro has quit IRC12:51
*** regebro has joined #openstack-horizon12:54
*** asahlin_ has quit IRC13:01
*** _crobertsrh is now known as crobertsrh13:02
*** asahlin has joined #openstack-horizon13:04
mfloboI wan to add image properties to Image lista (datatable), is that possible?13:06
*** sigmavirus24_awa is now known as sigmavirus2413:08
*** neelashah has joined #openstack-horizon13:08
*** regebro has quit IRC13:08
tsufievygbo, you're welcome, anyways it was me who wrote these tests, also I'd like your fix to land in Juno13:08
*** regebro has joined #openstack-horizon13:09
*** krykowski has joined #openstack-horizon13:09
ygbotsufiev: Well thanks, because you helped me a lot here :-)13:09
ygbotsufiev: the issue with selenium tests is that I only get the selenium traceback, how to get the backend traceback? with the backend server traceback I would have seen the AttributeError. I tried augmenting verbose level of nosetest but to no avail. So you saved my day :-)13:11
tsufievygbo, debugging django LiveServerTestCase is very tricky, because web server is launched in a separate thread and I do not know how to access server's traceback13:15
mfloboI have this question: https://ask.openstack.org/en/question/48479/split-image-list-in-n-tables/13:15
mfloboany answer?13:15
tsufievygbo, so I simply added trace prints to your new code and localized the problem by watching the traces pattern13:16
tsufievygbo, unfortunately, using this TestCase base class was the only way (at least, known to me) to test Javascript and some server-side logic simultaneously13:17
*** krykowski has quit IRC13:23
*** peristeri has joined #openstack-horizon13:27
*** krykowski has joined #openstack-horizon13:28
*** bfic has quit IRC13:30
*** Drago has joined #openstack-horizon13:30
*** kaliya has joined #openstack-horizon13:31
kaliyaHi. I configured nova with virt_type=qemu, with cpu_allocation_ratio=16.0 I have an hypervisor with 2 cores, why in Admin->Hypervisors do I see 2 and not 32 cores?13:33
kaliyain #openstack-nova they suggested to ask here13:33
*** radez_g0n3 is now known as radez13:38
*** bfic has joined #openstack-horizon13:42
sambettsDoes anyone know if the HorizonComponents have a unique identifier?13:46
*** ramishra has quit IRC13:46
*** ramishra has joined #openstack-horizon13:47
*** sigmavirus24 is now known as sigmavirus24_awa13:56
regebrook, I'm off see you tomorrow!13:56
regebromeh13:56
*** regebro has quit IRC13:57
*** radez is now known as radez_g0n313:59
*** gokrokve has joined #openstack-horizon14:02
rdopieralskisambetts: HorizonComponents?14:02
sambettsrdopieralski: anything that is a subclass of HorizonComponent14:03
rdopieralskilooking at its code...14:04
rdopieralski        if not self.slug:14:04
rdopieralski            raise ImproperlyConfigured('Every %s must have a slug.'14:04
rdopieralski                                       % self.__class__)14:04
*** jprovazn has quit IRC14:05
rdopieralskibut they are only unique within the type14:05
sambettsrdopieralski: I wondered if there was a variable that was set unique, self.slug does have to be unique unforntunatly, admin/NetworkTable and project/NetworkTable both have the same slug14:05
rdopieralskiso you can have a panel called the same as a dashboard14:05
rdopieralskisambetts: have you seen my comments on your patch?14:06
rdopieralskisambetts: you can use __class__.__module__14:06
sambettsrdopieralski: I have, I was just wondering if there was a unique id set by the horizon code like the slug etc that we could use14:06
sambettsrdopieralski: If not I'll use the the __module__14:07
rdopieralskiI don't know about such a thing, but it seems like a great idea to have it, maybe it's a candidate for another patch14:08
*** sigmavirus24_awa is now known as sigmavirus2414:08
rdopieralskior we could take it in the account when refactoring the plugin system14:08
*** ramishra has quit IRC14:11
*** gokrokve has quit IRC14:14
*** gokrokve has joined #openstack-horizon14:14
*** ericpeterson has joined #openstack-horizon14:15
*** ramishra has joined #openstack-horizon14:20
*** krykowski has quit IRC14:21
*** Drago has quit IRC14:23
*** david-lyle has joined #openstack-horizon14:24
*** krykowski has joined #openstack-horizon14:25
*** Drago has joined #openstack-horizon14:26
*** david-ly_ has joined #openstack-horizon14:27
*** david-lyle has quit IRC14:29
*** ramishra has quit IRC14:30
*** ramishra has joined #openstack-horizon14:31
*** Sukhdev has joined #openstack-horizon14:35
*** pawels has joined #openstack-horizon14:36
*** kaliya has left #openstack-horizon14:43
*** ramishra has quit IRC14:46
*** radez_g0n3 is now known as radez14:47
*** amoturi has joined #openstack-horizon14:47
*** AlkaD has joined #openstack-horizon14:50
*** david-ly_ has quit IRC14:52
*** david-lyle has joined #openstack-horizon14:53
*** ramishra has joined #openstack-horizon14:53
*** pawels has quit IRC14:59
*** krykowski has quit IRC15:00
*** gary-smith has joined #openstack-horizon15:02
*** akrivoka has quit IRC15:02
*** bfic has quit IRC15:03
*** lcheng has joined #openstack-horizon15:05
*** ZZelle has quit IRC15:08
*** ZZelle has joined #openstack-horizon15:08
*** ramishra has quit IRC15:10
*** colinmcnamara has joined #openstack-horizon15:16
*** Longgeek_ has joined #openstack-horizon15:20
*** rebelagentm has joined #openstack-horizon15:22
*** rdopieralski has quit IRC15:22
*** vijendar has joined #openstack-horizon15:23
*** Longgeek has quit IRC15:23
*** athomas has quit IRC15:24
*** athomas has joined #openstack-horizon15:27
*** bpokorny has joined #openstack-horizon15:28
*** masco has quit IRC15:32
*** rwsu has quit IRC15:33
*** bpokorny has quit IRC15:33
*** amoturi has quit IRC15:38
*** amoturi has joined #openstack-horizon15:38
*** Drago has quit IRC15:40
*** colinmcnamara has quit IRC15:41
*** k4n0 has quit IRC15:43
*** bpokorny has joined #openstack-horizon15:43
*** colinmcnamara has joined #openstack-horizon15:44
*** absubram_ has quit IRC15:44
*** rwsu has joined #openstack-horizon15:45
*** qba73 has quit IRC15:47
*** gokrokve_ has joined #openstack-horizon15:52
*** vokhrimenko has quit IRC15:52
*** gokrokve has quit IRC15:55
*** pawels has joined #openstack-horizon15:55
*** gokrokve_ has quit IRC15:56
*** nlahouti has joined #openstack-horizon15:59
*** lsmola has quit IRC16:12
*** ygbo has quit IRC16:14
*** Dafna has quit IRC16:14
*** MaxV has quit IRC16:17
*** romainh has left #openstack-horizon16:20
*** cedricss has joined #openstack-horizon16:22
*** Sukhdev has quit IRC16:23
*** cedrics has quit IRC16:26
*** packet has joined #openstack-horizon16:26
*** cedricss has quit IRC16:28
*** e0ne has quit IRC16:31
*** aix has quit IRC16:31
*** bradjones has quit IRC16:32
*** cody-somerville has quit IRC16:33
*** packet has quit IRC16:35
*** absubram has joined #openstack-horizon16:35
*** cody-somerville has joined #openstack-horizon16:36
*** cody-somerville has quit IRC16:36
*** cody-somerville has joined #openstack-horizon16:36
*** packet has joined #openstack-horizon16:36
*** bradjones has joined #openstack-horizon16:37
*** bradjones has quit IRC16:37
*** bradjones has joined #openstack-horizon16:37
sambettsjpomero: Hi! o/16:38
*** athomas has quit IRC16:38
jpomerosambetts, hello!16:38
*** robcresswell has joined #openstack-horizon16:39
sambettsjpomero: The issue we were discussing in the review, seems to be specific to a couple of tables Admin->Instances is one16:40
robcresswellsambetts: o/16:40
robcresswellYeah, the filter only seems to apply for certain tables, which is why we seem to be having this back-and-forth comment war...16:41
jpomeroyeah sorry.  i had thought that the issue is really that the "changed" variable is just not correct in all cases, which it should be16:41
*** jtriley has quit IRC16:41
jpomeroso i changed it to make it a little simpler and i am not seeing any problems after that16:41
robcresswellYeah I actually agree, and argued it with Sam for a while16:42
*** jtriley has joined #openstack-horizon16:42
robcresswellWhat did you end up changing?16:42
jpomerohorizon.tables.views.get_server_filter_info16:43
jpomerowhere "changed" is determined16:43
jpomerojust set it to this:  changed = (filter_string != filter_string_session)16:43
jpomerothat seemed to work for me, but i did not really play with it extensively16:44
jpomeroit just should be returning True if the filter is changed.  should not return False which i thought it was doing, causing the problem.16:44
jpomeroi'm really not trying to be difficult i promise16:45
robcresswellIsn't that already in the code base? and, against two other conditions16:45
*** colinmcnamara has quit IRC16:45
robcresswellHaha, no its fine16:45
sambettsjpomero: thats already in the code line 240 in views.py16:45
*** gokrokve has joined #openstack-horizon16:45
jpomeroright, it's there but the other conditions i think need to be removed16:45
jpomerochanged equals only that single check, not the three that are there16:46
robcresswellThat would always trigger a fllter if one was stored in the session16:46
robcresswellwhich is not the current behaviour16:46
robcresswellI believe16:46
jpomerothe current behavior should be that the filter in the session is always applied16:47
jpomerothat is what i am seeing, and that was the original intent16:47
robcresswellNo, not true. On Admin -> Instances, doesnt maintain the filter16:47
robcresswellThe information is stored, but the filter is not reapplied unless filter is clicked again16:47
robcresswellI'm not sure about current behaviour vs intended behaviour16:48
jpomeroseems to work for me, let me make sure i have the latest16:48
jpomerobut the intention is that it is applied automatically16:48
*** ArcTanSusan has joined #openstack-horizon16:48
robcresswellOkay, that's interesting. We're running a current master, just pulled, as we wanted to confirm it16:49
jpomerothe reasoning being that when you have a filter applied, then perform some modal operations on an item and get redirected back to the table, the same filter should remain16:49
robcresswellYeah, I understand16:49
robcresswellIt's just that in our case it doesn't appear to be, which is why Sam has implemented his fix in this manner16:50
*** lcheng has quit IRC16:50
*** colinmcnamara has joined #openstack-horizon16:51
jpomerook, i had thought the bug was about applying a filter across pages16:52
robcresswellJust if anyone else is curious, we're discussing this bug: https://review.openstack.org/#/c/121529/516:52
jpomeroor maybe there are really two separate issues here16:52
robcresswellWe keep misunderstanding each other, ha.16:52
jpomeroyeah i think so16:52
jpomeroIi go to Admin -> Instances, showing 2 instances.  I filter so that one is displayed, then go to Volumes. When I go back to Instances the filter is still applied.16:54
*** bpokorny has quit IRC16:54
robcresswellYeah, on Sams, the filter isn't applied16:54
jpomerowhat filter field?16:54
*** amoturi has quit IRC16:54
sambettsit has to be Project16:54
jpomeroah, that is the key16:55
sambettsbecause the other are API bound16:55
jpomeroyou see Project is special =]16:55
jpomeroright, Project is not an API filter16:55
jpomerowhich is a whole nother issue in its own right16:55
robcresswellAh16:55
jpomeroshould probably just be removed16:55
sambettsthen the logic behind having no API filters should too, because any filter that has (blah, blah, False) is going to run into this issue16:56
jpomeroyeah probably.  alright well now i'm a little clearer on what's going on.16:58
*** AlkaD has quit IRC16:59
*** ArcTanSusan has quit IRC17:00
*** gary-smith has quit IRC17:03
*** packet has left #openstack-horizon17:03
*** packet has joined #openstack-horizon17:03
*** ArcTanSusan has joined #openstack-horizon17:04
jpomerosambetts, for a non-API filter (Project) the filtering will not be across pages, only applied to the current page of data, so in that case we probably shouldn't be redirecting at all17:05
jpomerojust reloading the same page with the filter applied17:05
jpomeroit's so ugly, that's why I think it should just be removed. All API filters expect for one? very confusing.17:06
*** colinmcnamara has quit IRC17:07
jpomeroa filter is pretty much useless if it does not apply across pages, and can be very misleading17:07
*** dulek has quit IRC17:10
*** lcheng has joined #openstack-horizon17:10
sambettsthen surly something should just be added to DataTableView that says if filter in session then filter17:11
robcresswellDo you mean per page of the table?17:11
*** harlowja_away is now known as harlowja17:12
robcresswellI'll leave Sam to it, got some other things to get on with for now17:12
*** jacalcat has quit IRC17:12
jpomerosince the project filter is only applied after the data is retrieved it will only be applied to the current page of the table17:12
jpomerothanks robcresswell17:13
jpomerosambetts, in the end i think we're really trying to fix something that shouldn't be there to begin with, so that's complicated. but i guess a separate thing to deal with.17:15
sambettsIf its in the session and needs to be applied everytime, couldn't we simply add something to check if the session has a valid filter somewhere around here ->  if valid_method or needs_preloading:17:15
*** tzumainn has quit IRC17:16
jpomeroyeah possibly17:16
*** gary-smith has joined #openstack-horizon17:16
jpomeroif filter_string and not action.is_api_filter(filter_field)17:18
*** lcheng has quit IRC17:18
*** ericpeterson has quit IRC17:19
jpomerothen that elif xxx would just be an else i think17:19
*** Sukhdev has joined #openstack-horizon17:20
*** lcheng has joined #openstack-horizon17:21
*** tzumainn has joined #openstack-horizon17:23
*** swartulv has quit IRC17:23
jpomerosambetts, been playing with this.  seems to work.  http://paste.openstack.org/show/115369/17:24
*** tosky has quit IRC17:26
sambettsWe just arrived at the same solution :-P17:26
jpomeronice17:26
sambettsdo you think the _mixed_data_type thing is needed anymore?17:26
*** pawels has quit IRC17:27
*** swartulv has joined #openstack-horizon17:28
jpomeroi don't think it's actually used within the dashboard anywhere but i would be hesitant to remove it, since maybe some people who build on horizon use it17:30
sambettsSomething like this seems to work and is what is was thinking http://paste.openstack.org/show/115370/17:31
*** colinmcnamara has joined #openstack-horizon17:33
sambettsYour way seems to include everything so I'll migrate the patch to use that17:33
jpomerowould it make sense to also check for the mixed_data_type flag for that data_type_filter call?17:33
sambettsI think your if keeps everything tidier with all the checks17:34
*** robcresswell has quit IRC17:37
*** jtomasek has quit IRC17:38
*** tzumainn has quit IRC17:39
*** e0ne has joined #openstack-horizon17:42
*** tzumainn has joined #openstack-horizon17:42
*** ArcTanSusan has quit IRC17:45
*** colinmcnamara has quit IRC17:45
*** neelashah has quit IRC17:45
*** ArcTanSusan has joined #openstack-horizon17:45
*** tosky has joined #openstack-horizon17:46
*** bpokorny has joined #openstack-horizon17:50
*** clu_ has joined #openstack-horizon17:50
*** neelashah has joined #openstack-horizon17:51
*** bpokorny has quit IRC17:55
*** jacalcat has joined #openstack-horizon17:56
*** bpokorny has joined #openstack-horizon17:58
*** ArcTanSusan has quit IRC18:02
*** Longgeek_ has quit IRC18:02
*** jasondotstar has quit IRC18:04
*** ArcTanSusan has joined #openstack-horizon18:07
*** rbertram has joined #openstack-horizon18:14
*** colinmcnamara has joined #openstack-horizon18:22
clu_Hi all, does anyone know how well Swift Object Store scales in Horizon?18:25
david-lyleclu_: not18:26
david-lyle:)18:26
david-lylethat page needs a total rewrite in my opinion18:26
david-lylethere are several bps related to that topic as well18:26
clu_haha, thx david-lyle - any still 'alive'?18:27
david-lyleclu_: they're alive, just not acted upon or owned any longer18:27
clu_okey-dokey :)18:28
david-lylehttps://blueprints.launchpad.net/horizon/+spec/add-container-only-management-panel-for-object-storage18:28
david-lyleis one18:28
david-lylelcheng: just ducked out of that one18:29
*** sambetts has quit IRC18:29
lchenglcheng: what? I don't remember that being assigned to me :)18:29
david-lylehttps://blueprints.launchpad.net/horizon/+spec/containers-page-responsive is another18:30
david-lyleclu_: had a question for you18:30
clu_hi lcheng!18:30
lchenghi clu_!18:30
lchengyou're most welcome to take on the container panel, I won't stand in your way18:31
lcheng:D18:31
david-lylehttps://bugs.launchpad.net/horizon/+bug/1349603 is that only a string change now?18:31
clu_david-lyle: yep!18:31
david-lylelooks like you abandoned the other patch since this morning when I was looking before18:31
david-lyleok, easy enough18:32
david-lyleclu_: thanks!18:32
clu_the previous extra specs magically disappeared! hahaha18:32
clu_^ table18:32
*** lcheng has quit IRC18:34
*** ArcTanSusan has quit IRC18:35
*** sunilm has quit IRC18:36
*** jcoufal has quit IRC18:40
*** tnovacik has quit IRC18:44
*** mikedillion has joined #openstack-horizon18:48
*** ArcTanSusan has joined #openstack-horizon18:51
*** cody-somerville has quit IRC18:52
*** cody-somerville has joined #openstack-horizon18:54
*** cody-somerville has quit IRC18:54
*** cody-somerville has joined #openstack-horizon18:54
*** Drago has joined #openstack-horizon18:55
*** absubram has quit IRC18:58
*** tzumainn has quit IRC19:08
*** tzumainn has joined #openstack-horizon19:10
amotokiI see a number of string concatenation changes are approved and some are under review.19:10
amotokiDo we have these in Juno? The merged patches introduces 20~30 new strings and unapproved patches introduces 60~70 new strings,19:11
amotokiI wonder String Freeze is not in effect in horizon....19:12
*** asahlin has quit IRC19:16
*** amcrn has joined #openstack-horizon19:17
*** Sukhdev has quit IRC19:20
*** Sukhdev has joined #openstack-horizon19:23
*** bpokorny_ has joined #openstack-horizon19:31
*** bpokorny has quit IRC19:34
*** nlahouti has quit IRC19:40
*** ArcTanSusan has quit IRC19:45
*** sayali has quit IRC19:46
*** clu_ has quit IRC19:51
*** ArcTanSusan has joined #openstack-horizon19:57
doug-fishamotoki:  hmm, yes, I'm a bit surprised to see so many of those getting merged; I had expected they'd be merged selectively if the translators pushed for them.20:02
*** peristeri has quit IRC20:03
doug-fishMaybe somebody should put a temporary -2 on patches that include translatable segments?  unless there is some indication otherwise?20:03
*** ArcTanSusan has quit IRC20:03
amotokidoug-fish: they are simple and would take only small time to translate. I just would like to say we need to recognize RC phase is in the string freeze...20:04
doug-fishlol oh I see20:04
*** ArcTanSusan has joined #openstack-horizon20:04
doug-fishso you are serious:  String Freeze in not in effect for Horizon.20:04
doug-fishString Freeze global warming.20:04
amotokitheir translation works looks like machinary translations :-)20:04
doug-fishdo you mean because of the concatenation?20:05
doug-fishor because of the workload that they have to complete?20:05
amotokidoug-fish: no. in addition there are not a small number of description string change....20:06
doug-fishyes.  It seems like there will be a lot of work to do.20:06
amotokidoug-fish: i just would like to say we should be more careful on string changes :-)20:06
doug-fishso this one is probably out?  https://review.openstack.org/#/c/107154/20:07
doug-fish;-D20:07
*** radez is now known as radez_g0n320:08
*** Drago has quit IRC20:09
*** radez_g0n3 is now known as radez20:10
amotokidoug-fish: we need to check how many string will be added carefully. I am not sure how many and whether translators can handle at this time.20:10
amotokidoug-fish: One milestone of translations is set to Sep 30. Only a few days remaining.20:10
amotokidoug-fish: maybe Oct 2. It depends on Horizon RC2 date.20:11
*** radez is now known as radez_g0n320:11
doug-fishamotoki:  I think my sarcasm was not clear.  It would be a terrible idea to merge https://review.openstack.org/#/c/107154/ at this point.20:12
amotokidoug-fish: and I am not sure timezone translation data based on pytz should be a part of horizon or some xstatic-*.20:14
doug-fishyeah I was just thinking about that after our recent chat about 3rd party modules.20:14
doug-fishI think pytz describes lots and lots of timezones, maybe 100 or more.  That seems like it shouldn't be in Horizon.20:14
*** mikedillion has quit IRC20:15
*** clu_ has joined #openstack-horizon20:21
*** apodacae has joined #openstack-horizon20:25
amotokidoug-fish: babel has nice support for timezone, but it is a bit different from what you try to do. http://babel.pocoo.org/docs/dates/20:25
amotokiI think zoneinfo translation and timezone translation are different things.20:29
amotokiRe zoneinfo translations I found https://github.com/pmachata/zoneinfo-localization . I don't know it is a project or not20:29
doug-fishamotoki:  I was still reading through http://babel.pocoo.org/docs/dates/#localized-time-zone-names20:30
doug-fishthe section title sounds very promising20:30
*** ArcTanSusan has quit IRC20:31
*** sigmavirus24 is now known as sigmavirus24_awa20:33
*** david-lyle has quit IRC20:37
*** nlahouti has joined #openstack-horizon20:37
*** jacalcat has quit IRC20:41
*** ZZelle_ has joined #openstack-horizon20:41
*** e0ne has quit IRC20:42
*** neelashah has quit IRC20:44
*** HenryG has quit IRC20:53
*** ArcTanSusan has joined #openstack-horizon20:53
*** gokrokve has quit IRC20:54
*** gokrokve has joined #openstack-horizon20:54
*** colinmcnamara has quit IRC20:59
*** nlahouti has quit IRC21:02
*** nlahouti has joined #openstack-horizon21:03
*** crobertsrh is now known as _crobertsrh21:03
*** david-lyle has joined #openstack-horizon21:06
*** david-ly_ has joined #openstack-horizon21:08
*** krotscheck has quit IRC21:09
*** colinmcnamara has joined #openstack-horizon21:09
*** krotscheck has joined #openstack-horizon21:11
*** tqtran has joined #openstack-horizon21:11
*** david-lyle has quit IRC21:11
*** neelashah has joined #openstack-horizon21:14
boltRif I wanted to SSO for horizon, I would just configure Keystone right?21:14
boltRdo I need to do anything on the Horizon side?21:14
*** rebelagentm has quit IRC21:14
*** rbertram has quit IRC21:18
*** bpokorny has joined #openstack-horizon21:18
*** rebelagentm has joined #openstack-horizon21:18
*** rebelagentm has quit IRC21:18
*** bpokorny_ has quit IRC21:21
*** colinmcnamara has quit IRC21:22
*** doug-fish has quit IRC21:22
*** colinmcnamara has joined #openstack-horizon21:22
*** doug-fish has joined #openstack-horizon21:22
*** david-ly_ has quit IRC21:23
*** Sukhdev has quit IRC21:23
*** MaxV has joined #openstack-horizon21:26
*** vijendar has quit IRC21:28
*** Sukhdev has joined #openstack-horizon21:30
*** MaxV has quit IRC21:31
*** ericpeterson has joined #openstack-horizon21:36
doug-fishamotoki:  I'm going to be able to redo https://review.openstack.org/#/c/107154/ without requiring the translators to do the translations.  http://babel.pocoo.org/docs/dates/#localized-time-zone-names does it.21:36
doug-fishthanks for pushing me in that direction?21:37
doug-fishI mean ... thanks for pushing me in that direction!21:37
*** packet has quit IRC21:55
*** doug-fish has quit IRC22:02
*** doug-fish has joined #openstack-horizon22:03
*** bpokorny_ has joined #openstack-horizon22:08
*** neelashah has quit IRC22:09
*** bpokorny has quit IRC22:12
*** gokrokve has quit IRC22:12
*** gokrokve has joined #openstack-horizon22:13
*** gokrokve has quit IRC22:18
*** jacalcat has joined #openstack-horizon22:23
*** ericpeterson has quit IRC22:25
*** nlahouti has quit IRC22:35
*** ArcTanSusan has quit IRC22:37
*** amotoki has quit IRC22:41
*** amotoki has joined #openstack-horizon22:42
*** gokrokve has joined #openstack-horizon22:42
*** ArcTanSusan has joined #openstack-horizon22:43
*** gokrokve_ has joined #openstack-horizon22:44
*** gokrokve has quit IRC22:45
*** amotoki has quit IRC22:47
*** sigmavirus24_awa is now known as sigmavirus2422:47
*** gokrokve_ has quit IRC22:50
*** tqtran has quit IRC22:52
*** bpokorny_ has quit IRC22:55
*** colinmcnamara has quit IRC22:55
*** bpokorny has joined #openstack-horizon22:58
*** HenryG has joined #openstack-horizon22:59
*** ArcTanSusan has quit IRC23:01
*** HenryG has quit IRC23:04
*** neillc has joined #openstack-horizon23:05
*** gokrokve has joined #openstack-horizon23:06
*** HenryG has joined #openstack-horizon23:07
*** nlahouti has joined #openstack-horizon23:08
*** nlahouti has quit IRC23:09
*** ArcTanSusan has joined #openstack-horizon23:11
*** ArcTanSusan has joined #openstack-horizon23:12
*** tosky has quit IRC23:15
*** jpich has joined #openstack-horizon23:16
*** nlahouti has joined #openstack-horizon23:20
*** sigmavirus24 is now known as sigmavirus24_awa23:24
*** Sukhdev has quit IRC23:30
*** david-lyle has joined #openstack-horizon23:37
*** nlahouti has quit IRC23:37
*** HenryG has quit IRC23:37
*** david-lyle has quit IRC23:38
*** Sukhdev has joined #openstack-horizon23:47
*** colinmcnamara has joined #openstack-horizon23:50
*** gokrokve has quit IRC23:51
*** nlahouti has joined #openstack-horizon23:53

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