Wednesday, 2021-09-15

opendevreviewMerged openstack/horizon master: Support Django 3.0 and 3.1 support (2)  https://review.opendev.org/c/openstack/horizon/+/77739305:19
vishalmanchandaamotoki: hi, around?05:56
amotokivishalmanchanda: hi05:57
vishalmanchandaamotoki: I have a query on this patch https://review.opendev.org/c/openstack/horizon/+/777396 . Could you take a look?05:58
amotokivishalmanchanda: Do you mean Django version 3.2b1?05:59
amotokivishalmanchanda: I can if you don't mind rebasing the whole series.05:59
vishalmanchandaamotoki: yes, Could we change it to 3.206:00
amotokivishalmanchanda: I am personally okay with either.06:00
amotokivishalmanchanda: note that my django 3.x patch series is just to pass UT. I have never tested it in real env.06:01
vishalmanchandaamotoki: Yeah I am testing patch in my env. as well, Also I hope integration job passing means we are good here.06:03
vishalmanchandaamotoki: What's your thought on https://review.opendev.org/c/openstack/horizon/+/777391/206:04
amotokivishalmanchanda: do you run the integartion tests with Django 3.2 locally?06:04
amotokivishalmanchanda: it is up to the team.06:04
vishalmanchandaamotoki: No It take too much time as my server is slow and less h/w configuration. I am relying on Zuul for integration test.06:06
vishalmanchandaamotoki: Should we merged https://review.opendev.org/c/openstack/horizon/+/777391/2 for now, if yes then could you please remove your -2 ?06:07
amotokivishalmanchanda: so do you add the integration tests with Dango 3.2?06:07
opendevreviewMerged openstack/horizon master: Support Django 3.0 and 3.1 support (3)  https://review.opendev.org/c/openstack/horizon/+/77739406:08
vishalmanchandaamotoki: Sorry I didn't get your point, integration jobs are running for django 3.2 as I can see in this patch https://review.opendev.org/c/openstack/horizon/+/777399/206:11
amotokivishalmanchanda: In my understanding, horizon in the integration tests is isntalled via devstack following upper-constraints.txt06:14
amotokivishalmanchanda: so I guess the integration tests job uses django 2.206:14
amotokivishalmanchanda: I think only horizon-tox-python3-django3* jobs run with Django 3.x06:15
vishalmanchandaamotoki: Ohh I don't know about that:(06:18
vishalmanchandaamotoki: looking for file in devstack to run integration job with django 3.x.06:18
vishalmanchandaamotoki: Also, running integration with django3.2 in my local env.06:20
amotokivishalmanchanda: I removed my -2 on https://review.opendev.org/c/openstack/horizon/+/777391/ so that the team can decide it.06:43
vishalmanchandaamotoki: ok thanks.06:50
amotokivishalmanchanda: is it okay to replace Django 3.2b to 3.2? perhaps it is better to update tox.ini too07:02
vishalmanchandaamotoki: IMO we should use 3.2, and good to update in tox.ini too.07:06
amotokivishalmanchanda: ok07:20
amotokivishalmanchanda: looking at https://review.opendev.org/c/openstack/horizon/+/777395/, dj30 and dj31 jobs fail. It is not what I expect.07:23
amotokivishalmanchanda: this should pass dj30 and dj31 tests as it is the last patch to support dj30/3107:23
amotokivishalmanchanda: ah... it is due to django-pyscss and we haven't merged the workaround. got it.07:25
vishalmanchandaamotoki: yes.07:25
vishalmanchandaamotoki: I need some help in running integration test with django3.x on gate.07:26
vishalmanchandaamotoki: I have to update django version here https://github.com/openstack/requirements/blob/7d440eb91773aa8a9f455a3f7c69db780e926679/upper-constraints.txt#L43207:27
amotokivishalmanchanda: perhaps you can propose DNM patch to requiremeents.txt to update Django version and propose a horizon patch which depends on the reqs patch07:28
amotokivishalmanchanda: this is what we usually do when testing a new version of our dependencies.07:28
vishalmanchandaamotoki: ok thanks.07:28
vishalmanchandaamotoki: because if integration jobs fail with django3.2 then we would not merge further patches07:29
amotokivishalmanchanda: I am okay with either. merging django 3.2 patches has no side effect from Django 2.2 perspective. we can fix issues with Dango 3.2 later separately.07:30
vishalmanchandaamotoki: right now when I apply this patch https://review.opendev.org/c/openstack/horizon/+/777399/2 in my env. I am not able to launch the instance although doesn't giving any error.07:31
vishalmanchandaamotoki: also I observe some issue with pop-up form/widgets.07:33
amotokivishalmanchanda: in which commit?07:33
vishalmanchandaamotoki: I have applied this patch https://review.opendev.org/c/openstack/horizon/+/777399/2 in my env.07:34
amotokivishalmanchanda: is it a regression in horizon with Django 2.2 or just an issue with Django 3.2?07:34
vishalmanchandaamotoki: yeah.07:36
amotokivishalmanchanda: ???07:36
vishalmanchandaamotoki: I am not sure right now because I can't see any error msg or maybe it's my env. issue.07:38
amotokivishalmanchanda: does it affect Django 2.2 env? 07:41
vishalmanchandaamotoki: I don't think so because if that's the case then integration job must failed for that patch.07:44
vishalmanchandaamotoki: but not completely sure maybe I am wrong.07:44
opendevreviewVishal Manchanda proposed openstack/horizon master: [DNM] Test Django 3.2 version with requirement repo  https://review.opendev.org/c/openstack/horizon/+/80916309:33
opendevreviewNitish Venkata Patcherla proposed openstack/horizon master: Add Rules operation to Network QoS Policy  https://review.opendev.org/c/openstack/horizon/+/80536013:16
nicolasbockHi! This may be a known issue. I found that the time complexity of opening the project/instances/attach_interface dialog box is O(N) where N is the number of networks in the project14:02
nicolasbockI opened https://bugs.launchpad.net/horizon/+bug/194363914:02
nicolasbockThe reason for this behavior is that the dashboard requests all ports per network in a loop over the networks14:03
nicolasbockIt checks whether any ports exist that don't have a `device_owner`14:03
nicolasbockIs this a known issue?14:04
vishalmanchandanicolasbock: thanks for reporting the bug, will take a look soon.14:05
nicolasbockThanks vishalmanchanda 14:05
nicolasbockRight now I don't quite see how to speed this up14:05
nicolasbockSomething like `openstack port list --column id --column device_owner` does not work14:06
nicolasbockThe `device_owner` seems to be returned only on `openstack port show`14:06
opendevreviewjinyuanliu proposed openstack/horizon master: Clean up extra spaces  https://review.opendev.org/c/openstack/horizon/+/80919914:21
vishalmanchanda#startmeeting horizon15:00
opendevmeetMeeting started Wed Sep 15 15:00:20 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
vishalmanchandahello everyone.15:00
gansoo/15:01
tmazuro/15:01
vishalmanchandardopiera: amotoki : e0ne: around?15:02
vishalmanchandaLet's wait for two more minutes then we will start.15:03
vishalmanchandaok let's start. I hope more people join us.15:05
vishalmanchanda#topic Notices15:06
vishalmanchandaThis week is Xena RC1 week.15:06
vishalmanchandaXena Schedule https://releases.openstack.org/xena/schedule.html15:06
vishalmanchandahorizon follows cycle-with-intermediary release model. So probably release team will cut a release for horizon by Monday.15:06
vishalmanchandaAlso, Please start adding your topic in etherpad which you would like to discuss during PTG.15:07
vishalmanchandaetherpad link https://etherpad.opendev.org/p/horizon-yoga-ptg15:08
vishalmanchandaThat's all announcement from my side for this week.15:08
vishalmanchandamoving to next topic15:08
vishalmanchanda#topic Django3.x Support15:09
vishalmanchandaAs you may have noticed we have merged a couple of patches from yesterday to add Django3.x support.15:09
vishalmanchandahttps://review.opendev.org/q/topic:%22django3-support%22+(status:open%20OR%20status:merged)15:09
vishalmanchandaNow my question is to team that we want to add Django3.x support in Xena release or not?15:10
vishalmanchandaAre we too late for that?15:10
tmazurIt seems so15:11
vishalmanchandaAlso zigo on open-discuss send a mail that Horizon Wallaby and Xena completely broken in Debian as horizon doesn't support Dajngo3.x15:11
vishalmanchandahttp://lists.openstack.org/pipermail/openstack-discuss/2021-September/024873.html15:11
vishalmanchandaPersonally I am ok to merge django series patches as they are trivial changes and doesn't affect current implementation but I would like hear team feedback for the same.  15:13
rdopierasorry for being late15:14
rdopieraI concur to the the django patches15:14
vishalmanchandaamotoki: e0ne: rdopiera : Please share your opinion.15:14
amotokiI can say that changes made in my patch series are straight-forward fixes and believe they are safe.15:15
amotokione question to the team is whether the dirty workaround is acceptable.15:15
vishalmanchandaamotoki: yeah coming to that, I am okay to merge https://review.opendev.org/c/openstack/horizon/+/777391 workaround for now.15:16
vishalmanchandaamotoki: We can improve it in Yoga release.15:16
amotokinote that https://review.opendev.org/c/openstack/horizon/+/777391 must be updated.15:17
amotokiwe must add django version check as I commented in the change.15:17
amotokiperhaps we also need to add "six" in requirements.txt again15:18
vishalmanchandaamotoki: Could you update that patch https://review.opendev.org/c/openstack/horizon/+/77739115:21
amotokiwill do tomorrow. feel free to update it if you want sooner than it15:21
vishalmanchandaamotoki: ok, thanks.15:22
vishalmanchandaDoes anyone have any issue in accepting that workaround?15:23
vishalmanchandahttps://review.opendev.org/c/openstack/horizon/+/77739115:23
rdopierano15:26
vishalmanchandardopiera: ok thanks.15:27
vishalmanchandathat's all update from my side for this week.15:28
vishalmanchanda#topic open-discussion15:28
gansoo.15:29
ganso*o/15:29
vishalmanchandaWe have some open patches which are good to have in Xena, So please take  look15:29
vishalmanchandahttps://etherpad.opendev.org/p/horizon-release-priorities(at line 20)15:29
vishalmanchandaganso: Do you want to discuss any topic?15:30
gansoJust a reminder about patch https://review.opendev.org/c/openstack/horizon/+/80645415:30
gansoI know everyone is busy and it is not a priority for Xena, but if you have some time and can take a look15:30
gansoit is a WIP, and quite drastric so I'd like feedback so I can continue working on it, so I don't have to rework so many unit tests around the code changes15:31
gansoI know amotoki is the most familiar with it and it is already in his review queue, but any feedback is welcome if you have time to review15:32
gansothat's all I had15:32
vishalmanchandaganso: thanks for the patch, will take a look soon once done with Django3.x support.15:32
gansovishalmanchanda: thanks15:33
rdopieraI would like to discuss the memcached library that we use by default in Horizon.15:33
amotokiganso: yeah, it is in my queue. I was on vacation last week. sorry for late.15:33
gansoamotoki: no worries. I was just reminding =)15:35
vishalmanchandardopiera suggest to use pylibmc https://pypi.org/project/pylibmc/ for  memcached15:38
rdopierapymemcached is somewhat abandoned, and has issues with handling ipv6 addresses -- I think that it would be prudent for us to switch to a newer library. Django 3.0 gives us a bunch of options, but for Django 2.2 the only alternative that is supported is pymclib. The change would amount to adding pymclib to our requirements and modifying the example config file.15:38
rdopierarelevant Django documentation is https://docs.djangoproject.com/en/2.2/topics/cache/#memcached15:39
amotokiLooking at DJnago 3.2 documentaiton. these two are still the only supported bindings https://docs.djangoproject.com/en/3.2/topics/cache/15:41
rdopieraI must have remembered incorrectly that there were more, sorry.15:41
amotokiI am okay with this change, but when do you plan to switch it?15:41
rdopierathe last commit for pymemcached was 5 years ago15:41
amotokithe requirement freeze happened a couple of weeks ago15:41
rdopierathe last commit for pymclib was last month15:41
rdopierayes, this would be for the new release15:42
rdopierafor Yoga15:42
amotokisounds good15:42
vishalmanchandaI am fine with switching from pymemcached is no longer maintained also have issues15:42
vishalmanchandaOne of the bug rdopiera mentioned yesterday with pymemcached.15:42
opendevreviewNicolas Bock proposed openstack/horizon master: Get ports directly instead of via loop  https://review.opendev.org/c/openstack/horizon/+/80923015:43
amotokithis is just our default settings. packagers and deployers can consume pylibmc already, so it would be less-impact.15:43
vishalmanchandahttps://bugzilla.redhat.com/show_bug.cgi?id=200265915:43
rdopierawell, this is also a configuration with which we test15:43
rdopierain practice, our users will just copy the example config15:44
vishalmanchandaOk then we can try it in early Yoga cycle.15:45
vishalmanchandaDo we have anything else to discuss?15:47
rdopieraI don't15:48
amotokinone from me15:48
tmazurnothing15:48
vishalmanchandaOk let's end the meeting.15:48
vishalmanchandathanks everyone for joining.15:48
vishalmanchanda#endmeeting15:49
opendevmeetMeeting ended Wed Sep 15 15:49:04 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:49
opendevmeetMinutes:        https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-09-15-15.00.html15:49
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-09-15-15.00.txt15:49
opendevmeetLog:            https://meetings.opendev.org/meetings/horizon/2021/horizon.2021-09-15-15.00.log.html15:49
opendevreviewNicolas Bock proposed openstack/horizon master: Get ports directly instead of via loop  https://review.opendev.org/c/openstack/horizon/+/80923015:54
nicolasbockvishalmanchanda: Please have a look at https://review.opendev.org/c/openstack/horizon/+/809230 15:57
nicolasbockvishalmanchanda: In my local tests this implementation significantly speeds up the `attach_interface` workflow15:57
opendevreviewMerged openstack/horizon master: Support Django 3.0 and 3.1 support (4)  https://review.opendev.org/c/openstack/horizon/+/77739517:59
opendevreviewVishal Manchanda proposed openstack/horizon master: Support Django 3.2 support (1)  https://review.opendev.org/c/openstack/horizon/+/77739718:15
opendevreviewVishal Manchanda proposed openstack/horizon master: Preparation for Django 3.0 and 3.1 support (2)  https://review.opendev.org/c/openstack/horizon/+/77739119:18
opendevreviewVishal Manchanda proposed openstack/horizon master: Support Django 3.2 support (3)  https://review.opendev.org/c/openstack/horizon/+/77739919:38
opendevreviewMerged openstack/horizon master: Support Django 3.2 support (1)  https://review.opendev.org/c/openstack/horizon/+/77739721:04
opendevreviewVishal Manchanda proposed openstack/horizon master: Preparation for Django 3.0 and 3.1 support (2)  https://review.opendev.org/c/openstack/horizon/+/77739121:15
*** prometheanfire is now known as Guest121:20
*** kmasterson is now known as Guest621:21
*** promethe- is now known as prometheanfire21:53
opendevreviewMerged openstack/horizon master: Support Django 3.2 support (3)  https://review.opendev.org/c/openstack/horizon/+/77739922:16

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