Wednesday, 2020-04-15

*** KeithMnemonic has quit IRC04:30
*** evrardjp has quit IRC04:37
*** evrardjp has joined #openstack-requirements04:37
*** udesale has joined #openstack-requirements05:37
*** vishalmanchanda has joined #openstack-requirements05:40
openstackgerritOpenStack Proposal Bot proposed openstack/requirements master: Updated from generate-constraints  https://review.opendev.org/71934506:20
*** ccamacho has joined #openstack-requirements07:11
*** ralonsoh has joined #openstack-requirements07:14
*** tosky has joined #openstack-requirements07:23
*** rpittau|afk is now known as rpittau07:28
*** iurygregory has quit IRC07:31
*** iurygregory has joined #openstack-requirements07:32
*** e0ne has joined #openstack-requirements08:12
*** ccamacho has quit IRC08:20
*** ccamacho has joined #openstack-requirements08:40
*** ccamacho has quit IRC08:40
*** ccamacho has joined #openstack-requirements08:45
*** dtantsur|afk is now known as dtantsur08:49
*** ccamacho has quit IRC09:44
*** ccamacho has joined #openstack-requirements10:05
*** rpittau is now known as rpittau|bbl10:23
*** e0ne has quit IRC10:52
*** e0ne has joined #openstack-requirements10:53
*** iurygregory is now known as iurygregory_afk11:31
*** udesale_ has joined #openstack-requirements12:04
*** udesale has quit IRC12:06
smcginnisAJaeger: The reason why the 3.8 line wasn't updated is the project doesn't include 3.8 in its metadata.12:13
smcginnisSo the script extracts the declared Python versions from the metadata and only matches up the lines that are the same versions.12:14
*** brinzhang_ has quit IRC12:14
smcginnisThat was to be able to handle 2 vs 3, but also to be able to handle the case when we get to the point of dropping 3.6 but supporting newer versions.12:14
smcginnisDefinitely not perfect. I suppose we could just assume any py3 version should match. Wouldn't be too hard to update the sed statement that does that.12:15
AJaegersmcginnis: ah, interesting. With us going to 3.8, I think we should change it somehow - especially since the constrain generator updates it just. So, that should be consistent...12:29
smcginnisYeah. Only updating if the project declared 3.8 support seems more "correct", but we're going to have some transition time until that happens.12:33
smcginnisI may not be able to look at it for a bit, but if you are curious, here is the code that handles that: https://review.opendev.org/#/c/709809/2/roles/copy-release-tools-scripts/files/release-tools/update_constraints.sh12:34
smcginnisShould be reasonable to just check if $PYTHON_3_VERSIONS are present, and if so, just do one update for anything "3.*"12:35
*** rpittau|bbl is now known as rpittau12:49
*** KeithMnemonic has joined #openstack-requirements12:54
AJaegersmcginnis, prometheanfire, what do you think of https://review.opendev.org/720197 ?12:58
KeithMnemonicsmcginnis, prometheanfire i think this patch broke monasca-agent , https://review.opendev.org/#/c/717960/ the error in zuul shows http://paste.openstack.org/show/792161/13:23
KeithMnemonicdo you know how i can fix this ?13:23
smcginnisKeithMnemonic: 1.4.0 was released on the 9th: https://pypi.org/project/confluent-kafka/#history13:25
smcginnisKeithMnemonic: Maybe a stale pypi mirror? Did you try a recheck?13:25
KeithMnemonicand that is when monasca-agent started failing13:26
KeithMnemonicyes 3 times yesterday13:26
KeithMnemonichttps://zuul.opendev.org/t/openstack/builds?job_name=build-monasca-docker-image&branch=master13:27
KeithMnemoniclast good run was 4/813:27
KeithMnemonicso right before that patch landed13:27
smcginnisKeithMnemonic: I was able to do "pip install confluent-kafka==='1.4.0'" locally, so something else is going on there.13:27
AJaegerKeithMnemonic: so, if that is not able to be installed, then let's discuss on #opendev...13:32
KeithMnemonicintersting there are two failure on my patch. the other one on seems to be able to install it "Successfully installed PyMySQL-0.9.3 confluent-kafka-1.4.0"13:35
KeithMnemonicthat is from "monasca-tempest-python3-influxdb "13:35
KeithMnemonicso it seems maybe just the docker image has issues?13:36
KeithMnemonicwith kafka?13:36
smcginnisReally seems like maybe an infra thing. The package is there matching the upper-constraint, so nothing from that perspective to indicate why installation failed.13:36
smcginnisAnything different in how the docker image is created?13:36
AJaegersmcginnis: looks like they pushed only wheels, see https://pypi.org/project/confluent-kafka/#files13:37
AJaegerKeithMnemonic: ^13:37
KeithMnemonicok so who can fix that?13:38
AJaegerso, first question: IS that the problem? If it is: Only the confluent-kafka authors13:38
KeithMnemonichttps://71c0eda8b1d9d45ff8c8-9e1e29a469f8f669289667ecce245a85.ssl.cf5.rackcdn.com/718195/3/check/build-monasca-docker-image/67cd43f/13:39
KeithMnemonicthat is the log13:39
smcginnishttps://github.com/confluentinc/confluent-kafka-python/issues/83013:39
AJaegersmcginnis: so, back to confluent-kafka 1.3.0 for now?13:40
AJaegerKeithMnemonic: want to ask for FFE and sent a patch referencing the github issue?13:40
smcginnisThe two consumers of it are monasca-common and oslo.messaging.13:41
smcginnisoslo.messaging doesn't appear to be broken.13:41
smcginnisI wonder if there's something that can be changed in how monasca-common is trying to install this?13:41
KeithMnemonicdoes oslo.messaging use the wheel13:41
KeithMnemonicthe last patch that passed shows it pulls the tar13:42
AJaegersmcginnis: I rechecked https://review.opendev.org/#/c/717600 - let's see whether it fails13:42
KeithMnemoniclast patch for monasca agent i mean13:42
KeithMnemonicit pulls the wheel for oslo.messaging13:44
AJaegerinteresting that they do it differently13:45
smcginnisKeithMnemonic: Not directly related, but there's a bug in those docker builds that they are not following stable branch constraints: https://opendev.org/openstack/monasca-agent/src/branch/stable/train/docker/forwarder/build_image.sh#L6713:47
smcginnisOh, maybe they are later on in the file.13:48
KeithMnemonicso i guess i either get the monasca guys to refactor to use the wheel or wait for the confluent issue to get resolved14:23
AJaegerKeithMnemonic: or go back to previous version in constraints14:25
KeithMnemoniccan i put a patch up for that smcginnis: ?14:26
smcginnisKeithMnemonic: I think updating monasca to work with that is the best option. Otherwise contact the confluent-kafka team to ask that they publish more than just the wheel.14:27
smcginnisKeithMnemonic: But given it's limited use, we could probably lower that constraint for now. The problem being unless we completely blacklist that version, the nightly constraints update job is just going to propose raising it again.14:28
KeithMnemonicthanks, i brought this open in the monasca channel as well. so far crickets but lets see if they can address this in a patch14:30
KeithMnemonici am not sure i know enough how to change it from tar to whl14:30
*** witek has joined #openstack-requirements14:32
smcginnisYeah, I'm not sure how things are being done there, and unfortunately I can't dig into it right now to be able to offer any suggestions. Hoping someone on that team understands it enough that the fix ends up being fairly obvious.14:33
witekthe Docker job uses Alpine and confluent-kafka doesn't build wheels for that, from what I recall14:34
*** dtantsur is now known as dtantsur|brb14:55
KeithMnemonicthey fixed it upstream, there is a tar now15:32
KeithMnemonicthat was quick15:32
AJaegergreat, so want to recheck?15:35
prometheanfireAJaeger: smcginnis did more of that sed work, he'd be the person to run the https://review.opendev.org/720197 by15:41
*** iurygregory_afk is now known as iurygregory15:41
prometheanfireAJaeger: https://opendev.org/openstack/project-config/commit/45ed2e8fa83b6673e69586e735356db697349cef may be the problem as well15:43
AJaegerprometheanfire: yes, I asked smcginnis for 720197 review15:44
prometheanfireAJaeger: what I'd like to do is change the generate constraints call to be python3.6/3.8 only instead of py2.7/3.6 with coppying 3.6 to 3.815:45
smcginnisI think the propose_update.sh is fine. It was just a matter that we've only been updating new releases based on what they declare in their metadata, which pretty much everyone does not include 3.8 yet.15:45
AJaegerthx for review15:45
AJaegersmcginnis: will there be an automatic add for 3.8 to setup.cfg?15:45
smcginnisAJaeger: No. :/15:47
smcginnisNot sure if we could do that, but it would be good to add that to the new series job template update automation.15:47
AJaegeryeah, would be nice15:47
smcginnis3.9 is out by the end of this year, but I would guess after we update for 3.8, it will probably be some time before distros will need us to add 3.9.15:48
prometheanfireya, 3.8 isn't even fully stable here yet15:49
prometheanfireseeing what happens when I run this locally       generate-constraints -b blacklist.txt -p /usr/bin/python3.6 -p /usr/bin/python3.8 -r global-requirements.txt16:05
prometheanfirethat should give us 'true' upper-constraints I think.16:06
*** dtantsur|brb is now known as dtantsur16:11
prometheanfireworked, kinda, salt uses platform_distribution, which is gone in py3816:18
*** witek has quit IRC16:23
*** rpittau is now known as rpittau|afk16:33
*** evrardjp has quit IRC16:37
*** evrardjp has joined #openstack-requirements16:37
*** udesale_ has quit IRC16:49
*** dtantsur is now known as dtantsur|afk16:53
*** ralonsoh has quit IRC17:55
prometheanfiresmcginnis: I had to mask salt as it doesn't work with py38 yet, but this is the result I get if I run with the above command https://gist.github.com/38d526b487513326467356ab2d659d0e18:21
prometheanfirenot bad, imo18:22
smcginnisGreat!18:22
prometheanfireyep, as soon as we branch18:23
*** e0ne has quit IRC18:31
openstackgerritMatthew Thode proposed openstack/requirements master: DNM: test py3 only constraints for victoria  https://review.opendev.org/72026418:47
prometheanfireupper-constraints.txt      +149, -56818:48
prometheanfireheh18:48
smcginnisI love reducing lines of code. :)18:56
prometheanfiresame18:57
prometheanfirea great culling is upon us18:57
prometheanfirethere's some special code around py27 as well I think18:57
* prometheanfire should remove lines from gr as well18:57
*** hongbin has joined #openstack-requirements19:01
smcginnisI've thought it would be good to do an audit of gr to see how many entries are no longer used.19:09
prometheanfireya, that could be a port of the patch, just not automated :D19:13
prometheanfireatm, doing cross gates with the new constraints is a start19:13
smcginnis++19:17
prometheanfirequite a few failures19:19
prometheanfire2020-04-15 18:54:10.343849 | ubuntu-bionic | 'contextlib2' appears in global-requirements.txt but not upper-constraints.txt or blacklist.txt19:20
prometheanfiregonna be a few of those19:20
smcginnisAh. So maybe we do need to do some gr cleanup along with this.19:24
smcginnisOr add a bunch of stuff to uc that we don't necessarily need.19:24
openstackgerritMatthew Thode proposed openstack/requirements master: DNM: test py3 only constraints for victoria  https://review.opendev.org/72026419:33
prometheanfiresmcginnis: yep19:33
prometheanfire+217, -71319:33
prometheanfireonly two lines specifying python versions now19:34
prometheanfire34:dataclasses;python_version=='3.6'  # Apache-2.019:34
prometheanfire226:salt!=2019.2.1,!=2019.2.2;python_version!='3.8'  # Apache-2.019:34
prometheanfirewas able to remove things like this too :D19:35
prometheanfire-monotonic;python_version<'3.3'  # Apache-2.019:35
AJaegerprometheanfire: nice!19:36
prometheanfireAJaeger: I want it19:36
prometheanfirehave zuul updates to go into the next ammended commit19:43
prometheanfireremoving py37 and py27 (that means swift)19:46
*** vishalmanchanda has quit IRC19:54
timburkeoh yeah, i should take over https://review.opendev.org/#/c/712984/ -- i started to sort through deps a little, figure out what's already done their final py2 release, and what the most likely sources of breakage will be (things like iso8601 which haven't been updated in years seem unlikely to ever be updated again at this point)19:54
prometheanfiretimburke: :D19:56
* prometheanfire needs to look at the swift configparser bug19:57
timburkeit's a mess -- i've got a dirty tree to try to sort it out -- i was hoping i might be able to get away with not monkey-patching like it did in the original patch, but idk...19:59
prometheanfire'one right way of doing things'20:00
prometheanfiretimburke: I do have a question about that though, you said to just put it in one config section as the config is only used in that part of swift right?20:00
timburkeno, i said that but i was wrong. *maybe* you could get away with scattering it between a bunch of different sections and having some of them say 1% and others 1%% -- but ugh20:03
prometheanfiretimburke: yep20:03
timburkeis it configurable in OSA? or is it hardcoded to 1%? because that should be the default in swift; you might consider just removing the option from the configs that OSA's pushing out...20:03
prometheanfiretimburke: atm I have two versions of the config, depending on the service that's running (see https://review.opendev.org/720021)20:04
prometheanfireit's configurable, but it's either 1% or 1%%20:04
prometheanfiremy review moves the % (or %%) character(s) to the template from the config20:04
prometheanfires/config/defaults20:05
prometheanfiretimburke: I don't think applying it to all those sections will work, configparser will probably error out still as it still has to parse the whole file20:16
openstackgerritMatthew Thode proposed openstack/requirements master: DNM: test py3 only constraints for victoria  https://review.opendev.org/72026420:16
*** e0ne has joined #openstack-requirements20:24
prometheanfire!startmeeting requirements20:30
openstackprometheanfire: Error: "startmeeting" is not a valid command.20:30
prometheanfire#startmeeting requirements20:30
openstackMeeting started Wed Apr 15 20:30:05 2020 UTC and is due to finish in 60 minutes.  The chair is prometheanfire. Information about MeetBot at http://wiki.debian.org/MeetBot.20:30
openstackUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.20:30
*** openstack changes topic to " (Meeting topic: requirements)"20:30
openstackThe meeting name has been set to 'requirements'20:30
prometheanfire`#topic rollcall20:30
prometheanfiretonyb, prometheanfire, dirk, smcginnis ping20:30
prometheanfire#topic rollcall20:30
*** openstack changes topic to "rollcall (Meeting topic: requirements)"20:30
prometheanfiretonyb, prometheanfire, dirk, smcginnis ping20:30
smcginniso/20:30
prometheanfireo/20:30
prometheanfire#topic Any controversies in the Queue?20:31
*** openstack changes topic to "Any controversies in the Queue? (Meeting topic: requirements)"20:31
prometheanfirewe are frozen, so I hope not :D20:31
prometheanfirehttps://zuul.openstack.org/status/change/720264,3 seems to be going well neutron/nova failed last run, but I think that's because it had stuff like updated msgpack causing issues20:32
prometheanfire#topic open floor20:33
*** openstack changes topic to "open floor (Meeting topic: requirements)"20:33
prometheanfireya, nova failed :|20:33
smcginnisThere was something else with msgpack I thought.20:33
smcginnisNah, I think I'm thinking of something else.20:34
prometheanfiresomething caps it so we can't use the update20:34
prometheanfirehttps://d77580f8adad064c9e13-1cbf7c2bad1b53c710605a1cfc31790e.ssl.cf5.rackcdn.com/720264/3/check/cross-nova-py36/d516452/testr_results.html for some light reading20:34
smcginnisFun20:34
prometheanfireya, will pass it by the nova team later20:35
prometheanfireanything else before I close this pro-forma meeting :D20:35
smcginnisNothing else from me. I think we're on good track for ussuri.20:35
prometheanfiresame20:35
smcginnisVictoria should be a lot of fun. :D20:35
prometheanfire#endmeeting20:35
*** openstack changes topic to "OpenStack Requirements - IRC meetngs on Wednesdays @ 07:00 UTC in here in #openstack-requirements - See agenda @ http://tinyurl.com/h44ryuw - IRC channel is *LOGGED* @ http://tinyurl.com/j38rk24"20:35
openstackMeeting ended Wed Apr 15 20:35:36 2020 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)20:35
openstackMinutes:        http://eavesdrop.openstack.org/meetings/requirements/2020/requirements.2020-04-15-20.30.html20:35
openstackMinutes (text): http://eavesdrop.openstack.org/meetings/requirements/2020/requirements.2020-04-15-20.30.txt20:35
prometheanfireindeed, a bunch of cleanup :D20:35
openstackLog:            http://eavesdrop.openstack.org/meetings/requirements/2020/requirements.2020-04-15-20.30.log.html20:35
smcginnistimburke: Does swift still plan on supporting py27 in the victoria cycle?20:36
prometheanfireoh, those errors are from the updated mock20:36
prometheanfirethat's right20:36
openstackgerritMatthew Thode proposed openstack/requirements master: DNM: test py3 only constraints for victoria  https://review.opendev.org/72026420:37
timburkesmcginnis, yes, that's the current plan20:39
smcginnisUpdated mock? Like the third party one?20:39
smcginnistimburke: OK, great. Was just curious, but glad to hear. Should simplify some things going forward.20:39
timburkei was expecting more pushback ;-)20:40
smcginnistimburke: Hah, I just realized I misread that. Though you answered what I asked, I was thinking you said the plan was to drop py27. :)20:41
smcginnisOh well. That should be fairly static now.20:41
timburkethat's part of my thinking -- most of what breaks will break now, after which point, may as well continue20:43
timburkejust this morning we had someone in irc running swift 2.7.0 (so, mitaka) on xenial and running into troubles. i could in good conscience recommend an upgrade to at least 2.22.0, and the only reason not to go with latest release was an update to our minimum version of eventlet20:47
prometheanfiresmcginnis: ya, the change to built-in mock is something for victoria as well20:47
smcginnistimburke: Well, for 12 more months until xenial itself is EOL. ;)20:48
timburkejust because it's EOL doesn't mean it goes away :P20:48
smcginnisprometheanfire: I've been trying to get as many as I can going already this cycle.20:48
smcginnistimburke: No, but it gives a good reason to recommend someone takes the effort to actually upgrade their deployment.20:49
*** e0ne has quit IRC21:02
*** e0ne has joined #openstack-requirements21:03
prometheanfirejust functests to go21:16
*** e0ne has quit IRC21:42
*** ccamacho has quit IRC22:11
*** prometheanfire has quit IRC22:17
*** prometheanfire has joined #openstack-requirements22:39
prometheanfireand:D22:41
*** hongbin has quit IRC22:53
*** hongbin has joined #openstack-requirements23:01
*** tosky has quit IRC23:39

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!