Wednesday, 2014-09-24

*** dsneddon has joined #openstack-horizon00:13
*** nlahouti has quit IRC00:15
*** Drago has quit IRC00:29
*** jacalcat has quit IRC00:29
*** rodrigods_ has joined #openstack-horizon00:31
*** ramishra has joined #openstack-horizon00:33
*** sseago has quit IRC00:36
*** Drago has joined #openstack-horizon00:39
*** tqtran has quit IRC00:40
*** Alexane_Metz has quit IRC00:42
*** ArcTanSusan has quit IRC00:43
*** gokrokve_ has quit IRC00:44
*** Arvid_Ebert86 has joined #openstack-horizon00:44
*** bpokorny_ has quit IRC00:47
*** ArcTanSusan has joined #openstack-horizon00:48
*** gokrokve has joined #openstack-horizon00:49
*** neillc has quit IRC00:50
*** ArcTanSusan has quit IRC00:55
*** rodrigods_ has quit IRC00:56
*** Longgeek has joined #openstack-horizon01:03
*** gokrokve has quit IRC01:07
*** lcheng has joined #openstack-horizon01:13
*** jay-atl-home has quit IRC01:14
*** david-lyle has joined #openstack-horizon01:17
*** jacalcat has joined #openstack-horizon01:23
*** Arvid_Ebert86 has quit IRC01:25
*** Drago has quit IRC01:31
*** jacalcat has quit IRC01:33
*** jacalcat has joined #openstack-horizon01:34
*** sseago has joined #openstack-horizon01:40
*** amotoki has joined #openstack-horizon01:47
*** Alyson_Cassin83 has joined #openstack-horizon01:48
*** clu_ has quit IRC01:48
*** jacalcat has quit IRC01:50
*** jay-atl has joined #openstack-horizon01:51
*** david-lyle has quit IRC02:05
*** david-lyle has joined #openstack-horizon02:06
*** ramishra has quit IRC02:08
*** ramishra has joined #openstack-horizon02:09
*** gokrokve has joined #openstack-horizon02:09
*** david-lyle has quit IRC02:10
*** lcheng has quit IRC02:12
*** lcheng has joined #openstack-horizon02:19
*** gokrokve has quit IRC02:31
*** asahlin has quit IRC02:31
*** gokrokve has joined #openstack-horizon02:32
*** gokrokve has quit IRC02:36
*** harlowja is now known as harlowja_away02:36
*** Alyson_Cassin83 has quit IRC02:38
*** Alfonzo80 has joined #openstack-horizon02:41
*** rodrigods_ has joined #openstack-horizon02:43
*** gary-smith has quit IRC02:51
*** rodrigods_ has quit IRC02:52
*** hhuang has joined #openstack-horizon02:56
*** jacalcat has joined #openstack-horizon03:03
*** rbertram has quit IRC03:08
*** radez_g0n3 is now known as radez03:19
*** Longgeek_ has joined #openstack-horizon03:20
*** echevemaster has quit IRC03:21
*** jacalcat has quit IRC03:21
*** Longgeek has quit IRC03:23
*** radez is now known as radez_g0n303:25
*** nlahouti has joined #openstack-horizon03:25
*** rodrigods_ has joined #openstack-horizon03:33
*** jrist has quit IRC03:33
*** vkmc has quit IRC03:34
*** Alfonzo80 has quit IRC03:39
*** jrist has joined #openstack-horizon03:40
*** nlahouti has quit IRC03:47
*** Albert87 has joined #openstack-horizon03:47
*** nlahouti has joined #openstack-horizon03:47
*** ramishra has quit IRC03:51
*** johnma has quit IRC03:52
*** rodrigods_ has quit IRC03:53
*** nlahouti has quit IRC03:57
*** nlahouti has joined #openstack-horizon03:59
*** sayali has joined #openstack-horizon04:00
*** sayali has quit IRC04:10
*** ramishra has joined #openstack-horizon04:11
*** jpich has quit IRC04:11
*** jpich has joined #openstack-horizon04:12
*** Drago1 has joined #openstack-horizon04:15
*** Albert87 has quit IRC04:18
*** sayali has joined #openstack-horizon04:24
*** nikunj2512 has joined #openstack-horizon04:27
nikunj2512Hi04:28
nikunj2512Does anyone knows where i can find the code which sets the logout_reason cookie??04:28
jpichnikunj2512: https://github.com/openstack/horizon/blob/master/horizon/utils/functions.py#L3704:31
nikunj2512jpich: Thank You04:32
jpichYou're welcome!04:32
*** ramishra has quit IRC04:39
*** ramishra has joined #openstack-horizon04:39
*** gokrokve has joined #openstack-horizon05:00
*** Longgeek_ has quit IRC05:02
*** e0ne has joined #openstack-horizon05:04
*** e0ne has quit IRC05:07
*** tzumainn has quit IRC05:09
*** tzumainn has joined #openstack-horizon05:10
*** e0ne has joined #openstack-horizon05:11
*** ramishra has quit IRC05:13
*** Drago1 has quit IRC05:13
*** ramishra has joined #openstack-horizon05:14
*** sayali has quit IRC05:14
*** sayan has joined #openstack-horizon05:16
*** Longgeek has joined #openstack-horizon05:17
*** e0ne has quit IRC05:22
*** e0ne has joined #openstack-horizon05:26
*** e0ne has quit IRC05:27
*** sayan has quit IRC05:28
*** sayali has joined #openstack-horizon05:28
*** ramishra has quit IRC05:31
*** ramishra has joined #openstack-horizon05:35
*** lcheng has quit IRC05:46
*** tnovacik has joined #openstack-horizon05:51
*** Longgeek has quit IRC05:52
*** gokrokve_ has joined #openstack-horizon05:58
*** gokrokve has quit IRC06:01
*** tzumainn has quit IRC06:01
*** jcoufal has joined #openstack-horizon06:01
*** gokrokve_ has quit IRC06:02
*** ramishra has quit IRC06:04
*** Swaroop has joined #openstack-horizon06:06
SwaroopHi All,06:06
*** ramishra has joined #openstack-horizon06:07
SwaroopAny examples for AngularJS integeration in Horizon dashboard, as I new to Angular JS want to know if any documentation available on the same06:08
*** k4n0 has joined #openstack-horizon06:09
*** neillc has joined #openstack-horizon06:12
*** amcrn has quit IRC06:15
*** Swaroop has quit IRC06:16
*** lcheng has joined #openstack-horizon06:17
*** Longgeek has joined #openstack-horizon06:18
*** ramishra has quit IRC06:18
*** gokrokve has joined #openstack-horizon06:28
*** lcheng has quit IRC06:29
*** gokrokve has quit IRC06:29
*** gokrokve has joined #openstack-horizon06:30
*** mrunge has joined #openstack-horizon06:32
*** Drago1 has joined #openstack-horizon06:32
*** gokrokve has quit IRC06:35
*** jprovazn has joined #openstack-horizon06:41
*** Drago1 has quit IRC06:41
*** ramishra has joined #openstack-horizon06:41
*** regebro has joined #openstack-horizon06:42
*** SJ has joined #openstack-horizon06:43
SJAny examples for AngularJS integeration in Horizon dashboard, as I new to Angular JS want to know if any documentation available on the same06:43
*** nlahouti has quit IRC06:43
*** Drago1 has joined #openstack-horizon06:43
*** athomas has joined #openstack-horizon06:43
*** Ala has joined #openstack-horizon06:46
*** sayan has joined #openstack-horizon06:53
*** jtomasek has joined #openstack-horizon06:56
*** ihrachyshka has joined #openstack-horizon06:56
*** ramishra has quit IRC06:58
*** ihrachyshka has quit IRC06:59
*** ramishra_ has joined #openstack-horizon07:00
*** ihrachyshka has joined #openstack-horizon07:01
*** ttrifonov_zZzz is now known as ttrifonov07:01
*** ihrachyshka has quit IRC07:02
*** Drago1 has quit IRC07:11
*** Drago has joined #openstack-horizon07:13
*** dulek has joined #openstack-horizon07:13
*** vivekd has joined #openstack-horizon07:17
*** romainh has joined #openstack-horizon07:19
*** Drago has quit IRC07:19
*** denis_makogon has joined #openstack-horizon07:20
*** ramishra_ has quit IRC07:26
*** cedrics has joined #openstack-horizon07:29
*** gokrokve has joined #openstack-horizon07:31
*** Longgeek has quit IRC07:31
*** ramishra has joined #openstack-horizon07:32
*** ArthurBerezin has joined #openstack-horizon07:33
*** gokrokve has quit IRC07:35
*** vivekd has left #openstack-horizon07:38
*** sunilm has joined #openstack-horizon07:40
*** ihrachyshka has joined #openstack-horizon07:41
*** ramishra_ has joined #openstack-horizon07:41
*** ramishra has quit IRC07:44
*** ArthurBerezin has quit IRC07:47
*** MaxV has joined #openstack-horizon07:48
*** athomas has quit IRC07:51
*** e0ne has joined #openstack-horizon07:53
*** athomas has joined #openstack-horizon07:54
*** ramishra_ has quit IRC08:05
*** ygbo has joined #openstack-horizon08:07
*** cedricss has joined #openstack-horizon08:07
*** romainh has quit IRC08:08
*** neillc has quit IRC08:09
*** cedrics has quit IRC08:10
*** e0ne has quit IRC08:10
*** Longgeek has joined #openstack-horizon08:12
*** romainh has joined #openstack-horizon08:13
*** hhuang has quit IRC08:15
*** mrunge_ has joined #openstack-horizon08:16
*** mrunge has quit IRC08:18
*** ramishra has joined #openstack-horizon08:23
*** lcheng has joined #openstack-horizon08:25
*** Ala has quit IRC08:25
*** krykowski has joined #openstack-horizon08:25
*** Ala has joined #openstack-horizon08:26
*** gokrokve has joined #openstack-horizon08:28
*** mrunge_ is now known as mrunge08:28
*** masco has joined #openstack-horizon08:30
*** gokrokve has quit IRC08:33
*** ramishra has quit IRC08:39
*** ramishra has joined #openstack-horizon08:44
*** lcheng has quit IRC08:46
*** e0ne has joined #openstack-horizon08:50
SJAny documentaion available on Angular JS with Horizon integeration, please provide me the link08:57
*** krykowski has quit IRC08:58
*** krykowski has joined #openstack-horizon08:59
*** Longgeek has quit IRC09:00
*** ramishra has quit IRC09:02
*** jpich has quit IRC09:04
*** ramishra has joined #openstack-horizon09:05
*** krykowski has quit IRC09:06
*** pawels has joined #openstack-horizon09:08
*** tosky has joined #openstack-horizon09:10
*** qba73 has joined #openstack-horizon09:11
*** mrunge has quit IRC09:18
*** krykowski has joined #openstack-horizon09:20
*** mrunge has joined #openstack-horizon09:22
*** openstack has joined #openstack-horizon09:23
*** pkarikh has joined #openstack-horizon09:26
*** gokrokve has joined #openstack-horizon09:28
*** pawels has quit IRC09:29
*** gokrokve has quit IRC09:29
*** sambetts has joined #openstack-horizon09:30
*** gokrokve has joined #openstack-horizon09:30
sambettsttrifonov: ping09:31
*** pawels has joined #openstack-horizon09:32
ttrifonovsambetts: Hello09:32
sambettsttrifonov: Hi, I am just working on the commentsy you left on this https://review.openstack.org/#/c/121529/3 and I have a question about the comment you left on horizon/tables/base.py09:33
ttrifonovyep09:33
*** ramishra has quit IRC09:34
sambettsttrifonov: you say to replace the session_filter variable with filter in self.request.GET however that doesn't handle the case when filter=False correct?09:34
*** gokrokve has quit IRC09:35
ttrifonovhmm, I haven't thought on that.. But does Django convert 'false' to bool value ?09:35
ttrifonovif you pass ?filter=False will it be a bool or a string?09:35
sambettsI belveve django changes it into a bool09:36
*** ramishra_ has joined #openstack-horizon09:36
ttrifonovhmm it would be strange if so09:37
ttrifonovcan you check it now ? I think Django might not convert to bool..09:39
sambettsI'll check because I can't find any docs that support the issue either way09:40
*** Longgeek has joined #openstack-horizon09:41
ttrifonovokay, anyway - I don't believe Django can handle both filter=false and filter=False, so you should add a check for 'is None' or .lower() == 'false' for example...09:42
ttrifonovalso - I got your point, maybe the variable should be a bool value - after all checks - like09:42
ttrifonovif blabla or has_session_filter09:42
*** denis_makogon has quit IRC09:43
*** ihrachyshka has quit IRC09:46
sambettsok, just run some tests and django the .get(filter) is returning a unicode09:52
sambettsso either I change it to match your suggestion in the comments or make it (get(filter) == True or get(filter) == true) to convert it to bool09:54
*** e0ne has quit IRC09:54
ttrifonovyeah, something like:09:57
ttrifonovhas_session_filter = 'filter' in request.GET and request.get['filter'].lower() == 'true'09:57
ttrifonovor has_session_filter = request.get('filter', '').lower() == 'true'09:58
*** sayan has quit IRC09:59
sambettsthe second one is much neater, and do you think I should eliminate the temp variable and just put that ^ straight into the if statement?10:00
*** krykowski has quit IRC10:01
ttrifonovif it fits in 1 line - you can skip the temp var10:02
sambettsit doesn't even fit into one line with the temp variable :-P10:04
ttrifonovhas_filter :)10:05
*** e0ne has joined #openstack-horizon10:08
ttrifonovas Picasso had said: “If I don't have red, I use blue.”10:10
*** romainh has quit IRC10:12
sambettshaha nice idea!10:12
*** cedricss has quit IRC10:17
*** ihrachyshka has joined #openstack-horizon10:20
*** tnovacik has quit IRC10:23
*** ankit_ag has joined #openstack-horizon10:23
*** sayali has quit IRC10:26
*** aix has joined #openstack-horizon10:27
*** gokrokve has joined #openstack-horizon10:28
*** nikunj2512 has quit IRC10:30
*** gokrokve has quit IRC10:33
*** krykowski has joined #openstack-horizon10:36
sambettsttrifonov: I have another question about a comment on that patch, your first comment about adding another querystring, in the original code any query strings are lost and that I think the goal because its designed to reset the pagination, so I dont think I need to worry about passing any query strings through10:44
sambettswhat do you think?10:44
sambettsthe other comment was a great suggestion and I have changed the code to use __class__ instead of str(type(10:46
*** akrivoka has joined #openstack-horizon10:46
*** sayali has joined #openstack-horizon10:51
*** sambetts has quit IRC10:54
*** sambetts has joined #openstack-horizon10:59
sambettsttrifonov: Sorry I'm not sure if you replied or not, my internet dropped11:03
*** krykowski has quit IRC11:06
*** e0ne has quit IRC11:12
*** cedrics has joined #openstack-horizon11:21
*** gokrokve has joined #openstack-horizon11:28
*** romainh has joined #openstack-horizon11:29
ttrifonovsambetts: my idea was to make sure no fragment from the URL is trimmed. I think the code now will retain any QS in URL if any.11:30
sambettsttrifonov: It doesn't because it still uses get_absolute_url() to get the URL11:32
sambettstbh I don't think the abolsute URL should have any querystrings in it at all so I'm not even sure that the code that parses the URLs is nessesary11:33
*** krykowski has joined #openstack-horizon11:33
*** gokrokve has quit IRC11:33
ttrifonovyou never know...11:33
sambettsno, which is why I included the logic, however nothing from the URL that the post is made too will be passed through11:34
ttrifonovyep, got it.11:34
ttrifonovskip this comment.11:34
sambettsOk, great :D11:34
ttrifonovthe idea is to retain any QS in get_absolute_url, if any, so that'll be fine.11:35
sambettsI'm just running the test suite on my testbed then I'll push the new patch for review :D11:35
ttrifonovncie11:35
ttrifonovnice11:36
*** sayan has joined #openstack-horizon11:36
*** masco has quit IRC11:40
*** e0ne has joined #openstack-horizon11:44
*** rodrigods_ has joined #openstack-horizon11:48
*** rodrigods_ has quit IRC12:02
regebroHow do I figure out WHY the login fails?12:02
regebro'Login failed for user "admin".' is not a very useful error message.12:03
*** masco has joined #openstack-horizon12:03
mrungettrifonov, would you lend me an eye for this patch? you already worked on it, and it slipped on my side for too long now? https://review.openstack.org/#/c/107011/12:07
*** HenryG_afk is now known as HenryG12:09
*** krykowski_ has joined #openstack-horizon12:09
*** masco has quit IRC12:09
*** masco has joined #openstack-horizon12:10
*** pawels has left #openstack-horizon12:10
*** julim has joined #openstack-horizon12:11
*** krykowski has quit IRC12:13
*** jprovazn has quit IRC12:26
*** gokrokve has joined #openstack-horizon12:28
*** doug-fish has joined #openstack-horizon12:28
*** dulek has quit IRC12:29
*** krykowski_ has quit IRC12:30
*** dulek has joined #openstack-horizon12:31
*** gokrokve has quit IRC12:33
*** cedricss has joined #openstack-horizon12:35
*** cedrics has quit IRC12:35
*** ramishra_ has quit IRC12:37
*** jacalcat has joined #openstack-horizon12:38
*** ramishra has joined #openstack-horizon12:41
*** ArthurBerezin has joined #openstack-horizon12:41
*** SJ has quit IRC12:44
*** dulek has quit IRC12:46
*** ArthurBerezin has joined #openstack-horizon12:54
*** ArthurBerezin has quit IRC12:55
*** _crobertsrh is now known as crobertsrh12:56
*** ramishra has quit IRC12:57
*** vkmc has joined #openstack-horizon12:59
*** tzumainn has joined #openstack-horizon13:02
thiagopGood day everyone!13:03
thiagopI was wondering here13:03
*** jasondotstar has joined #openstack-horizon13:03
*** aix has quit IRC13:03
thiagophow does horizon works when we have multiple instances of a service in the same infrastructure (multiple Novas for instance)?13:03
*** tosky has quit IRC13:05
*** radez_g0n3 is now known as radez13:11
*** jay-atl has quit IRC13:12
*** tosky has joined #openstack-horizon13:12
*** neelashah has joined #openstack-horizon13:13
ZZellethiagop, what do you mean?13:14
thiagopZZelle: how does the system knows what endpoint to use if I have nova1 and nova2?13:14
ZZellethiagop, multiple nova in the same region, in different regions ?13:14
thiagopZZelle: let's make it simple (I think): same region.13:15
ZZellethiagop, afaik, not working13:15
thiagopwhich endpoint to use**13:15
ZZellethiagop, you should have at most one endpoint per service per region13:16
*** asahlin has joined #openstack-horizon13:17
ZZellethiagop, nova1/2 are multiple frontends to the same nova deployment or to distinct ones?13:17
sambettstsufiev: ping Question about your comment here https://review.openstack.org/#/c/120790/4/horizon/base.py13:19
*** jprovazn has joined #openstack-horizon13:20
tsufievsambetts, pong13:20
tsufievsambetts, is it unclear?13:21
thiagopZZelle: currently, I'm trying to understand how does it work, It's not a existing scenario. I'm trying to understand how management through Horizon works (or doesn't works) in these kinds of environment. :)13:22
sambettstsufiev: If I move the logic out of the class and into the decorator, other classes would lose the ability to use that decorator with their own custom _access_cache function, what do you think?13:22
*** rbertram has joined #openstack-horizon13:22
tsufievsambetts, hm, let me look into it again...13:23
thiagopZZelle: I think that, for the sake of example, we can consider distinct ones.13:23
ZZellethiagop, so they should be associated to different regions13:23
ZZellethiagop, if you are using neutron with nominal nova/neutron config, it implies one neutron per region13:25
sambettstsufiev: the way I wrote the decorator is to be pretty generic, so that the idea of cache could be implemented in other classes using the same decorator, but with their own _access_cache method13:25
tsufievsambetts, I thought that HorizonComponent._access_cache() logic is base for all the components that could ever call can_access(), so haven't imagined the possibility of having different _access_cache methods13:26
sambettstsufiev: it would only be if there was a very specific use case that wants to override it, I can't think of any right now, but it leaves the flexiblity there13:28
*** gokrokve has joined #openstack-horizon13:28
tsufievsambetts, as I said, please regard this as matter of taste :). Personally I prefer to provide some generic functions only when the real use case for it arises, but am aware that some people like having more flexible machinery13:29
*** peristeri has joined #openstack-horizon13:30
tsufievsambetts, I agree that your approach is reasonable13:31
sambettstsufiev, I'm happy either way to be honest, I was just trying to see which direction makes most sense, I would have liked to have all the logic including the decorator inside of HorizonComponent, but I don't think thats possible with decorators13:32
*** gokrokve has quit IRC13:33
sambettstsufiev, would you feel there was a disconnect between the logic and the class using the logic, if it was moved out of the class?13:35
tsufievsambetts, yeah, I don't know a way either to move all logic into HorizonComponent with decorators13:35
tsufievsambetts, nope, it was just a distaste to functions acting both like setter and getter13:36
tsufievsambetts,  perhaps it would be worth adding some docstring to either decorator or class method - to emphasize the idea (and possible future merits) of such separation?13:37
sambettstsufiev, I agree, its a bit on the ugly side, maybe there is a nicer solution using properties or something?13:39
*** ramishra has joined #openstack-horizon13:42
tsufievsambetts, I don't know how to use properties there for nicer solution, perhaps somebody else could give an advice13:43
sambettsI'll give it a go and see what I can do, to clean it up13:44
*** derekh has joined #openstack-horizon13:48
*** lcheng has joined #openstack-horizon13:54
*** dulek has joined #openstack-horizon13:55
mflobowhere are the models (models.py https://docs.djangoproject.com/en/1.7/intro/tutorial01/#creating-models) on Horizon?14:00
*** sigmavirus24_awa is now known as sigmavirus2414:02
*** gokrokve has joined #openstack-horizon14:03
*** gokrokve has quit IRC14:03
*** gokrokve has joined #openstack-horizon14:03
*** gokrokve has quit IRC14:03
*** gokrokve has joined #openstack-horizon14:04
*** jay-atl has joined #openstack-horizon14:07
*** rbertram has quit IRC14:08
thiagopZZelle: is it a "Horizon to work" restriction?14:14
ZZellethiagop, no it's a wrong configuration on your deployment14:15
ZZellethiagop, otherwise how to choose the right service endpoint ?14:15
-amotoki- Horizon is the most translated project. On the other hand Horizon is a project which breaks the string freeze MOST.14:19
-amotoki- It seems most patch authors are not aware of the string freeze...........ah....14:20
amotokiwe need to stop merging string change at some point (this weekend?)...14:22
ZZelleamotoki, hi14:22
amotokiZZelle: hey14:22
amotokihey night14:22
ZZelleamotoki, i was looking at your mail on DOA, should we include https://review.openstack.org/119202 in Juno DOA?14:24
*** lcheng has quit IRC14:24
amotokiZZelle: DOA seems to mean django-openstack-auth.14:25
ZZelleamotoki, yes, reusing ayoung abbrev :)14:25
amotokiZZelle: In general, openstack-auth 1.1.7 is a final release for Juno unless a release critical bug is found.14:25
ZZelleamotoki, it seems more annoying than critical14:26
amotokias you may know, client dependency freeze is in effect last Friday as described in ttx mail.14:26
*** Drago has joined #openstack-horizon14:26
ZZelleamotoki, oups, ok14:27
amotokiand the dependency freeze exception was discussed in the release management meeting today.14:27
amotokiwhat I am not sure is how many fixes are required to make region work properly.14:28
amotokiI am not familiar with "region"..... it is just a topic in my side.14:28
ZZelleamotoki, it seems the change solves the region lost on project switch ... other icehouse region bugs seem fixed14:29
amotokieveryone rushes in the end of the release but it doesn't scale unfortunately.....14:30
*** david-lyle has joined #openstack-horizon14:31
*** david-lyle has quit IRC14:31
amotokiZZelle: A good news is that we can release openstack-auth at any time the team wants (though we cannot update the release requirement file).14:31
*** lcheng has joined #openstack-horizon14:31
*** lcheng has quit IRC14:31
*** david-lyle has joined #openstack-horizon14:32
ZZelleamotoki, indeed14:33
*** david-lyle has quit IRC14:33
sambettsThis patch https://review.openstack.org/#/c/121529/ is failing gate-horizon-python27-django14, I think its a version incompatiblity, has anyone got any suggestions?14:34
*** david-lyle has joined #openstack-horizon14:34
*** david-lyle has quit IRC14:34
sambettsttrifonov: ^^14:34
*** david-lyle has joined #openstack-horizon14:35
*** ankit_ag has quit IRC14:38
*** aix has joined #openstack-horizon14:44
-amotoki- it raises when we drops django 1.4 support...14:44
*** lcheng has joined #openstack-horizon14:45
amotokidoug-fish: thanks for listing on string concatenation in bug 130747614:48
doug-fishamotoki:  sure np.  You think a change of that scope is still acceptable?14:48
amotokidoug-fish: personally it should be deferred to Kilo ...... but perhaps French has problems.....14:49
amotokiFrench? i am not sure.14:49
doug-fishsure understood.  I'm going to code it up either way.  Having the code should facilitate discussion.14:50
amotokidoug-fish: According to my rough experiece, we already change/introduces nealy 100 strings (at least 60) after the string freeze.14:51
derekhHi horizon, tripleo CI is broke https://bugs.launchpad.net/tripleo/+bug/137343014:53
doug-fishamotoki:  yep.  Understood.  Still, if the strings aren't really translatable, this might be needed.   I'm tempted to break it up into multiple patches again, so that if only some strings are troublesome a more selective merge can be done14:53
derekhlooks liek this commit is when it started https://review.openstack.org/#/c/120242/1514:53
derekhany ideas ?14:53
amotokidoug-fish: good point! We have many third party libraries xstatic-* in Juno and the headache is increasing..14:55
amotokihow can we coordinate translation efforts for js libraries? it is a question.14:56
*** jprovazn is now known as jprovazn_afk14:56
amotokiAs OSS mind, we should contribute upstreams of course :-)14:57
doug-fishamotoki:  are you saying there are js libraries that will be translated as part of openstack!14:57
doug-fishoh yes - that's what I expected!14:57
derekhIs a revert correct here https://review.openstack.org/123751 or is there a simple fix for the patch ?14:57
amotokidoug-fish: I already had some inconsistency in the release management between django-openstack-auth and horizon.14:58
amotokiI18N team wonders how to handle openstack-auth trans.14:58
doug-fishamotoki: .... and what is the answer?14:59
amotokidoug-fish: no answers... just to follow its own release.14:59
doug-fishamotoki:  yeah, I think that seems right14:59
*** sayali has quit IRC15:00
amotokiAs an upstream development I believe it is the right stance. Keeping the consistency on translation across libraries is up to distributors to some extent.15:01
amotokidoug-fish: do you have time to check https://review.openstack.org/#/c/123751/ ?15:02
doug-fishamotoki:derekh:  yeah, I'm looking at it now15:02
amotokidoug-fish: At a glance, it is better to propose another fix rather than reverting the whoe.15:02
*** neelashah has quit IRC15:03
amotoki *whole.15:03
doug-fishI don't know triple-O enough to understand why it is broken15:03
derekhI've add horizon to the bug 137343015:04
amotokibut if we can't identify the root cause it should be reverted at this moment from the release management perspective.15:04
derekhdoug-fish: let me try and spin up a current env and I can provide you with debug info15:04
doug-fishderekh: super, thanks!15:04
amotokiderekh: thanks for raising this!15:05
derekhdoug-fish: that will probably take 30 minutes15:05
derekhamotoki: no prob15:05
-amotoki- feels today neutron channel is very silent.. it is rare horizon channle is active than neutron.15:06
*** rebelagentm has joined #openstack-horizon15:07
*** ZZelle has quit IRC15:08
derekhdoug-fish: amotoki this may be relevant (I don't know enough about horizon to know for sure) we have our own local_settings.py http://git.openstack.org/cgit/openstack/tripleo-image-elements/tree/elements/horizon/os-apply-config/etc/horizon/local_settings.py15:08
derekhcould we be missing something ?15:08
*** ZZelle has joined #openstack-horizon15:08
derekhI did some poking at it earlier to see if I could figure it out, it looked to be like15:09
derekhdatepicker_locale()15:09
derekhwasn't being called at all15:09
doug-fishhmm15:09
amotokiderekh: but DATEPICKER LOCALE is a new settings and i wonder why it is affected....15:09
doug-fishI bet the tripleO datepicker usage needs to be changed15:10
derekhThe error occurs while running thia file http://git.openstack.org/cgit/openstack/tripleo-image-elements/tree/elements/horizon/os-refresh-config/post-configure.d/14-horizon15:10
derekhbrb15:10
-amotoki- need to move neutron reviews now... thanks for understanding.15:11
*** pawels has joined #openstack-horizon15:11
*** aix has quit IRC15:11
*** neelashah has joined #openstack-horizon15:17
*** jacalcat has quit IRC15:19
*** rbertram has joined #openstack-horizon15:19
*** aix has joined #openstack-horizon15:23
*** openstackx has joined #openstack-horizon15:24
*** cedrics has joined #openstack-horizon15:25
*** david-ly_ has joined #openstack-horizon15:25
*** cedrics_ has joined #openstack-horizon15:26
*** david-lyle has quit IRC15:27
*** cedricss has quit IRC15:28
*** jacalcat has joined #openstack-horizon15:29
doug-fishderekh:  I see what's wrong.  Fix is small, but I have to go to a 1/2 hr meeting.15:29
*** cedrics has quit IRC15:30
derekhdoug-fish: ok, we have reverted the commit in the tripleo CI so we should be ok for the moment,15:31
*** ramishra has quit IRC15:31
doug-fishderekh:  meeting is rescheduled.  Fix will be out soon.15:32
derekhdoug-fish: I probably wont be here when your back but if you mail me with the review I can test it later derekh@redhat.com15:32
doug-fishwill do.  Thanks!15:32
*** cedrics_ has quit IRC15:32
*** dulek has quit IRC15:32
derekhdoug-fish: I can confirm datepicker_locale isn't being called, when I change the decorator above it to register.tag it is called (but then I've caused another error)15:32
derekhdoug-fish: anyways I'll leave you too it and thanks for the help15:33
*** ihrachyshka has quit IRC15:36
*** Sukhdev has joined #openstack-horizon15:40
*** masco has quit IRC15:40
*** ramishra has joined #openstack-horizon15:47
*** tosky has quit IRC15:54
*** ramishra has quit IRC15:56
rbertramdoug-fish: just saw datepicker_locale mentioned - is there a problem?15:57
*** nlahouti has joined #openstack-horizon15:57
*** ttrifonov is now known as ttrifonov_zZzz15:57
doug-fishrbertram:  yeah, but no worries - I'm on it15:57
*** openstackx has left #openstack-horizon15:57
rbertramdoug-fish, derekh: have to run now, but I can focus on it in a couple of hours if I need to. Hope I didn't miss something!15:58
doug-fishrbertram:  no worries!  I'm sure it will be fixed up by then!15:58
*** AlkaD has joined #openstack-horizon15:59
*** k4n0 has quit IRC16:03
*** sayali has joined #openstack-horizon16:03
*** gary-smith_ has quit IRC16:03
*** jmoffitt_ has quit IRC16:03
*** vokhrimenko has quit IRC16:07
*** gary-smith has joined #openstack-horizon16:09
*** clu_ has joined #openstack-horizon16:10
*** amerine_ has joined #openstack-horizon16:13
*** amerine has quit IRC16:14
*** absubram_ has joined #openstack-horizon16:18
doug-fishamotoki, derekh, rbertram : https://review.openstack.org/#/c/123779/16:21
derekhthanks, I just commented with "check experimental", this should run tripleo-ci on it16:23
*** sambetts has quit IRC16:23
doug-fishderekh:  sounds good.  Let me know how it works!16:24
derekhdoug-fish: will do16:24
*** sambetts has joined #openstack-horizon16:24
*** dsneddon has quit IRC16:24
*** dsneddon has joined #openstack-horizon16:25
*** MaxV has quit IRC16:25
*** pkarikh has quit IRC16:31
*** ygbo has quit IRC16:32
*** radez is now known as radez_g0n316:34
*** sambetts has quit IRC16:34
*** sambetts has joined #openstack-horizon16:35
*** neelashah has quit IRC16:37
*** nlahouti has quit IRC16:37
*** Ala has quit IRC16:39
*** neelashah has joined #openstack-horizon16:40
*** ArcTanSusan has joined #openstack-horizon16:41
*** neelashah1 has joined #openstack-horizon16:41
*** sambetts has quit IRC16:43
*** Ala has joined #openstack-horizon16:43
*** Ala has quit IRC16:44
*** sambetts has joined #openstack-horizon16:44
*** dsneddon has quit IRC16:45
*** neelashah has quit IRC16:45
*** tosky has joined #openstack-horizon16:45
*** ArcTanSusan has quit IRC16:46
*** dsneddon has joined #openstack-horizon16:46
*** ihrachyshka has joined #openstack-horizon16:48
*** ihrachyshka has quit IRC16:48
*** ArcTanSusan has joined #openstack-horizon16:49
*** sambetts has quit IRC16:54
*** qba73 has quit IRC16:54
*** sambetts has joined #openstack-horizon16:54
*** arborism has joined #openstack-horizon16:55
*** harlowja_away is now known as harlowja16:56
*** derekh has quit IRC16:56
*** sigmavirus24 is now known as sigmavirus24_awa16:57
*** sambetts has quit IRC17:00
*** sambetts has joined #openstack-horizon17:01
*** Drago1 has joined #openstack-horizon17:02
*** johnma has joined #openstack-horizon17:03
*** rwsu has quit IRC17:03
*** arborism has quit IRC17:05
*** Drago has quit IRC17:05
*** amcrn has joined #openstack-horizon17:05
*** rwsu has joined #openstack-horizon17:06
*** dsneddon has quit IRC17:06
*** pawels has left #openstack-horizon17:06
*** dsneddon has joined #openstack-horizon17:06
*** sambetts has quit IRC17:09
*** sambetts has joined #openstack-horizon17:09
*** Sukhdev has quit IRC17:14
*** akrivoka has quit IRC17:15
*** sayan has quit IRC17:20
*** Drago1 has quit IRC17:23
*** mrunge has quit IRC17:24
*** dsneddon has quit IRC17:26
*** harlowja has quit IRC17:27
*** harlowja has joined #openstack-horizon17:27
*** dsneddon has joined #openstack-horizon17:27
*** lcheng has quit IRC17:32
*** sambetts has quit IRC17:34
*** sambetts has joined #openstack-horizon17:35
*** Drago1 has joined #openstack-horizon17:37
*** romainh has left #openstack-horizon17:42
*** sambetts has quit IRC17:43
*** sambetts has joined #openstack-horizon17:43
*** e0ne has quit IRC17:46
*** gokrokve has quit IRC17:46
*** ericpeterson has joined #openstack-horizon17:49
*** jcoufal has quit IRC17:51
*** MaxV has joined #openstack-horizon17:52
*** tosky has quit IRC17:55
*** sigmavirus24_awa is now known as sigmavirus2417:57
*** sayan has joined #openstack-horizon17:58
*** AlkaD has quit IRC18:00
*** AlkaD has joined #openstack-horizon18:02
*** sambetts has quit IRC18:03
*** sambetts has joined #openstack-horizon18:04
*** radez_g0n3 is now known as radez18:06
*** bpokorny has joined #openstack-horizon18:08
*** gokrokve has joined #openstack-horizon18:08
*** ttrifonov_zZzz is now known as ttrifonov18:12
*** sambetts has quit IRC18:13
*** sambetts has joined #openstack-horizon18:13
*** bpokorny has quit IRC18:24
*** zigo has quit IRC18:26
*** zigo has joined #openstack-horizon18:28
rbertramdoug-fish: OH! So in all my testing, I didn't think to turn compression back on. Sorry!18:31
*** sambetts has quit IRC18:31
*** lsmola has quit IRC18:31
rbertramdoug-fish: Lesson learned.18:31
*** lsmola has joined #openstack-horizon18:31
doug-fishno worries Randy.  None of the reviewers thought of that either.  :-[18:32
*** sambetts has joined #openstack-horizon18:32
*** Sukhdev has joined #openstack-horizon18:36
*** e0ne has joined #openstack-horizon18:40
*** denis_makogon has joined #openstack-horizon18:40
*** nlahouti has joined #openstack-horizon18:42
*** ArcTanSusan has quit IRC18:43
*** e0ne is now known as e0ne_18:49
*** ArcTanSusan has joined #openstack-horizon18:56
*** e0ne_ has quit IRC18:56
*** bpokorny has joined #openstack-horizon18:57
*** MaxV has quit IRC18:57
rbertramasahlin: wonder if you should add this to the JS guidelines: "be sure to test your code with compression on before submitting."  Also clear cache. Anything else like that?18:58
*** MaxV has joined #openstack-horizon18:59
*** lcheng has joined #openstack-horizon18:59
*** bpokorny_ has joined #openstack-horizon19:00
*** e0ne has joined #openstack-horizon19:00
*** morganfainberg is now known as morgan19:02
*** sambetts has quit IRC19:02
*** bpokorny has quit IRC19:02
*** denis_makogon has quit IRC19:02
*** morgan is now known as morganfainberg19:03
*** AlkaD has quit IRC19:04
*** jmoffitt has joined #openstack-horizon19:06
*** amerine_ is now known as amerine19:09
asahlinrbertram: I thought about adding a comment on clearing cache to pickup JS changes.. didn't even think about compression.     I think both are worth mentioning19:09
*** ameoba has joined #openstack-horizon19:11
*** AlkaD has joined #openstack-horizon19:11
ericpetersonthere is also testing it with offline compression vs the default online compression too, not sure that this would matter19:12
*** coolsvap is now known as coolsvap|gone19:13
*** radez is now known as radez_g0n319:15
*** ameoba has quit IRC19:16
*** Longgeek has quit IRC19:18
*** athomas has quit IRC19:19
*** jprovazn_afk has quit IRC19:20
*** echevemaster has joined #openstack-horizon19:20
*** e0ne is now known as e0ne_19:20
*** ArcTanSusan has quit IRC19:28
asahlinrbertram, ericpeterson:    Compression is turned off/on by specifying COMPRESS_ENABLED = False /True (True is default) in local_settings.py, correct?19:32
afaranhaamotoki: ping19:38
*** ArcTanSusan has joined #openstack-horizon19:40
ericpetersonyep asahlin, but if you turn it to offline, you will need to manually compress offline19:40
ericpetersonpython manage.py compress (or something like that)19:40
*** radez_g0n3 is now known as radez19:41
rbertramasahlin: yes, COMPRESS_ENABLED is what I made my mistake with19:44
*** rbertram has quit IRC19:44
*** e0ne_ has quit IRC19:46
asahlinericpeterson: after you mentioned offline compression.. I was reading up on it some..     I *think* mentioning "If you turned compression off during development, re-enable and test before submitting your code" should suffice.19:47
ericpetersonyeah, it's just a best practice to ensure that a change would work in both modes19:47
ericpetersonand there are really 3 different modes.... COMPRESS = False..... then compress_online / offline19:48
afaranhadavid-ly_: Regarding this blueprint https://blueprints.launchpad.net/horizon/+spec/rbac-panels I talked to Amotoki earlier and we discussed what need to be done19:48
afaranhado you have time to explain me a bit more about it?19:48
ericpetersoncompress = false is really a no-opt19:48
*** coolsvap|gone has quit IRC19:51
*** lcheng has quit IRC19:54
*** david-ly_ is now known as david-lyle19:58
david-lyleafaranha: that bp has so much detail, I don't understand the need for clarification ;)19:59
*** bpokorny has joined #openstack-horizon20:00
david-lyleso, what's intended is a combination of the admin and project views as they exist and have the data loading and action visibility be driven by RBAC20:00
*** nlahouti has quit IRC20:00
david-lyleso that we don't have all this near duplicate code in two dashboards20:00
afaranhaRight, I understood this part, but how to do it20:01
afaranhaWe need to change the has_permission and can_access variables, right?20:01
david-lyleI think there are still needs for uniquely admin views that could live in an admin dashboard20:01
*** lcheng has joined #openstack-horizon20:01
afaranhaI was gonna ask if we just follow the already merged codes related to this bp, like this one https://review.openstack.org/#/c/86417/20:02
david-lyleafaranha: I started with the Identity dash20:02
david-lyleI think there's more work necessary in identity to be complete20:02
david-lylebut it's an example of the basic idea20:02
david-lyleyou'll see the get_data calls make RBAC checks to determine what data to show20:03
afaranhaok, my idea eas to start in identity, we found out this inconsistence trying to list projects20:03
afaranhamy idea was*20:03
*** bpokorny_ has quit IRC20:03
david-lyleyes, RBAC check on project list access20:03
david-lylethat's really the beginning of it20:04
gary-smithdavid-lyle: along those lines, some panels under Admin (like Compute > Instances) ignore the current selected project20:06
gary-smithbut those under Project do not20:06
david-lylegary-smith: correct20:06
gary-smithand hence the tables under Admin need to have a Project column20:06
afaranhadavid-lyle: ok, I'll then just check the panels and buttons and make them appear or not accordingly to RBAC20:06
gary-smithbut those under project do not. So this would need to be handled too20:06
afaranhaAs there's patches for other services it'll help a lot the understanding of the solution :)20:07
gary-smithI guess that is all explained in the bp :-)20:07
david-lyleyes, the actions in other services should be handled already20:07
*** packet has joined #openstack-horizon20:07
david-lylethe conditional data loading is the issue20:07
david-lyleat least in the project dashboard20:08
david-lylegary-smith: I do have just a _few_ more details to add to the BP20:10
david-lyle:D20:10
gary-smithwell, now you have a template for it20:11
*** jtomasek has quit IRC20:11
david-lylewhoever came up with that is creating a lot of work for me20:11
gary-smith;-)20:12
*** colinmcnamara has joined #openstack-horizon20:12
*** colinmcnamara has quit IRC20:14
*** colinmcnamara has joined #openstack-horizon20:14
*** rbertram has joined #openstack-horizon20:23
*** sayan has quit IRC20:24
*** packet has quit IRC20:27
*** packet has joined #openstack-horizon20:28
*** sayan has joined #openstack-horizon20:28
*** packet has quit IRC20:29
*** packet has joined #openstack-horizon20:30
*** ArcTanSusan has quit IRC20:32
*** MaxV has quit IRC20:34
*** Sukhdev has quit IRC20:37
*** colinmcnamara has quit IRC20:45
*** radez is now known as radez_g0n320:46
*** ttrifonov is now known as ttrifonov_zZzz20:50
*** sayali has quit IRC20:52
*** jacalcat has quit IRC20:53
*** ArcTanSusan has joined #openstack-horizon20:54
*** crobertsrh is now known as _crobertsrh20:54
*** Drago1 has quit IRC20:55
*** nlahouti has joined #openstack-horizon20:57
*** bpokorny_ has joined #openstack-horizon20:57
*** peristeri has quit IRC20:57
*** bpokorny has quit IRC21:00
*** sayan has quit IRC21:09
*** rbertram has quit IRC21:14
doug-fishCan https://review.openstack.org/#/c/123779/ get some attention?  It's needed for tripleo CI.21:15
ericpetersondoug-fish: there is a code block hard coding stuff to en only???21:16
ericpetersonamd I reading that correct?21:17
ericpetersons/amd/am21:17
doug-fishsort of yeah21:17
ericpetersonwhy don21:17
doug-fishas long as you don't use compression everything is fine.21:17
ericpetersont they just hard code to en21:17
ericpetersonat least then it won't explode on non-en users21:17
doug-fishwell compression doesn't actually cause the language to be set, so its just breaks21:18
ericpetersonit's going to fail in ES/FR/IT whatever it seems to me21:18
ericpetersonright, the variable stuff should go out of a compression block21:18
doug-fishnope.  I'd bet $0.32 it won't.21:18
ericpetersonit won't fail per se.... but those users won't get the js files21:18
doug-fishyou mean without the fix, right?21:19
ericpetersonthey won't get the <script> tag.... and their browser will be sad without fancy js stuff21:19
ericpetersonno, the fix I think is not so good21:19
doug-fishoh21:19
ericpetersonah nevermind.... having me think outloud and make a fool of myself helps.... thanks21:20
* ericpeterson retreats sheepishly21:20
doug-fishno worries21:20
doug-fishIt's unclear enough that none of the reviewers (including me) picked it up in the first place21:21
*** alexpilotti has joined #openstack-horizon21:34
*** alexpilotti has quit IRC21:35
*** alexpilotti has joined #openstack-horizon21:36
*** ArcTanSusan has quit IRC21:36
*** nlahouti has quit IRC21:38
gugl2doug-fish, the fix seems to be reasonbale, but not clear how to test the fix21:39
*** ArcTanSusan has joined #openstack-horizon21:41
doug-fishtest it?  now there's an idea!21:42
doug-fish:-D21:42
gugl2doug-fish, meaning...how to make sure no breaks and what to check21:43
doug-fishgugl2:  at a high level the idea is that you'd do the compress at the command line and change some local_setting value related to compression.  But I'll have to go find some notes if that high level isn't enough to help you21:43
doug-fishonce the compression is set up you'd just check a few languages and make sure the proper datepicker is shown21:44
doug-fishgugl2:  I don't suppose my vague hand waving about compression is enough to remind you how to set it up?21:45
gugl2doug-fish, i am confused...sounds like lot of work to set up21:47
*** harlowja has quit IRC21:47
*** harlowja has joined #openstack-horizon21:47
doug-fishit's really not that bad.  It will take me longer to find/write up the details than it would for you to do it.21:48
gugl2doug-fish, just try to help. If it is too much hassle for you...no worries21:48
gugl2doug-fish, or any doc you can point me to?21:48
doug-fishgugl2:  I don't know if such a doc exists.  I appreciate the extra look/test of the code so I'm happy to describe how to do it.21:49
doug-fishGive me 5 or 10 mins ...21:49
gugl2ok21:50
*** AlkaD has quit IRC21:56
*** ericpeterson has quit IRC21:56
*** ericpeterson has joined #openstack-horizon21:59
*** ericpeterson has quit IRC21:59
*** ericpeterson has joined #openstack-horizon21:59
gugl2https://review.openstack.org/#/c/117053/ need some critics as well22:00
*** david-lyle has quit IRC22:00
*** david-lyle has joined #openstack-horizon22:01
*** harlowja has quit IRC22:03
*** harlowja has joined #openstack-horizon22:03
*** nlahouti has joined #openstack-horizon22:05
*** rebelagentm has quit IRC22:05
*** harlowja has quit IRC22:09
*** harlowja_ has joined #openstack-horizon22:09
doug-fishgugl2:  I threw some instructions in the bug:  https://bugs.launchpad.net/tripleo/+bug/137343022:11
gugl2doug-fish, ok, will take a look. Thanks so much!22:11
doug-fishgugl2:  sure.  Thank you!22:12
*** rodrigods_ has joined #openstack-horizon22:12
*** rodrigods_ has quit IRC22:13
*** sigmavirus24 is now known as sigmavirus24_awa22:15
*** doug-fish has left #openstack-horizon22:21
*** neillc_ has joined #openstack-horizon22:21
*** jasondotstar has quit IRC22:21
*** julim has quit IRC22:25
*** neelashah1 has quit IRC22:37
*** ZZelle_ has joined #openstack-horizon22:51
*** david-lyle has quit IRC22:59
*** lcheng has quit IRC22:59
*** ZZelle_ has quit IRC23:02
*** ericpeterson has quit IRC23:03
*** packet has quit IRC23:10
*** jpich has joined #openstack-horizon23:10
*** Sukhdev has joined #openstack-horizon23:21
*** dsneddon has quit IRC23:27
*** rodrigods_ has joined #openstack-horizon23:29
*** dsneddon has joined #openstack-horizon23:29
*** rbertram has joined #openstack-horizon23:31
*** echevemaster has quit IRC23:37
*** rodrigods_ has quit IRC23:38
*** coolsvap has joined #openstack-horizon23:42
*** dsneddon has quit IRC23:48
*** dsneddon has joined #openstack-horizon23:50
*** openstack has joined #openstack-horizon23:56
*** rodrigods_ has joined #openstack-horizon23:56

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