Wednesday, 2022-05-25

amotokivishalmanchanda: hi, do you have any information on my question in https://review.opendev.org/c/openstack/horizon/+/791532 ? you are the original author of the volume backup panel, so you may know something.09:59
vishalmanchandaamotoki: looking.10:02
vishalmanchandaamotoki: whoami-rajat replied to your queries, please take a look.10:24
vishalmanchandawhoami-rajat: thanks:)10:24
whoami-rajatnp10:30
amotokivishalmanchanda: whoami-rajat: thanks for the info. 10:31
amotokiI wonder horizon needs to provide a configuration option to mirror cinder filter configuration. 10:32
amotokiotherwise, users cannot filter resources if such field is not supported. for example, what happens 'size' is disabled?10:32
amotokivishalmanchanda: any thought on this?10:32
whoami-rajatamotoki, can we query list-filters first from horizon to know the enabled filters and only use those?10:44
vishalmanchandaamotoki: is it even possible to disable 'size' field for backup?10:45
amotokiwhoami-rajat: yes, it can. perhaps we need to add a common logic to handle cinder generic filter support. the discussion started from backup filter support.10:46
whoami-rajatyes, that sounds good, the common logic can be used for all GET resources APIs10:48
amotokivishalmanchanda: do you talk about horizon side? if so, a subclass of horizon.tables.actions.FilterAction can support it. the subclass for cinder can adjust filter_choices dynamically based on the result of list-filters call.10:51
vishalmanchandaamotoki: ok, I will take a look10:54
vishalmanchanda#startmeeting horizon15:00
opendevmeetMeeting started Wed May 25 15:00:13 2022 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
tmazuro/15:00
vishalmanchandahello everyone15:01
rdopierao/15:01
vishalmanchandaok let's start the meeting15:02
vishalmanchandaagenda of meeting can be found here https://etherpad.opendev.org/p/horizon-release-priorities#L3915:02
vishalmanchanda#topic Notices15:02
vishalmanchandaA casual reminder about schedule. We passed Zed-1 milestone last week.15:03
vishalmanchandaThis week is R-19 week.15:03
vishalmanchandaFor more info about schedule please refer https://releases.openstack.org/zed/schedule.html15:03
vishalmanchandaI have no other announcements to make, if anyone have any announcement to make. please go ahead15:04
vishalmanchandamoving to next topic15:05
vishalmanchanda#topic Release priorities15:05
vishalmanchandafew  updates from my side on this topic.15:06
vishalmanchandatmazur: I am waiting for your review on deprecation patch https://review.opendev.org/c/openstack/horizon/+/83833315:07
vishalmanchandaCould take a look asap, so can merge this asap.15:07
tmazurI'll review it asap15:07
vishalmanchandatmazur: thanks.15:07
vishalmanchandaabout migration to nodejs16  https://review.opendev.org/c/openstack/horizon/+/831929 is merged last week15:08
vishalmanchandaNow waiting for plugins to use new nodejs template15:08
vishalmanchandaGate is passing for all the plugins but unfortunately,  few plugins maintainers/core team is not active in horizon plugins.15:10
vishalmanchandaSo if you guys can take a look, would be great.15:10
vishalmanchandahttps://review.opendev.org/q/topic:migrate-to-nodejs1615:10
vishalmanchandathat's all  update from my side on release-priorities topic.15:11
vishalmanchandaIf anyone would like to share any updates on this topic, please go ahead.15:12
tmazurvishalmanchanda: I have some news about the migration to angular 1.8.215:13
tmazurIt's done, and I tested it on my env. The patch is coming today I hope, just need some grooming.15:15
vishalmanchandatmazur: awesome🙂)15:15
tmazurBut we really need to test it as much as we can, since the changes are critical15:15
vishalmanchandatmazur: +1.15:16
tmazurAlso, I had to skip a couple tests on promise rejections, since the rejection process itself has been changed after 1.5.815:16
tmazurSo a rejection is like a resolved promise now, which makes those tests useless, and they need to be rewritten completely15:17
tmazurBut that's out of the current scope for sure15:18
vishalmanchandaok, will wait for your patch then let's discuss it in detail.15:19
vishalmanchandamoving to next topic15:20
vishalmanchanda#topic Bug deputy report15:20
vishalmanchandawe have 3 new bugs reported in last two weeks.15:21
vishalmanchandafor the bug https://bugs.launchpad.net/horizon/+bug/1974184 I have already added my thoughts in bug summary.15:22
amotokias I commented, when disabling the create button, the usage does not exceed the quota. it just reaches the quota. I think this is the point of the bug.15:25
vishalmanchandaI am also fine with using 'Quota reached'  or 'Quota exceeded'15:25
vishalmanchandabecause neutron also uses 'Quota exceeded'15:25
amotokiin case fo API response, it means the usage would exceed the quota if a requested resource is crated.15:26
vishalmanchandaWe can use 'Quota reached'  as it looks more correct.15:27
vishalmanchandamoving to next bug  https://bugs.launchpad.net/horizon/+bug/197447015:29
vishalmanchanda2nd bug looks valid to me15:31
rdopierawe were looking already into using the new apis15:33
rdopierabut this is more an RFE than a bug15:34
vishalmanchandaI am still investigating the 2nd bug, will take a look how to use placement api15:34
vishalmanchandardopiera: yeah.15:34
vishalmanchandardopiera: sorry, what you mean, are we already using placement apis?15:36
rdopieravishalmanchanda: tmazur and me were already looking into adding the placement apis to horizon, but we don't have anything working yet15:37
vishalmanchandardopiera: ok.15:38
rdopieraand I think that getting the libraries updates is higher priority right now15:38
vishalmanchandayeah, anyway I will take a look at this(use placement-api in horizon) but it will take time.15:39
vishalmanchandamoving to last bug https://bugs.launchpad.net/horizon/+bug/197159215:40
vishalmanchandafor 3rd bug, we already know this a known issue.15:40
vishalmanchandaI have also replied to the author on open-discuss ML.15:41
vishalmanchandabut I guess we have to add it in horizon documentation as a known issue.15:42
vishalmanchandaOtherwise people are going to ask it again and again.15:43
vishalmanchandaI can push a patch to add this in horizon documentation.15:44
vishalmanchandabut I forgot, will do that asap.15:44
vishalmanchandamoving to next topic15:46
vishalmanchanda#topic On-Demand Agenda15:46
vishalmanchandaRestructuring of integration tests15:46
vishalmanchandardopiera: Floor is yours.15:47
rdopieraright, so I was thinking a little bit more about the integration tests, because they give us a lot of headache recently15:48
vishalmanchanda100%15:48
rdopieraand I noticed that we have a lot of duplicate tests in there, for example15:48
rdopierawe have a test that checks if you can log in into horizon15:49
rdopierabut then every other test also logs in into horizon15:49
rdopieraand the login test doesn't even run first15:49
rdopierawhich makes it completely useless15:49
rdopierathe thing is, we wrote those tests like one would write unit tests -- each testing one specific thing15:50
rdopierawhen for integration tests, we should instead write them from user stories15:50
rdopieraso we would, for example, have one "story" about how flavors work, and all flavor operations would be tested in it15:51
rdopieraof course it would be a lot of work to rewrite those tests we have right now15:51
rdopieraso as a stop-gap solution, I propose that we for now simply skip the tests that add no coverage -- like the login test -- specifying which other test also tests the same thing15:51
rdopierathat should reduce the time of running the tests15:52
vishalmanchandaIs there any specific reason or history, we login again for each test?15:52
rdopierayou want to be able to run each test independently15:53
rdopierathis brings me to a second point15:53
rdopierawe need to make use of the setup and teardown functions for the tests -- especially for deleting any leftover objects when a test has failed15:54
amotoki+1. perhaps addCleanup would be better rather than teardown though15:55
rdopieraright, pytest has some cool mechanisms for this15:56
rdopierathat could even let us avoid having to log in every time15:56
vishalmanchandardopiera: I am agreed with both of your points.15:57
vishalmanchandaAs it is really irritating to do recheck on patches. 15:57
rdopierathe rechecks are mostly due to no cleanup15:57
rdopierathen it's stuck broken until the vm is reprovisioned15:58
vishalmanchandaNo patch is merged in horizon last week due to these random integration tests failure.15:58
vishalmanchandardopiera: ok.15:58
vishalmanchandardopiera: are you already working on that patch to fix it.15:59
rdopieravishalmanchanda: I wanted to make sure there is an agreement to that first15:59
rdopieraI will start on it next week16:00
vishalmanchandaI have no issue with it.16:00
vishalmanchandaamotoki: tmazur : please let us know, if you see any issues here?16:00
vishalmanchandawe are out of time.16:00
amotokiI am fine with it16:01
rdopieraI suppose the cleanup part is the most urgent now16:01
vishalmanchandalet me just end this meeting and continue the discussion here.16:01
vishalmanchanda#endmeeting16:01
opendevmeetMeeting ended Wed May 25 16:01:34 2022 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)16:01
opendevmeetMinutes:        https://meetings.opendev.org/meetings/horizon/2022/horizon.2022-05-25-15.00.html16:01
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/horizon/2022/horizon.2022-05-25-15.00.txt16:01
opendevmeetLog:            https://meetings.opendev.org/meetings/horizon/2022/horizon.2022-05-25-15.00.log.html16:01
vishalmanchandardopiera: yes.16:01
tmazur+1 for the cleanup first16:02
amotokivishalmanchanda: note that we have a meeting in our own irc channel, so one hour is not so strict16:02
vishalmanchandaamotoki: ok.16:02
vishalmanchandaDoes anyone have any other topic to discuss?16:03
vishalmanchandalooks nothing more to discuss, thanks everyone for joining.16:05
vishalmanchandaSee you next week.16:05
amotokirdopiera: how does the fact that we don't clean up resources properly affect failures in the integration tests?16:05
amotokidoes it cause pagination test faiures?16:05
rdopieraamotoki: pagination tests fail16:05
rdopierayup16:05
rdopieramostly16:05
rdopierasometimes it's some other test, when it selects the wrong object16:06
rdopieraanother option would be to do a cleanup at the start of the test16:06
rdopierabut I think proper teardown is the right way to do it16:07
rdopierawe could do both16:07
amotokiagree. proper teardown is the right way16:07
rdopieraif we do both, this will also clean the current problem16:07
amotokirdopiera: thanks for detail investigation16:11
rdopieraI think that in fact I should add the cleanup at the beginning of the test first, merge that, let it clean all the problems, and then in another patch replace that with proper teardown16:11
vishalmanchandardopiera: +1.16:13
amotokiwe don't run the integration tests in parallel, so cleanup at the beginning of each test should work16:13
opendevreviewMerged openstack/horizon stable/wallaby: Add horizontal scrollbar to role dropdown  https://review.opendev.org/c/openstack/horizon/+/81019716:34
opendevreviewMerged openstack/horizon master: Bump tox minversion to 3.18.0  https://review.opendev.org/c/openstack/horizon/+/84286416:34
opendevreviewMerged openstack/horizon master: Pass real client IP to keystoneauth original_ip  https://review.opendev.org/c/openstack/horizon/+/83885916:49
opendevreviewTatiana Ovchinnikova proposed openstack/xstatic-angular master: Update XStatic-Angular to 1.8.2  https://review.opendev.org/c/openstack/xstatic-angular/+/84334219:35
opendevreviewTatiana Ovchinnikova proposed openstack/horizon master: Migrate to AngularJS v1.8.2  https://review.opendev.org/c/openstack/horizon/+/84334620:36
*** tosky_ is now known as tosky21:49

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