Monday, 2014-09-22

*** prasoon has joined #openstack-horizon00:54
*** prasoon has quit IRC00:55
*** Longgeek has joined #openstack-horizon01:04
*** vkmc has quit IRC01:08
*** prasoon has joined #openstack-horizon01:16
*** Drago has joined #openstack-horizon01:19
*** prasoon has quit IRC01:20
*** jacalcat has joined #openstack-horizon01:23
*** Drago has quit IRC01:24
*** neillc has quit IRC01:27
*** rodrigods_ has joined #openstack-horizon01:27
*** sigmavirus24_awa is now known as sigmavirus2401:27
*** ddieterl_ has joined #openstack-horizon01:29
*** ddieterly has quit IRC01:33
*** sigmavirus24 is now known as sigmavirus24_awa01:40
*** jacalcat has quit IRC01:44
*** Drago has joined #openstack-horizon02:07
*** Drago has quit IRC02:09
*** nlahouti1 has joined #openstack-horizon02:23
*** nlahouti has quit IRC02:23
*** nlahouti has joined #openstack-horizon02:29
*** nlahouti has quit IRC02:32
*** nlahouti has joined #openstack-horizon02:32
*** nlahouti1 has quit IRC02:34
*** colinmcnamara has joined #openstack-horizon02:40
*** ramishra has joined #openstack-horizon02:48
*** colinmcnamara has quit IRC02:50
*** colinmcnamara has joined #openstack-horizon02:57
*** rodrigods_ has quit IRC03:09
*** ramishra has quit IRC03:10
*** vivekd has joined #openstack-horizon03:14
*** vivekd has left #openstack-horizon03:14
*** prasoon has joined #openstack-horizon03:17
*** ddieterl_ has quit IRC03:17
*** prasoon has quit IRC03:22
*** ramishra has joined #openstack-horizon03:24
*** colinmcnamara has quit IRC03:27
*** masco has joined #openstack-horizon03:29
*** prasoon has joined #openstack-horizon03:29
*** tzumainn has joined #openstack-horizon03:36
*** nikunj2512 has joined #openstack-horizon03:50
*** neillc has joined #openstack-horizon03:52
*** prasoon has quit IRC04:05
*** Drago1 has joined #openstack-horizon04:08
*** Drago1 has quit IRC04:10
*** nikunj2512 has quit IRC04:30
*** nikunj2512 has joined #openstack-horizon04:30
*** ramishra has quit IRC04:35
*** ramishra has joined #openstack-horizon04:35
*** hhuang has joined #openstack-horizon04:46
*** Longgeek has quit IRC05:07
*** tzumainn has quit IRC05:15
*** Longgeek has joined #openstack-horizon05:22
*** ddieterly has joined #openstack-horizon05:23
*** ddieterly has quit IRC05:27
*** tnovacik|afk has joined #openstack-horizon05:33
*** mrunge has joined #openstack-horizon05:52
*** david-lyle has joined #openstack-horizon05:59
*** sayali_ has joined #openstack-horizon06:04
*** Drago1 has joined #openstack-horizon06:09
*** Drago1 has quit IRC06:11
*** Clabbe has joined #openstack-horizon06:13
*** pkoniszewski has joined #openstack-horizon06:14
*** pkoniszewski has quit IRC06:17
*** k4n0 has joined #openstack-horizon06:20
*** ddieterly has joined #openstack-horizon06:23
*** e0ne has joined #openstack-horizon06:28
*** ddieterly has quit IRC06:28
*** e0ne has quit IRC06:30
*** jprovazn has joined #openstack-horizon06:32
*** e0ne has joined #openstack-horizon06:34
*** e0ne has quit IRC06:36
*** mflobo has joined #openstack-horizon06:37
*** e0ne has joined #openstack-horizon06:40
*** e0ne has quit IRC06:43
*** e0ne has joined #openstack-horizon06:47
*** jtomasek has joined #openstack-horizon06:49
*** e0ne has quit IRC06:49
*** ZZelle_ has joined #openstack-horizon07:05
*** dulek has joined #openstack-horizon07:08
*** jcoufal has joined #openstack-horizon07:10
*** Ala has joined #openstack-horizon07:14
*** dkorn has joined #openstack-horizon07:16
*** ddieterly has joined #openstack-horizon07:17
*** ihrachyshka has joined #openstack-horizon07:19
*** ddieterly has quit IRC07:22
*** ZZelle_ has quit IRC07:25
*** nlahouti has quit IRC07:26
*** e0ne has joined #openstack-horizon07:29
*** ihrachyshka_ has joined #openstack-horizon07:30
*** ihrachyshka has quit IRC07:33
*** MaxV has joined #openstack-horizon07:33
*** e0ne has quit IRC07:38
*** e0ne has joined #openstack-horizon07:40
*** Longgeek has quit IRC07:40
*** cedrics has joined #openstack-horizon07:42
*** bradjones has joined #openstack-horizon07:51
*** bradjones has quit IRC07:51
*** bradjones has joined #openstack-horizon07:51
*** masco has quit IRC07:52
*** tnovacik|afk is now known as tnovacik07:52
*** dulek_ has joined #openstack-horizon07:58
*** dulek__ has joined #openstack-horizon08:01
*** Longgeek has joined #openstack-horizon08:01
*** dulek has quit IRC08:01
*** dulek_ has quit IRC08:04
*** neillc is now known as neillc_afk08:06
*** Drago1 has joined #openstack-horizon08:09
*** athomas has joined #openstack-horizon08:10
*** Drago1 has quit IRC08:12
*** e0ne has quit IRC08:13
*** e0ne has joined #openstack-horizon08:16
dkorndavid-lyle: mrunge or anyone else, is it legitimate to add something to the Apache license comment at the top of a patch?08:16
david-lyledkorn: such as?08:16
dkorndavid-lyle: https://review.openstack.org/#/c/101169/1..5/openstack_dashboard/test/integration_tests/pages/accesssecuritypage.py08:16
david-lyledkorn: the copyright notice is acceptable, the "all rights reserved" is not necessary08:18
*** mrunge has quit IRC08:18
*** ArthurBerezin has joined #openstack-horizon08:19
*** mrunge has joined #openstack-horizon08:19
*** mrunge has quit IRC08:21
*** sambetts has joined #openstack-horizon08:24
*** rdopieralski has joined #openstack-horizon08:25
dkorndavid-lyle: thanks!08:26
*** romainh has joined #openstack-horizon08:27
*** mrunge has joined #openstack-horizon08:32
mrungesorry, I might have missed a bit of discussion here dkorn, david-lyle08:33
mrungeI had severe network issues08:33
*** k4n0 has quit IRC08:33
mrungeafaik, we're discouraging to add copyright headers08:33
david-lylemrunge: it's actually unsettled in OpenStack08:34
mrungeand we encourage to remove them, wherever possible08:34
david-lylethere was a lengthy dev discussion that trailed off to no final outcome08:34
mrungedavid-lyle, if I remember right, there was a discussion ongoing in march/april 201308:34
david-lylemrunge: that's the one08:35
david-lyledecidedly undecided in the end08:35
mrungesigh :-/08:35
david-lylelike so many things :)08:35
mrungeyes. too bad08:35
david-lyleyes08:36
mrungedavid-lyle, maybe "we" as project could get to a common sense here?08:36
david-lylemy policy has been - I don't encourage them, but I won't ask for them to be removed08:37
david-lylewe could make a stand, if we are so driven, but I see little harm in them08:37
mrungeI have asked to remove them in the past08:37
mrungebut that was jsut a gut feeling08:38
david-lyleI've been guilty of adding them too :P08:38
david-lyleto some employers, there is great drive to add them if OpenStack hasn't prohibited them08:39
mrungeif we encourage to add, we'll end up in having many companies listed in headers08:39
mrungeI don't really see a value there08:39
mrungebut I agree, higher management will love to have a company listed there08:40
david-lylethe  argument as to the value was that tracking down copyright and licensing authority via git can be rather difficult08:40
david-lyleas company affiliations change over time08:40
mrungebut in reality: how do you track an issue down to a company?08:41
*** dulek__ has quit IRC08:41
david-lyleand although I may have worked for company A when I contributed something 8 months ago, I may now work for company B08:41
mrungeyes, that's right.08:41
mrungeI assue, the issue arises, when we're trying to re-license code08:42
mrungethen we'd need to ask every contributor to ack that08:42
mrungedifficult, though08:42
david-lyleagreed08:43
nikunj2512@amotoki: Hi, the comments you gave on this patch  https://review.openstack.org/#/c/112513/, i am little confused about them08:47
nikunj2512@amotoki: Can You explain to me what You meant in those comments??08:47
*** ramishra has quit IRC08:48
*** tosky has joined #openstack-horizon08:49
*** dulek has joined #openstack-horizon08:49
amotokinikunj2512: context at L.115 contains "regenerate". If "regenerate" is specified, I wonder keypair-delete should be called.08:50
nikunj2512@amotoki: When "regenerate" is specified, it will call the generate views class08:51
*** k4n0 has joined #openstack-horizon08:51
nikunj2512and then the if condition will automatically will become true and will delete the keypair08:51
nikunj2512Their is no need to call keypair-delete specifically08:52
amotokinikunj2512: if so, doesn't the test case cover the case?08:52
nikunj2512@amotoki: Which case??08:52
nikunj2512@amotoki: my test covers it08:52
amotokinikunj2512: we need a test case which check keypair is regenerated, but in your test only keypair_create. How can we know keypair_delete is called and a new key is created?08:54
amotokinikunj2512: in my understanding, your test calls "horizon:project:access_and_security:keypairs:generate" and in this case only api.nova.keypair_create is called.08:55
amotokinikunj2512: i wonder why this test is enough.08:55
nikunj2512@amotoki: Let me explain08:56
nikunj2512@amotoki: first i called api.nova.keypair_create08:56
*** dulek has quit IRC08:56
nikunj2512This will create a keypair08:56
nikunj2512@amotoki: I am correct ?08:57
*** neillc_afk has quit IRC08:57
amotokinikunj2512: yes08:57
nikunj2512@amotoki: Then if You see L112, L11308:57
nikunj2512@amotoki: in the code08:58
nikunj2512@amotoki: they are calling the "horizon:project:access_and_security:keypairs:generate" url which calls the Generate View08:58
nikunj2512@amotoki: Right?08:58
amotokinikunj2512: yes.08:59
*** akrivoka has joined #openstack-horizon08:59
nikunj2512@amotoki: And when the generate view is called it passes to parameter to it, one is keypair name and other is the optional paramter08:59
nikunj2512@amotoki: right?08:59
*** masco has joined #openstack-horizon09:00
amotokinikunj2512: I am not sure.09:00
nikunj2512@amotoki: Why??09:00
nikunj2512If You see the L112 i am passing 2 parameters09:01
amotokinikunj2512: When you look at views.py, if optional is specified, api.nova.keypair_delete() should be called.09:02
*** ttrifonov is now known as ttrifonov_zZzz09:02
nikunj2512@amotoki: yes09:02
amotokinikunj2512: what I mean is that your test need to cover this.09:03
*** david-lyle has quit IRC09:03
nikunj2512@amotoki: This is what i am trying to say, when i am passing optional paramter, it calls api.nova.keypair_delete()09:03
nikunj2512@amotoki: But isn't this is happening in the views.py code??09:04
amotokinikunj2512: if so, your test need to stubout api.nova.keypair_delete and add api.nova.keypari_delete(IsA(....09:04
nikunj2512@amotoki: With all respect, i am really confused, i still not able to get why i have to call keypair_delete() explicitly when it is called in views.py09:06
*** qba73 has joined #openstack-horizon09:06
*** neillc_ has joined #openstack-horizon09:06
amotokinikunj2512: Unless it is stubbed out, api.nova.keypair_delete tries to access nova actually.09:07
amotokinikunj2512: It should be avoided in our unit test.09:07
*** Longgeek has quit IRC09:08
nikunj2512@amotoki: Ok09:08
amotokinikunj2512: The code (views.py) seems to call keypair_delete, but how can we check it in your unit test.09:08
*** ramishra has joined #openstack-horizon09:09
nikunj2512@amotoki: But isn't my test is calls the  keypair_delete in the views??09:09
*** viklund has quit IRC09:10
nikunj2512@amotoki: When an optional argument is passed which is "regenerate" it deletes the keypair and again creates it09:10
amotokinikunj2512: this is exactlly what I want to ask you :-)09:10
nikunj2512@amotoki: yes and that is what test case is doing, it is calling the generate view with two parameters09:11
amotokiIf "optional" is passed correctly, delete_keypair would be called and delete_keypair should fail because nova doesn't work when the unit test runs.09:11
amotokiI suspect something is wrong.09:11
nikunj2512@amotoki: Ok09:12
nikunj2512@amotoki: Then how should i figure out the issue??? Please can you give some suggestions ??09:12
*** dulek has joined #openstack-horizon09:15
amotokinikunj2512: I have no enough time to debug your patch now. What I can say is to check "optional" = "regneraeet" is passed to view.get  as you expected.09:15
amotokinikunj2512: i think L.114 need to have "optoional": "regenereate" in addition to keypair_name.09:16
nikunj2512@amotoki: Ok, thank you09:16
*** Longgeek has joined #openstack-horizon09:17
*** viklund has joined #openstack-horizon09:20
amotokinikunj2512: I think the url generated at your test L.113-114 matches L.31-32 in urls.py rather than L.33-34 (you expected)09:22
nikunj2512ok09:23
amotokinikunj2512: because optional: regnerate is not passed as an argument of reverse09:23
*** ihrachyshka_ has quit IRC09:23
nikunj2512@amotoki: Thank You very much09:23
nikunj2512@amotoki: Ok then do You know how can i pass optional as an argument of reverse??09:24
*** e0ne has quit IRC09:24
amotokinikunj2512: why dont you grep other unit tests in horizon? there are many examples. If not found, django docuemtn has good explanations.09:26
nikunj2512@amotoki: Ok09:26
*** e0ne has joined #openstack-horizon09:26
*** pawels has joined #openstack-horizon09:39
*** tnovacik has quit IRC09:40
*** hhuang has quit IRC09:41
mfloboquestion09:42
mfloboHow can I display a new variable on a view, for example, on /dashboards/project/images/templates/images/index.html09:43
*** k4n0 has quit IRC09:44
mfloboI've create a new variable on /dashboards/project/images/views.py and I want to show it on /dashboards/project/images/templates/images/index.html09:44
mfloboThe variable is on class IndexView:get_data(self)09:45
rdopieralskiyou have to pass it in the context to the template09:46
rdopieralskimflobo: see https://docs.djangoproject.com/en/dev/ref/templates/09:46
mflobordopieralski: which part? Built-in template tags and filters or The Django template language: For Python programmers?09:48
mfloboI know the sintax about Django framework, but I'm missing something09:50
mflobordopieralski: my understanding is in context there is only "table" data, how can I add more info to conetext on  /dashboards/project/images/views.py?09:53
rdopieralskimflobo: start with 'basics' and 'using the templating system'09:57
*** jasondotstar has joined #openstack-horizon10:07
*** athomas has quit IRC10:10
*** sayali_ has quit IRC10:10
*** sayali_ has joined #openstack-horizon10:10
*** Drago1 has joined #openstack-horizon10:11
*** romainh has quit IRC10:14
*** Drago1 has quit IRC10:15
mflobordopieralski: the quick answer is: re-define def get_context_data(self, **kwargs) funtion on /dashboards/project/images/views.py and add whatever I want10:16
*** Longgeek has quit IRC10:16
*** aix has joined #openstack-horizon10:16
*** athomas has joined #openstack-horizon10:19
*** Longgeek has joined #openstack-horizon10:20
*** ihrachyshka has joined #openstack-horizon10:20
*** mitz_ has joined #openstack-horizon10:22
nikunj2512@amotoki: As you said, now the test is passing the optional paramter and it is failing. As you said that a test can't call keypair_delete() on nova10:27
nikunj2512@amotoki: Please can you tell me, how can i modify the test case ?10:27
*** k4n0 has joined #openstack-horizon10:30
amotokinikunj2512: as I wrote before,10:34
amotokinikunj2512: 18:04:35 <amotoki> nikunj2512: if so, your test need to stubout api.nova.keypair_delete and add api.nova.keypari_delete(IsA(....10:34
nikunj2512@amotoki: Ok thank you10:35
*** ArthurB has joined #openstack-horizon10:36
amotokinikunj2512: btw, don't your colleagues help you to debug?10:36
nikunj2512@amotoki: Except me others are only interested in backend like nova, ironic10:37
nikunj2512@amotoki: So, no help :(10:37
*** ArthurBerezin has quit IRC10:39
*** bradjones has quit IRC10:39
amotokinikunj2512: :-(    I see a number of HP folks in horizon community.10:39
amotokinikunj2512: apart from that, what is important is not to fix tests to succeed but to keep tests what is expected10:40
nikunj2512@amotoki: different timezones :)10:40
nikunj2512@amotoki: Ok10:41
nikunj2512@amotoki10:41
nikunj2512@amotoki10:41
nikunj2512@amotoki: i made the changes and testing them10:41
nikunj2512@amotoki: You also told this: Please use @test.create_stubs instead10:42
nikunj2512@amotoki: is it necessary to use @test.create_stubs??10:42
*** e0ne has quit IRC10:43
*** dulek has quit IRC10:48
*** zigo has quit IRC10:50
nikunj2512@amotoki: Thank You for everything:) test is working as expected and also passing :)10:51
*** zigo has joined #openstack-horizon10:52
*** dulek has joined #openstack-horizon10:54
*** pawels has quit IRC11:02
*** ArthurB has quit IRC11:03
*** ArthurB has joined #openstack-horizon11:03
*** dulek has quit IRC11:04
*** pawels has joined #openstack-horizon11:05
*** romainh has joined #openstack-horizon11:06
*** vkmc has joined #openstack-horizon11:09
*** ygbo has joined #openstack-horizon11:12
*** mrunge has quit IRC11:15
*** mrunge has joined #openstack-horizon11:16
*** tosky has quit IRC11:17
*** nikunj2512 has quit IRC11:31
*** e0ne has joined #openstack-horizon11:42
*** tosky has joined #openstack-horizon11:43
*** e0ne has quit IRC11:50
akrivokahello Horizon11:54
akrivokawe will want to merge this patch asap, to prevent gate failures: https://review.openstack.org/#/c/123104/11:54
akrivokawe are already having gate failures in tuskar-ui due to that bug11:55
akrivokahttp://logs.openstack.org/79/121579/1/gate/gate-tuskar-ui-python26/54b0374/console.html11:55
*** dulek has joined #openstack-horizon11:56
*** ttrifonov_zZzz is now known as ttrifonov11:57
*** e0ne has joined #openstack-horizon11:58
*** aberezin has joined #openstack-horizon11:59
*** ArthurB has quit IRC11:59
*** jacalcat has joined #openstack-horizon12:01
*** marzif__ has quit IRC12:02
*** ddieterly has joined #openstack-horizon12:07
*** pawels has quit IRC12:09
*** ArthurBerezin has joined #openstack-horizon12:09
*** aberezin has quit IRC12:10
*** sayan_ has joined #openstack-horizon12:10
*** Drago has joined #openstack-horizon12:11
*** sayan_ has quit IRC12:11
*** sayan_ has joined #openstack-horizon12:12
*** Drago has quit IRC12:14
*** ttrifonov is now known as ttrifonov_zZzz12:21
*** ttrifonov_zZzz is now known as ttrifonov12:22
*** jacalcat has quit IRC12:24
*** sayan_ has quit IRC12:26
*** neillc_ has quit IRC12:26
*** sayan_ has joined #openstack-horizon12:29
*** doug-fish has joined #openstack-horizon12:32
*** mrunge has quit IRC12:39
*** rdopieralski has quit IRC12:40
*** mrunge has joined #openstack-horizon12:42
*** neillc_ has joined #openstack-horizon12:43
*** rdopieralski has joined #openstack-horizon12:46
*** ArthurBerezin has quit IRC12:49
*** ttrifonov is now known as ttrifonov_zZzz12:49
*** ttrifonov_zZzz is now known as ttrifonov12:50
*** ramishra has quit IRC12:51
*** mrunge has quit IRC12:52
*** tzumainn has joined #openstack-horizon12:56
*** neillc_ has quit IRC12:56
*** neillc_ has joined #openstack-horizon12:58
*** tnovacik has joined #openstack-horizon12:58
*** ArthurBerezin has joined #openstack-horizon12:59
*** dkorn has quit IRC12:59
*** dkorn has joined #openstack-horizon13:00
*** tnovacik has quit IRC13:01
*** _crobertsrh is now known as crobertsrh13:01
*** dkorn1 has joined #openstack-horizon13:02
*** rbertram has joined #openstack-horizon13:02
*** dkorn has quit IRC13:05
*** afaranha has joined #openstack-horizon13:10
*** julim has joined #openstack-horizon13:16
*** neelashah has joined #openstack-horizon13:18
*** radez_g0n3 is now known as radez13:19
mflobowhy FORMS in Horizon have always GET action and not POST action?13:20
rdopieralskimflobo: LIES!13:22
mflobordopieralski: ok, maybe not ALWAYS, but several times. Why not use POST always?13:24
*** ddieterly has quit IRC13:24
*** peristeri has joined #openstack-horizon13:25
rdopieralskimflobo: there can be many reasons why you might want to use GET and not POST, and it's hard to tell without seeing the particular case13:28
rdopieralskimflobo: in general, you want to use GET for anything that pople might want to link to or bookmark13:28
rdopieralskilike search, or pagination13:29
*** neillc_ has quit IRC13:38
*** afaranha_ has joined #openstack-horizon13:43
afaranhaHi, I have a question regarding the panels in Horizon, in current implementation one cannot create projects in Horizon even if he/she has permission to it.13:45
*** neillc has joined #openstack-horizon13:45
afaranhaThe panels will be shown or not depending if the user is "admin" or not, and only in this case, ignoring permissions on the policies13:45
afaranhaI would like to understanding the reason of this behavior because I'm would like to suggest another approach to this13:47
*** afaranha_ has quit IRC13:47
rdopieralskiafaranha: that's legacy code from before policies were incorporated13:47
rdopieralskiafaranha: not all of horizon uses the policies properly yet, we are in the process of fixing it13:48
rdopieralskiit can take a while13:48
*** neillc has quit IRC13:50
*** hhuang has joined #openstack-horizon13:52
*** sigmavirus24_awa is now known as sigmavirus2413:53
thiagoprdopieralski: today, the panels/dashboards only checks permissions based on roles, right? can I check against a rUle?13:55
*** echevemaster has joined #openstack-horizon13:56
afaranhardopieralski thiagop actually is not based on any role, only on "admin" role, right?13:59
thiagopafaranha: we could indeed check by another role... by changing it directly on code. :/14:00
thiagopI think it's not desirable at all14:01
*** dkorn1 has quit IRC14:01
*** ramishra has joined #openstack-horizon14:02
*** dkorn has joined #openstack-horizon14:03
rdopieralskithiagop: I have no idea14:07
afaranhardopieralski: What's your opinion about changing Horizon to show the panels accordingly to policies permissions?14:07
rdopieralskiafaranha: I have no opinion, but I know it's planned14:08
*** ddieterly has joined #openstack-horizon14:08
rdopieralskijust somebody has to do the work14:08
thiagopwe want this one! :)14:09
thiagopme and afaranha14:09
afaranhais there any blueprint for this? In the laboratory I work we are interesting on this14:09
afaranhawe could help14:09
*** romainh has left #openstack-horizon14:09
*** ddieterl_ has joined #openstack-horizon14:10
amotokiI think this is the one: https://blueprints.launchpad.net/horizon/+spec/rbac-panels14:10
afaranhaamotoki: Thanks o/14:10
*** dulek has quit IRC14:10
amotokithere are two ways to control a panels:  the one is has_permission from keystone information) and the other is can_access.14:11
amotokican_access looks up policy or other information (like nova/neutron/... extensions).14:11
amotokiI think these two needs to be merged but it is not simple and we all need to explore how it can be done.14:12
*** Drago has joined #openstack-horizon14:12
*** ddieterly has quit IRC14:13
afaranhaWe have has_permission the one that checks if the user is admin and can_access is the one when, for example, I create a instance but I don't have permission to do it, the can_access returns a permission error?14:13
*** ddieterl_ has quit IRC14:14
amotokiafaranha: are you talking about panels or action in tables?14:16
amotokiafaranha: for panels, can_access and has_permission works as AND operation, i.e., a panel is displayed when both return True.14:17
*** Drago has quit IRC14:17
afaranhaamotoki: both. Panels, views or buttons that appear depending on the user role.14:19
*** ddieterly has joined #openstack-horizon14:19
*** jcooley has quit IRC14:19
*** k4n0 has quit IRC14:19
afaranhaAre they similar in the way they are shown to the user?14:21
*** bradjones has joined #openstack-horizon14:21
*** bradjones has quit IRC14:21
*** bradjones has joined #openstack-horizon14:21
*** neillc_ has joined #openstack-horizon14:23
*** david-lyle has joined #openstack-horizon14:24
amotokiafaranha: the goal is similar . both has_permission and can_access are available for panel/dashboards.14:24
*** david-lyle has quit IRC14:24
*** jcooley has joined #openstack-horizon14:24
*** masco has quit IRC14:24
amotokiafaranha: for actions, a specified policy is applied in horizon.actions.BaseAction._allowed.14:24
amotokiafaranha: _allowed calls a policy check function. can_access also calls a policy check function.14:26
amotokiafaranha: Am i answering your questions?14:27
*** david-lyle has joined #openstack-horizon14:27
*** jacalcat has joined #openstack-horizon14:28
rbertramamotoki: When you proposed using horizon.contrib, I thought it was an existing module, but I'm having trouble finding it. Is it something new?14:28
afaranhaYes, thank you. It's only that I don't know Horizon very well, so I don't know where to start, but I'll look the codes to find out.14:28
*** david-lyle has quit IRC14:29
amotokiafaranha: thanks for having an interest in horizon :-)   This is a very on-ongoing area in Horizon and your contribution would be really appreciated.14:30
*** pawels has joined #openstack-horizon14:30
*** ArthurB has joined #openstack-horizon14:33
*** ArthurBerezin has quit IRC14:33
rbertramamotoki: Are you thinking of adding it to the datepicker package?14:34
amotokirbertram: yes, horizon contrib is a new directory. It is related to third party module (bootstrap-datepicker) so i think "contrib" is a good candidate.14:37
amotokirbertram: I am not sure it should be covered by datepicker package at the moment because what I said is a bridging module between django locale and datepicker locale.14:38
rbertramamotoki right14:38
amotokirbertram: datepicker is a JS package and it should not be aware of djnago, so horizon.contrib sounds nice to me, though there may be a better name.14:39
*** david-lyle has joined #openstack-horizon14:40
*** colinmcnamara has joined #openstack-horizon14:40
*** tnovacik has joined #openstack-horizon14:42
rbertramamotoki contrib.py would be in the horizon directory as a peer of base.py, right?14:44
pawelshi, I would like to register a new bleuprint for horizon, I am wonder if we have any bp template ready as it was discuss during last meeting ?14:44
amotokirbertram: what in my mind is to create horizon/contrib directory and add horizon.contrib.datepicker.14:45
david-lylepawels: not yet14:45
rbertramamotoki ah, ok makes better sense14:45
david-lyleon the plus side, we won't be approving any bps in the next couple of days either ;)14:45
pawelsdavid-lyle: so I will go the "old" way and then change it if necessary, sounds ok?14:45
david-lylepawels: yes14:46
pawelscool14:46
*** neillc_ has quit IRC14:48
*** jprovazn has quit IRC14:49
amotokidavid-lyle: Is requirement freeze already enabled? I saw Yves proposed a global-requirement update for the new django-openstack-auth.14:53
amotokidavid-lyle: it looks good to me for inclusion in Juno.14:53
david-lyleamotoki: what is required from the new version?14:55
amotokidavid-lyle: there is no patch so far. https://review.openstack.org/#/c/88220/ requires it.14:55
david-lyletechnically clients, which I lump django_openstack_auth in can be bumped until RC1, but I think it requires a FFE14:55
*** cedrics has quit IRC14:55
*** ericpeterson has joined #openstack-horizon14:56
amotokidavid-lyle: I experience this bug frequently after keystone token expires in 1 hour, and it is worth considered.14:56
david-lyleamotoki: yes, this is a very painful bug14:57
david-lylelooking at code14:57
amotokidavid-lyle: yes. we need FFE. Support from horizon ptl is nice to approve FFE.14:57
david-lylerecent bug, https://bugs.launchpad.net/horizon/+bug/1372320 is unrelated to the change in django_openstack_auth?14:59
*** cedrics has joined #openstack-horizon14:59
david-lylehaven't looked critically at it yet14:59
*** kmartin has joined #openstack-horizon15:01
*** ZZelle has quit IRC15:07
*** Drago has joined #openstack-horizon15:08
*** ZZelle has joined #openstack-horizon15:08
*** vijendar has joined #openstack-horizon15:08
*** rdopieralski has quit IRC15:08
*** colinmcnamara has quit IRC15:10
*** Drago1 has joined #openstack-horizon15:16
*** rebelagentm has joined #openstack-horizon15:16
*** Drago1 has quit IRC15:17
*** Drago1 has joined #openstack-horizon15:17
*** tnovacik has quit IRC15:18
*** Longgeek_ has joined #openstack-horizon15:19
*** asahlin has joined #openstack-horizon15:21
*** Longgeek has quit IRC15:22
*** Drago has quit IRC15:23
*** ihrachyshka has quit IRC15:24
*** pkarikh has joined #openstack-horizon15:30
*** lcheng has joined #openstack-horizon15:35
*** tnovacik has joined #openstack-horizon15:42
*** sayali_ has quit IRC15:45
*** jacalcat has quit IRC15:46
*** nlahouti has joined #openstack-horizon15:48
*** dkorn has quit IRC15:48
*** david-lyle has quit IRC15:53
*** underbyte1 has joined #openstack-horizon15:54
*** david-lyle has joined #openstack-horizon15:55
*** Longgeek_ has quit IRC15:55
*** colinmcnamara has joined #openstack-horizon15:56
*** amerine has joined #openstack-horizon15:56
*** underbyte1 has quit IRC15:57
*** denis_makogon has joined #openstack-horizon16:00
*** lcheng has quit IRC16:06
*** sayan_ has quit IRC16:13
*** vokhrimenko has quit IRC16:13
*** pawels has quit IRC16:14
*** jacalcat has joined #openstack-horizon16:16
*** ddieterly has quit IRC16:17
*** e0ne has quit IRC16:17
*** pkarikh has quit IRC16:20
*** cedrics has quit IRC16:22
*** sayali_ has joined #openstack-horizon16:23
*** MaxV has quit IRC16:23
*** MaxV has joined #openstack-horizon16:24
*** ArthurB has quit IRC16:27
*** MaxV has quit IRC16:28
*** ygbo has quit IRC16:31
*** colinmcnamara has quit IRC16:42
*** ArthurBerezin has joined #openstack-horizon16:42
*** ArcTanSusan has joined #openstack-horizon16:45
*** akrivoka has quit IRC16:47
*** lcheng has joined #openstack-horizon16:47
*** tqtran has joined #openstack-horizon16:50
*** athomas has quit IRC16:54
ericpetersonamotoki:  we have a request for the network topology, to be available in the admin view.  So an admin could choose a project, and view their network topology.  Does a blueprint exist for this???17:02
*** cedrics has joined #openstack-horizon17:02
*** qba73 has quit IRC17:03
*** sigmavirus24 is now known as sigmavirus24_awa17:04
*** jacalcat has quit IRC17:06
amotokiericpeterson: I am not sure. According to the search result of Horizon blueprints, https://blueprints.launchpad.net/horizon/+spec/syspanel-network-topology seems related.17:07
amotokiericpeterson: It was filed nearly a year ago and I don't know the status.17:07
ericpetersonthanks.  I should have searched for that on my own, sorry.   It seems like something that would be very useful in larger neutron deployments17:08
ericpetersonwill comment on that bp17:08
amotokiericpeterson: i wonder how such topology view scales. I am looking forward to seeing your idea :-)17:10
*** e0ne has joined #openstack-horizon17:11
ericpetersonI think it's the same view we have today.... just an admin would first have to select something like "view the topology page for project XYZ"17:12
david-lyleamotoki: I think the suggestion was scoping it to a project view17:12
*** cedrics has quit IRC17:13
david-lylenot the entire topology as that would just be noise17:13
ericpetersonthe orig bp said to view for all projects, but that is going to be a bad idea to me17:13
david-lyle++17:13
ericpeterson++++17:13
amotoki+10017:13
amotokiIn admin view, there is another need. Admin wants to know which instances/routers/.... are hosted by which physical nodes.17:17
amotokiIn larger deployments, drop-down list doesn't scale too.17:18
*** ramishra has quit IRC17:20
*** harlowja_away is now known as harlowja17:21
ericpetersonyep.  there is a bigger horizon admin issue I think that exists....   we can't just have end users page through many items to try to find resources17:23
ericpetersonthere needs to be a way to find exact instances / routers / networks and then jump to related instances / routers / networks / hypervisors.... etc17:24
ericpetersonI have a change that does some of this  https://review.openstack.org/#/c/111854/   but it's a larger issue17:25
ericpeterson(granted, my change needs to be rebased)17:26
*** sayan has joined #openstack-horizon17:27
*** ZZelle_ has joined #openstack-horizon17:31
*** dulek has joined #openstack-horizon17:41
*** david-lyle has quit IRC17:44
*** amcrn has joined #openstack-horizon17:50
*** sambetts has quit IRC17:52
*** david-lyle has joined #openstack-horizon17:54
*** aix has quit IRC17:55
*** jcoufal has quit IRC17:56
*** dulek has quit IRC17:58
*** colinmcnamara has joined #openstack-horizon18:00
*** sigmavirus24_awa is now known as sigmavirus2418:00
*** cedrics has joined #openstack-horizon18:02
*** jacalcat has joined #openstack-horizon18:05
*** harlowja has quit IRC18:05
*** harlowja_ has joined #openstack-horizon18:05
*** cedrics has quit IRC18:13
*** jacalcat has quit IRC18:19
*** tosky has quit IRC18:19
*** ArcTanSusan has quit IRC18:26
*** clu_ has joined #openstack-horizon18:30
*** david-lyle has quit IRC18:33
*** lcheng has quit IRC18:33
*** lcheng has joined #openstack-horizon18:34
*** david-lyle has joined #openstack-horizon18:34
*** e0ne has quit IRC18:35
*** e0ne has joined #openstack-horizon18:35
*** Drago1 has quit IRC18:37
*** ArthurBerezin has quit IRC18:39
rbertramamotoki, doug-fish: the changes you requested for datepicker locale are ready; see if I got what you wanted: https://review.openstack.org/#/c/120242/18:40
*** lcheng_ has joined #openstack-horizon18:40
*** david-lyle has quit IRC18:40
*** david-lyle has joined #openstack-horizon18:41
*** lcheng has quit IRC18:41
*** lcheng_ has quit IRC18:42
*** lcheng_ has joined #openstack-horizon18:43
*** colinmcnamara has quit IRC18:47
*** kmartin has quit IRC18:47
*** sbfox has joined #openstack-horizon18:49
*** lcheng has joined #openstack-horizon18:51
*** david-lyle has quit IRC18:51
*** lcheng_ has quit IRC18:53
*** openstack has joined #openstack-horizon18:55
*** david-lyle has joined #openstack-horizon18:55
*** cedrics has joined #openstack-horizon19:02
*** MaxV has joined #openstack-horizon19:08
*** colinmcnamara has joined #openstack-horizon19:10
*** rwsu has joined #openstack-horizon19:10
*** jacalcat has joined #openstack-horizon19:12
*** cedrics has quit IRC19:13
*** lcheng has quit IRC19:22
*** david-lyle has quit IRC19:29
*** david-lyle has joined #openstack-horizon19:30
*** jtomasek has quit IRC19:32
*** MaxV has quit IRC19:35
*** echevemaster has quit IRC19:37
*** clu_ has quit IRC19:37
*** ArcTanSusan has quit IRC19:41
*** tnovacik has quit IRC19:45
*** MaxV has joined #openstack-horizon19:46
*** MaxV has quit IRC19:48
*** cedrics has joined #openstack-horizon19:49
*** ArcTanSusan has joined #openstack-horizon19:49
*** jtomasek has joined #openstack-horizon19:49
*** cedricss has joined #openstack-horizon19:54
*** sbfox has quit IRC19:54
*** nlahouti has quit IRC19:55
*** cedrics has quit IRC19:58
*** cedrics has joined #openstack-horizon20:01
*** cedricss has quit IRC20:03
*** lcheng has joined #openstack-horizon20:03
*** bpokorny has joined #openstack-horizon20:07
*** echevemaster has joined #openstack-horizon20:07
*** e0ne has quit IRC20:09
*** vijendar has quit IRC20:11
*** sbfox has joined #openstack-horizon20:11
*** cedrics has quit IRC20:13
*** MaxV has joined #openstack-horizon20:14
*** cedrics has joined #openstack-horizon20:20
*** clu_ has joined #openstack-horizon20:23
*** cedrics has quit IRC20:30
*** ArcTanSusan has quit IRC20:31
*** peristeri has quit IRC20:38
*** david-lyle has quit IRC20:49
clu_Hey all, should it be called "Extra Specs" or "Metadata" in the Flavors table?  (Nova docs say "Extra Specs")20:50
*** david-lyle has joined #openstack-horizon20:51
*** ArcTanSusan has joined #openstack-horizon20:53
*** colinmcnamara has quit IRC20:54
*** lcheng has quit IRC20:57
*** nlahouti has joined #openstack-horizon20:57
*** sayali_ has quit IRC21:02
*** sbfox has quit IRC21:02
*** sbfox has joined #openstack-horizon21:02
*** lcheng has joined #openstack-horizon21:04
ericpetersonextra specs sounds better to me, in that flavors are essentially specs.  unless you are talking about "this flavor was created on 5/14/2014"  then it is metadata21:07
* ericpeterson not sure if he know what he is talking about21:07
*** radez is now known as radez_g0n321:14
*** jtomasek has quit IRC21:19
*** cedrics has joined #openstack-horizon21:20
ericpetersondavid-lyle:  tqtran and I would like to rework some of the angular dynamic table view stuff, and maybe cover that in tomorrow21:26
ericpetersons irc meeting21:26
*** asahlin has quit IRC21:26
ericpetersonnewlines are hard to master21:26
*** jacalcat has quit IRC21:27
tqtranhaha21:28
*** jasondotstar has quit IRC21:28
david-lyleericpeterson: sure21:29
*** cedrics has quit IRC21:31
*** MaxV has quit IRC21:31
gary-smith_clu_: nova flavor-list calls them "extra specs", so that seems to be the correct term21:32
gary-smith_and some objects, like volumes, have both metadata and extra specs21:32
gary-smith_well, actually, the volumes have metadata, and volume types have extra specs21:33
*** amcrn has quit IRC21:36
*** med_ has joined #openstack-horizon21:36
*** rbertram has quit IRC21:37
*** denis_makogon has quit IRC21:38
clu_thanks gary-smith!21:43
*** cedrics has joined #openstack-horizon21:49
*** harlowja_ has quit IRC21:49
*** harlowja has joined #openstack-horizon21:49
*** crobertsrh is now known as _crobertsrh21:52
*** cedrics has quit IRC21:58
*** gokrokve has joined #openstack-horizon21:58
*** amcrn has joined #openstack-horizon21:58
clu_thanks ericpeterson!21:58
*** ericpeterson has quit IRC21:59
*** rodrigods_ has joined #openstack-horizon21:59
*** rebelagentm has quit IRC22:01
*** sayan has quit IRC22:09
gary-smith_doug-fish: Did you intend to create two bugs (1372661/2) ?22:10
gary-smith_looks like the same thing twice22:10
doug-fishnope, I did not22:10
gary-smith_do you want to mark one as a dup?22:11
doug-fishyep.  Will do.22:11
gary-smith_thanks22:11
doug-fishthank you22:11
*** sigmavirus24 is now known as sigmavirus24_awa22:13
*** rodrigods_ has quit IRC22:29
*** lcheng has quit IRC22:37
*** lcheng has joined #openstack-horizon22:38
*** cedrics has joined #openstack-horizon22:49
*** neelashah has quit IRC22:53
*** sbfox has quit IRC22:53
*** sbfox has joined #openstack-horizon22:54
*** cedrics has quit IRC22:57
*** neillc has joined #openstack-horizon22:57
*** amcrn has quit IRC23:00
*** colinmcnamara has joined #openstack-horizon23:05
*** KurtMartin has joined #openstack-horizon23:05
*** KurtMartin is now known as kumartin23:06
*** lcheng_ has joined #openstack-horizon23:06
*** lcheng has quit IRC23:06
*** jpich has joined #openstack-horizon23:10
*** hhuang has quit IRC23:22
*** ZZelle_ has quit IRC23:23
*** gary-smith has joined #openstack-horizon23:33
*** kumartin is now known as kmartin_away23:35
*** cedrics has joined #openstack-horizon23:49
*** colinmcnamara has quit IRC23:49
*** gokrokve has quit IRC23:51
*** ArcTanSusan has quit IRC23:54
*** cedrics has quit IRC23:59
*** ArcTanSusan has joined #openstack-horizon23:59

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