15:00:16 #startmeeting horizon 15:00:17 Meeting started Wed Apr 10 15:00:16 2019 UTC and is due to finish in 60 minutes. The chair is e0ne. Information about MeetBot at http://wiki.debian.org/MeetBot. 15:00:18 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 15:00:20 The meeting name has been set to 'horizon' 15:01:03 o/ 15:01:07 o/ 15:01:11 hi all 15:02:08 lets's start with some notices. maybe Akihiro will join us 15:02:15 amotoki: ^^ 15:02:32 #topic Notices 15:02:52 OpenStack Stein is released today! 15:02:55 #link https://review.openstack.org/#/c/650362/ 15:03:18 \o/ 15:03:22 congratulations to everyone and thanks for your contributions! 15:03:55 hi 15:04:27 also I've just added vishalmanchanda to the horizon-core team in gerrit! 15:04:41 welcome vishalmanchanda 15:04:48 vishalmanchanda: I hope to see more your reviews now :) 15:05:04 dklyle: e0ne : Thanks... 15:05:20 e0ne: yeah sure. 15:05:24 :) 15:05:24 vishalmanchanda: welcome 15:05:36 amotoki: thanks :) 15:06:05 I'm going to check if we need to release stable/* branches too and propose new stable releases if needed later this week 15:07:37 I hope we'll updates our priorities etherpad https://etherpad.openstack.org/p/horizon-release-priorities after the PTG discussions 15:07:53 that's all updates from me this week 15:08:01 it is worth releasing pike before entering EM. 15:08:19 amotoki: +1 15:09:09 there seems a lot of confusion around extended maintenance phase (EM), especially it is a decision of individiaul project or global one. I have no clear answer now. 15:10:14 perhaps entering EM is global and marking EOL is a project team decision. 15:10:27 amotoki: we'll have this topic at PTG. 15:10:43 amotoki: I'll ask this question to our release team 15:12:21 #topic PTG planning 15:12:29 here is our therpad: 15:12:31 #link https://etherpad.openstack.org/p/horizon-train-ptg 15:13:06 we'll have a half of day on Thursday 15:13:16 Team Photo: 11:30-11:40 15:13:39 place for team photo will be announced later 15:14:16 #topic Open Discussion 15:14:52 I would like to hear your opinions on https://review.openstack.org/#/c/649379/ 15:15:06 I have no strong opinion on this and will remove my -1 from now. 15:16:34 * e0ne hates DST 15:17:44 I prefer to have a current local timezone everywhere 15:18:18 another option is UTC, but it's not a user-friendly way 15:18:44 hopefully folks with experiences on DST can comment it. 15:20:12 I think that technically DST is a separate timezone 15:20:26 amotoki: see my comment above :) 15:20:58 for example, you have CET and CEST 15:21:52 and each of them has its own offset, which doesn't change 15:22:42 rdopiera: good point. can we show timezones name in a such way? 15:22:58 a timezone is determined based on a region like US/Pacific and then converted into a timezone like PST and PDT. 15:23:29 I think what users image is a region like US/Pacific rather than PST/PDT. 15:24:42 e0ne: rdopiera: do you say it is better to show both timezones (standard and daylight saving timezones)? 15:25:00 I haven't got your point. 15:25:30 amotoki: if we let users pick a region, and not a timezone, then it would be probably good to show them all timezones in that region 15:26:07 otoh, I think that showing only one timezone is a kind of standard 15:26:14 wait, there is an ISO standard for this 15:27:21 do you mean ISO 3166 and pytz https://pypi.org/project/pytz/ ? 15:27:54 ISO 3166 is about country code, so it might be different. 15:28:53 https://en.wikipedia.org/wiki/ISO_8601 - it proposes to use UTC offsets 15:31:02 yeah, it is what we use now 15:31:23 the question now is which is better standard time or daylight saving time. 15:32:15 looks like iso wants to use offsets so it's unambiguous 15:32:31 IMO, I prefer DST because it makes a correct time selection easier 15:33:05 can we check what is the de facto usage on popular websites? 15:33:21 or, in, say, timezone selection box in Gnome? 15:33:29 rdopiera: good idea 15:34:46 google calendar: (GMT+03:00) Eastern European Time - Kiev 15:35:13 but it doesn't count for DST :( 15:38:17 I am intending to have a conclusion here. Let's add comments on the review https://review.openstack.org/#/c/649379/ 15:39:13 amotoki: +1 15:41:45 I would like to briefly discuss https://bugs.launchpad.net/horizon/+bug/1793488 15:41:46 Launchpad bug 1793488 in OpenStack Dashboard (Horizon) "Horizon logs a user out when created keypair is over quota" [Medium,In progress] - Assigned to CosteijnK (costeijn-kuhlmann) 15:42:12 the same bug could be valid for other resources 15:42:27 we redirect to the login page on 403 15:42:52 but API guidelines recommends to use 404 code if quota exceeded 15:43:09 so not our bug? 15:43:23 rdopiera: actually, it's horizon bug 15:43:32 as the current situation, different projects return different error code for over quota. 15:43:38 "403 Quota exceeded" is a recommended response 15:43:51 that makes things tricky 15:44:02 keystone returns 403, nova returns 413? and neutron returns ??? 15:44:16 404 is not the right value (as it means NotFound) 15:44:36 we need to re-think our logic to process 403 errors 15:45:15 I think we discussed that once already 15:45:46 403 is Forbidden. it sounds too much to kick a user out. 15:45:56 rdopiera: do you remember our conclusion? 15:45:58 I think we decided to display a page with an error, and a link to the login page, instead of redirecting to the login page 15:46:23 because that will still display the menu, and users can just go back 15:46:38 no menu on the login screen 15:46:42 so users feel lost 15:46:44 rdopiera: I remember it 15:46:45 sounds reasonable 15:47:15 but I may remember wrong 15:47:25 (that was the option I advocated for) 15:48:07 but it was a different 15:48:10 but it was a different case 15:48:36 but I think it would work in this case, as long as we display the error message 15:48:39 that solution was implemented if user has no permissions for some panel 15:48:46 IMO it sounds more reasonable to show an error message which suggests to switch users when 403 is returned rather than kicking out the user. 15:48:54 https://github.com/openstack/api-sig/blob/ff8fbbf3a9c2b8f6f96b6df0ddeb3865b8177274/guidelines/http/response-codes.rst#failure-code-clarifications 15:48:57 #link https://github.com/openstack/api-sig/blob/ff8fbbf3a9c2b8f6f96b6df0ddeb3865b8177274/guidelines/http/response-codes.rst#failure-code-clarifications 15:49:07 If the request results in the OpenStack user exceeding his or her quota, the return code should be 403 Forbidden. 15:49:43 I prefer to not show login screen or link to login if quota exceeded 15:49:49 it's really bad UX 15:50:18 +1 15:51:19 that's why I propose to review our logic for 403 errors 15:51:57 it's something we need to thinks, because the fix is not trivial 15:54:53 is there a way we can know it's quota and not something else? 15:55:18 rdopiera: AFAIR, the only way to do it is to check error message:( 15:56:12 at least, python-novaclient doesn't raise any specific exception for keypair quotas 15:59:10 in case of neutronclient, OverQuota exception is returned 15:59:21 amotoki: it's good:) 15:59:30 as the response message contains the root cause like {"NeutronError": {"message": "Quota exceeded for resources: ['router'].", "type": "OverQuota", "detail": ""}} 15:59:32 we're reaching time limit 15:59:43 but 409 is returned.... 15:59:52 we can continue our discussion in #openstack-horrizon channel 16:00:02 o/ 16:00:02 thanks everybody for the participation 16:00:05 good night 16:00:10 #endmeeting