15:03:30 #startmeeting horizon 15:03:31 Meeting started Wed Jan 27 15:03:30 2021 UTC and is due to finish in 60 minutes. The chair is e0ne. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:03:32 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:03:34 The meeting name has been set to 'horizon' 15:04:24 hi all 15:04:27 o/ 15:04:30 o/ 15:05:02 hi 15:05:18 hi 15:06:27 looks like we can start 15:07:13 #topic Notices 15:07:56 #link https://releases.openstack.org/wallaby/schedule.html 15:08:25 just a kindly reminder that we've got about 1.5 months until feature freeze 15:09:36 that's all updates from my side this week 15:10:36 I have three topics to share but they are kind of progres reports, so I am not sure this is the right topic. 15:10:59 #chair amotoki 15:11:00 Current chairs: amotoki e0ne 15:11:13 amotoki: feel free to change a topic:) 15:11:15 unfortunately, I wasn't very active in community during last weeks. I hope, I'll increase my activities soon 15:11:21 enriquetaso: thanks 15:11:40 btw, here is our etherpad with topics to discuss: https://etherpad.opendev.org/p/horizon-release-priorities 15:12:10 yeah, I forgot to add them this week :( 15:12:55 does anyone have other topics to discuss? I think we can cover one by one. my topics are expected to be short. 15:13:21 rdopiera: for example, would you like to continue the policy stuff? 15:13:42 amotoki: we are still thinking about how to handle that 15:13:52 rdopiera: okay. 15:14:02 let me cover my topics first 15:14:15 #topic merge tempest-horizon into horizon 15:14:38 gmann and I worked on the merge of tempest-horizon into horizon last week and we had good progress. 15:14:45 https://review.opendev.org/q/topic:%22merge-horizon-test%22+(status:open%20OR%20status:merged) 15:15:05 the test in temepst-horizon has been merged into tempest. 15:15:22 cool 15:15:28 I proposed horizon side patches which consume tempest in our gate instead of tempest-hroizon 15:16:12 we need to update zuul job configuration from stein to master. 15:16:31 can i ask something? 15:16:37 when you set this topic for a moment I thought you were merging it back into the horizon repository, not the tempest repository 15:16:39 regarding this 15:16:47 rocky and earilier already use specific version of tempest. 15:16:53 ikanias: go ahead 15:17:16 we just got the horizon-tempest test to downstream 15:17:25 do we need to change anything now? 15:17:27 rdopiera: sorry. into "tempest" .... 15:17:59 ikanias: just a moment. i will check the new test name. 15:18:15 ok 15:19:10 the new test name is tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps 15:19:23 thanks 15:19:47 and you may need to set horizon = true in tempest.conf https://zuul.opendev.org/t/openstack/build/6865f69c8b6b475a9fec054b93260ce9/log/controller/logs/tempest_conf.txt#105 15:19:56 I am not sure we set it before. 15:20:13 ok i will do that. thanks a lot 15:20:31 ikanias: feel free to ask me or #-qa if you have questions on this migration. 15:21:01 cool 15:21:40 moving on 15:21:47 #topic jquery upgrade 15:22:30 as discussed in the last meeting we updated the min version of xstatic-jquery to 1.12.x https://review.opendev.org/c/openstack/horizon/+/771577 15:22:46 and xstatic-jquery-migrate upgrade patch was merged 15:23:17 the release patch is under review https://review.opendev.org/c/openstack/releases/+/771712 15:23:45 e0ne: hopefully you can put +1 to this patch. double ack from ptl and release liaison would be nice. 15:23:55 do you know who else can +2 this? 15:24:16 the release mngment team can +2 15:24:52 amotoki: sure, +1'ed 15:25:42 perhaps we can ping hberaud 15:26:11 that's the update from my side 15:26:18 on this topic 15:26:25 smcginnis: could you please take a look on https://review.opendev.org/c/openstack/releases/+/771712 once you have a time> 15:26:27 ? 15:28:55 can we move on? 15:29:59 yes 15:30:00 okay, let's move to the next topic 15:30:03 #topic renaming Chinese locales 15:30:52 we discussed renaming Chinese locales in the PTG. I discussed a plan with Ian and Andreas. 15:31:29 It looks like we have a consensus on renaming django related locales to the new locales (zh_Hans/Hant) 15:31:41 and I am preparing an email on this. 15:32:03 The current plan is to handle it in the translation script. 15:32:52 amotoki: will we rename locales in the documentation too? 15:33:12 e0ne: at the moment, locales in docs will be kept as-is. 15:33:18 ok 15:33:26 it is because we have docs in other repos like nova 15:33:33 I hope, it won't confuse users and operators 15:34:13 yeah, it was rainsed in the internal discussion. 15:34:34 we cannot avoid some level of confusions. 15:35:07 zh-CN/TW for doc and zh-Hans/Hant for django apps leads to confusion for hroizon (and horizon plugin) developers. 15:35:28 but we can avoid confusions in documentation readers and translators. 15:35:52 fair enough 15:35:55 so atm I think it is a good compromise. 15:36:08 will with renaming be applied for plugins too? 15:36:18 yes 15:36:30 I am planing to handle renaming in the infra script 15:36:44 so that we can propose a migration patch at once 15:36:54 in a such case, it sounds good to me 15:39:03 that's my current plan. anyway I will send a plan to the list. 15:39:33 that's all three topics from me. 15:41:18 amotoki: thanks for raising these topics 15:42:11 yw 15:42:26 #topic Open Discussions 15:42:26 do we have anything more to discuss today? 15:43:29 nothing much from my side. 15:43:40 rdopiera: regarding the policy stuff, you mentioned you are focusing on "reader" role last week. 15:43:54 but I am not sure how we can supportr the system reader without the system scope. 15:44:15 I wonder what is your rough thought. 15:44:23 amotoki: same way we support admin currently 15:44:54 the main question for us is to figure out when to consider the user an admin and when not 15:45:14 right now we just look at the hardcoded role name 15:45:47 which won't work with the new "readonly_admin" role, or whatever they call it 15:46:46 ah... I thought "role:reader and project_id:%(project_id)" (project reader) and "role:reader and system_scope:all" (system reader). 15:47:02 so perhaps it might be a bit different issue 15:47:08 so we want two read-only roles, user and admin 15:47:22 the read-only user pretty much works in horizon already 15:47:40 you just make a custom role, and you see most views, just without the action buttons 15:48:33 my understanding is same. read-only user should work 15:49:01 (there might be a few exceptions though...) 15:49:45 the firs issue we identified with a read-only admin is that right now there is only one role name hardcoded to act as admin, and any other role, with a different name, will not act the same way, even if it has the same policies 15:50:32 for some views we can solve this by checking for a specific policy, like the permission to edit flavors, instead of checking if the user is an admin 15:50:46 but for other views, like admin/instances, that doesn't work 15:51:22 openstack_auth/utils.py get_admin_roles() should work but perhaps cleanups in the past were not enough. 15:52:34 oh, I see there is simply a setting for this, OPENSTACK_KEYSTONE_ADMIN_ROLES 15:52:42 I was thinking about solving it this way 15:52:49 that makes things easier 15:52:58 we just need to update the checks on the panels then 15:53:06 I might be missing something as OPENSTACK_KEYSTONE_ADMIN_ROLES was introducd before we implemented RBAC support in horizon.... 15:53:18 but the problem you are concerned about seems to be something different? 15:54:24 amotoki: can you elaborate on the system scope token problem? I've heard about it several times in passing, but I never understood what the issue is exactly 15:55:05 I know that we are automatically promoting the user scope token to system scope in horizon sometimes, but I'm not sure why this is a problem 15:56:06 I see two problems at least. 15:56:13 the one is when we should use the system scoped token. 15:56:49 when the admin role and the system scoped token are mixedly used, how and when should we swtich tokens? 15:56:56 * rdopiera thinks in the admin/* panels 15:57:21 but not all projects support the system scoped token 15:57:27 how can we handle th emixed case? 15:57:56 the api/* files will know, depending on the service? 15:58:34 it is a possible option 15:58:40 or do you mean "projects" as in tenants? 15:59:07 no, I mean back-end service projects like nova. 15:59:29 so for me that's obvious, the api lib should know which token to use 16:00:07 but I see it can get messy quick 16:00:24 I hope we won't need to touch it in this case, but if we do, we will bring it up 16:00:50 thanks for the explanation 16:01:16 thanks. 16:01:51 we're out of time. let's move to #openstack-horizon channel 16:01:59 rdopiera: I understand your main problem is htat horizon does not handle multple admin-ness roles properly (admin and readonly-admin) :) 16:02:02 thanks everybody for your contributions 16:02:10 #endmeeting