Wednesday, 2021-07-14

zigoHi there!08:40
zigoIn openstack_dashboard/dashboards/identity/users/tabs.py (last line of the file) we have:08:40
zigotabs = (OverviewTab, RoleAssignmentsTab, GroupsTab,)08:40
zigoUnfortunate, this works only for admins, so we should really do:08:40
zigotabs = (OverviewTab, )08:40
zigofor non-admins. How can I add the check there to see if the user is logged as admin?08:40
zigoamotoki: ^08:40
vishalmanchandazigo: Hi code looks fine to me, right now RoleAssignmentsTab and GroupsTab will only display for admin user09:07
vishalmanchandazigo: because of policy rules defined for both tabs.09:07
vishalmanchandahttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/tabs.py#L9209:07
vishalmanchandahttps://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/identity/users/tabs.py#L13909:08
zigovishalmanchanda: That's not what I experienced (Victoria deployment).09:08
vishalmanchandazigo: hmm a backport patch is up https://review.opendev.org/c/openstack/horizon/+/783547 but not merged yet.09:10
zigoI knew talking about it on IRC was a good idea !09:12
zigovishalmanchanda: Thanks a lot, I'll add the patch to the Bullseye package and ask for a release team exception !09:12
vishalmanchandae0ne: rdopiera : Could you take a look https://review.opendev.org/c/openstack/horizon/+/78354709:13
vishalmanchanda^^09:13
opendevreviewMerged openstack/horizon stable/victoria: Don't load user role assignment or groups tabs for non-admins  https://review.opendev.org/c/openstack/horizon/+/78354711:48
vishalmanchanda#startmeeting horizon15:00
opendevmeetMeeting started Wed Jul 14 15:00:31 2021 UTC and is due to finish in 60 minutes.  The chair is vishalmanchanda. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'horizon'15:00
vishalmanchandahi anyone around for horizon meeting?15:01
nitishhi15:02
amotokihi15:03
vishalmanchandae0ne: rdopiera tmazur amotoki : around?15:03
tmazurHi!15:03
tmazurYes15:03
vishalmanchandaLet's wait for 2 more minutes if more people joins us.15:04
vishalmanchandaok Let's start.15:05
vishalmanchanda#topic Notices15:05
vishalmanchandaThis week is Xena-2 milestone.15:06
vishalmanchandaXena Schedule https://releases.openstack.org/xena/schedule.html15:06
vishalmanchandabut nothing special for horizon.15:06
vishalmanchandanext announcement is about Yoga Virtual PTG.15:07
vishalmanchandaI have created a etherpad to collect topics for yoga ptg discussion.15:08
vishalmanchanda#link https://etherpad.opendev.org/p/horizon-yoga-ptg15:08
vishalmanchandaPlease start adding your topics which you want to discuss during the ptg.15:08
vishalmanchandaFor the time slots I have created a poll please vote asap because we have to book the room before July 21.15:09
vishalmanchanda#link https://doodle.com/poll/7vxwprypskrhidhq?utm_source=poll&utm_medium=link15:09
vishalmanchandaI have added most of time slot which we used during past Virtual PTG.15:10
vishalmanchandaI am not sure about how much we needed for ptg discussion atm but I think 4-5 hours are more than enough for us.15:11
vishalmanchandaI have also kept some extra time slots in pole and we can unbook the room it if not required at that time.15:12
vishalmanchandae0ne: amotoki rdopiera :^^ please vote on doodle once you see.15:12
vishalmanchandaanyway I will send a mail about it on open-discuss.15:13
vishalmanchandanext announcement is about moving stable/queen to EOL15:13
amotokiI cannot decide preferred timeslots as I don't have a priority on horizon sessions perhaps. it would be only up to my timezone and cannot vote more.15:14
vishalmanchandaamotoki: fine.15:14
amotokimy schedule would be decided considering session conflicts with others.15:14
rosmaita(please forgive this interruption, but please ping me when you get to open discussion ... thanks!)15:15
vishalmanchandaamotoki: yeah15:15
vishalmanchandarosmaita: sure.15:15
vishalmanchandahttps://review.opendev.org/c/openstack/releases/+/79954315:15
vishalmanchandaThere is only one issue in moving horizon stable/queen to EOL i.e. manial-ui stable/queens uses horizon stable/queens django template.15:17
amotokivishalmanchanda: what about points raised by elodilles?15:18
vishalmanchandabut I think manila team also thinking about moving manial-ui stable/queens to EOL(current status EM) which they will discuss in tomorrow's weekly meeting.15:18
vishalmanchandaamotoki: I will follow up with manila team about this.15:18
vishalmanchandathat's all announcement from my side for today.15:19
vishalmanchandaIf anyone has other announcements to make please go ahead.15:19
nitishI was working on QoS CRUD operations from Horizon15:20
nitishmade a base commit15:20
nitishhttps://review.opendev.org/c/openstack/horizon/+/79946115:20
vishalmanchandanitish: we can discuss it in the end during open-discussion15:20
nitishok15:20
vishalmanchandanitish: please wait, thanks.15:20
vishalmanchandaok moving to next topic15:21
vishalmanchanda#topic retire django_openstack_auth15:21
vishalmanchanda``django_openstack_auth`` code was merged into the main horizon repository during the queens release.15:22
vishalmanchandaIt is already deprecated and I have pushed a series of patches to retire it.15:22
vishalmanchandaPlease take a look once you have time and Let me know if I missed any steps for the retirement process.15:23
vishalmanchanda#link https://review.opendev.org/q/topic:%22retire-django-openstack-auth%22+(status:open%20OR%20status:merged)15:23
amotokiregarding tagging pike-eol, https://review.opendev.org/c/openstack/releases/+/800493 has landed and pike-eol tag was created but stable/pike branch was not deleted yet.15:24
amotokithe post job failed https://zuul.opendev.org/t/openstack/build/aac7e7108b26477e9f30542b64ea869415:24
amotokiI am not sure this failuree is related to that stalbe/pike branch still exists.15:25
vishalmanchandabut If I am correct then release going to delete stable/pike branch after https://review.opendev.org/c/openstack/releases/+/800493  merged.15:26
vishalmanchandaI am not sure but it is what I observed so far.15:26
amotokithat is what we expect but the script failed due to the absense of .gitreview in the master branch due to the master branch retirement.15:27
vishalmanchandaamotoki: hmm I see.15:27
vishalmanchandaI will discuss with the release team how to proceed further.15:28
vishalmanchandamoving to next topic15:30
vishalmanchanda#topic open-discussion15:30
vishalmanchandanitish: please go ahead.15:30
nitishI was working on QoS CRUD operations from Horizon15:31
nitishand made a commit for enablin qos panel and creating qos policy15:31
nitishcommit link : https://review.opendev.org/c/openstack/horizon/+/79946115:32
nitishI want to know what are the expectations on this feature 15:33
vishalmanchandanitish: thanks for working on that.15:33
vishalmanchandanitish: I will try to review it by end of this week and let you know.15:33
nitishok15:34
amotokinitish: what do you mean by "the expectations"?15:34
amotokinitish: you are working on the feature so I wonder you are more familiar with the feature.15:34
amotoki(while I know the feature as I am working on neutron too)15:35
nitishI was working on this feature by going through the openstack neutron qos docs15:36
amotokinot now?15:37
vishalmanchandarosmaita: hi, ping.15:39
rosmaitahello15:40
rosmaitai have a quick question15:40
rosmaitawe are removing v2 support from the cinderclient15:40
rosmaita#link https://review.opendev.org/c/openstack/python-cinderclient/+/79295915:40
rosmaitaand sorry, that patch had passed earlier, but now is failing tempest15:40
rosmaitaturns out that horizon is still using v2 a bit15:41
rosmaitain this place:15:41
rosmaitahttps://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/cinder.py15:41
rosmaitaat lines 3115:41
rosmaitaand then 59-6815:41
rosmaitai'm working on a patch15:41
rosmaitabut my question is,15:41
rosmaitafor xena horizon, you will be packaged with xena cinderclient, right?15:42
rosmaitaso horizon won't need to check anymore to see which client is available15:42
rosmaitaat lines 59-6815:42
rosmaitaor, i could put line 31 in a similar kind of try/catch block15:43
rosmaitaif you can't import v2, get list-extensions from v315:43
rosmaitawas just wondering what you would suggest15:43
amotokigenerally speaking, horizon support should be along with corresponding back-end services from a same release,15:44
amotokiso yes we need to clean up cinder v2 support.15:44
rosmaitaok, so if i put up a patch that only uses v3, that would be OK with you?15:44
amotokii am fine.15:45
vishalmanchandarosmaita: +1.15:45
rosmaitathe only other place i see cinderclient v2 is in some tests, and those should convert to v3 fine15:45
rosmaitahttps://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/test/test_data/cinder_data.py15:45
rosmaitai will get a patch up within the next hour15:46
amotokiwe also need to clean up attributes only available in cinder v2 API.15:46
amotokifor example, consistencygroup_id at https://opendev.org/openstack/horizon/src/branch/master/openstack_dashboard/api/cinder.py#L9015:46
rosmaitaamotoki: hopefully there won't be any15:46
rosmaitai will check though15:46
amotokiit can be cleanup separately though.15:46
rosmaitaversion 3.0 is supposed to be exactly the same as v215:47
rosmaitabut we will see if that is true!15:47
rosmaitathanks, i will ping you here when the patch is ready15:47
amotokiah, consistency group feature is available in v3 while it is deprecated(?) in favor of the group feature.15:47
rosmaitaamotoki: yes, we never got rid of it15:48
rosmaitaat least not in the API15:48
rosmaitahopefully , the client classes are consistent with that15:48
rosmaita(it happened before i started working on cinder)15:48
amotokianyway the first step is to remove the dependency on cinderclient v2 code. I will help the effort.15:49
rosmaitaamotoki: ty, i will get a patch up, so if you can review quickly that will be awesome15:49
rosmaitaappreciate your help!15:49
vishalmanchandarosmaita: thanks for bringing this topic, I saw your mail about v2 removal but I thought we didn't use the v2 version.15:49
rosmaitaand sorry i didn't figure out until today that this was a problem!15:49
amotokirosmaita: no problem15:50
vishalmanchandarosmaita: just for curiosity could please paste here failed tempest patch link. 15:50
rosmaitasure15:50
rosmaitahttps://zuul.opendev.org/t/openstack/build/e048e80cd52c4cb69a84e3a728ddf19d15:50
rosmaitait's in tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario15:51
vishalmanchandarosmaita: thanks.15:51
rosmaitaright when tempest tries to log in to the dashboard15:51
rosmaitagood thing it's there!15:52
vishalmanchandarosmaita: nice we added it there during the last release.15:52
amotokiit is a good side-effect which I did not expect when we merged tempest-horizon into horizon :)15:52
vishalmanchandahaha🙂)15:52
amotokiotherwise perhaps the horizon UT in the requirements repo after cinderclient release will detect this failure.15:53
amotokiearly detection would be much nicer :)15:54
vishalmanchandaok anyone has any other topic to discuss otherwise we can end this meeting.15:54
vishalmanchandathanks everyone for joining, see you next week!15:56
vishalmanchandatc.15:56
vishalmanchanda#endmeeting15:57
opendevmeetMeeting ended Wed Jul 14 15:57:10 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:57
opendevmeetMinutes:        https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-07-14-15.00.html15:57
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-07-14-15.00.txt15:57
opendevmeetLog:            https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-07-14-15.00.log.html15:57
amotokivishalmanchanda: I confirmed the release-post job failure in the #-releases channel. the release manager (ie. the release team) run the script to delete eol'ed branch manually, so let's wait for a while.16:04
vishalmanchandaamotoki: ok thanks for the info.16:04
vishalmanchandatmazur: nitish:^^ I have update the doodle poll time-slots, Could please revote. 16:13
tmazurvishalmanchanda: thanks, done!16:15
opendevreviewBrian Rosmaita proposed openstack/horizon master: Use cinderclient v3 classes  https://review.opendev.org/c/openstack/horizon/+/80081416:36
rosmaitaamotoki: looks like you were right about v2-only attributes, looking at that now17:32
rosmaitaok, looks like i need to make the horizon patch dependent on the cinderclient patch, was hoping i could keep them independent17:35
opendevreviewBrian Rosmaita proposed openstack/horizon master: Use cinderclient v3 classes  https://review.opendev.org/c/openstack/horizon/+/80081417:36
amotokirosmaita: thanks for the patch. It drops v2 support from horizon so it is nice to have a release note on this. We also need to bump the major version of horizon.17:40
rosmaitanp, i will add a release note17:41
amotokirosmaita: thanks17:43
amotokivishalmanchanda: stable/pike of d-o-a has been removed. you can move the retirement process forward now.17:44
vishalmanchandaamotoki: ack.17:45
opendevreviewBrian Rosmaita proposed openstack/horizon master: Use cinderclient v3 classes  https://review.opendev.org/c/openstack/horizon/+/80081418:26
rosmaitaamotoki: let me know what you think of the release note ... in the meantime, i figured out why all the tests are still failing, namely, horizon uses a released version of python-cinderclient18:27
rosmaitai think if i make the cinderclient patch dependent on this one, though, we should see the tempest tests pass in cinderclient18:27
rosmaitaworking on that now18:27

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!