Wednesday, 2022-04-13

clarkbI've been warned that dinner is just about ready. I'm not likely to be able to make it back to this tonight.00:00
clarkbNow that we know the what the issue is at least we can work with it. Good luck ! :)00:01
ianwclarkb: thanks for digging into it!00:02
johnsomemail sent00:05
ianw"Not uninstalling six at /usr/lib/python3/dist-packages, outside environment /usr"00:13
ianwthat seems like a unique error00:13
ianws/unique/new/00:14
ianwoh actually that's not the error00:15
ianw2022-04-12 23:58:05.740 | + lib/infra:install_infra:32               :   python3 -m venv /opt/stack/requirements/.venv00:15
ianw2022-04-12 23:58:05.778 | Error: [Errno 13] Permission denied: '/opt/stack/requirements/.venv'00:15
ianwis00:15
ianwsee fungi i told you nothing would try to modify the source tree, nobody would do that, that's just crazy talk :)00:16
fungibwahaha00:18
opendevreviewIan Wienand proposed openstack/devstack master: chown checked-out repos (to be used for install) to root ownership  https://review.opendev.org/c/openstack/devstack/+/83763600:23
opendevreviewIan Wienand proposed openstack/devstack master: chown checked-out repos (to be used for install) to root ownership  https://review.opendev.org/c/openstack/devstack/+/83763600:50
opendevreviewIan Wienand proposed openstack/devstack master: chown checked-out repos (to be used for install) to root ownership  https://review.opendev.org/c/openstack/devstack/+/83763601:12
ianwhrm, neutron wants to also edit the source tree as it creates its example configs in there01:53
ianwi wonder if "root:stack" ownership will work01:54
ianwthat will allow git traversal of the directories, but hopefully stack user transparent ability to write in there too01:54
ianwi wonder what our umask on all this is01:54
opendevreviewIan Wienand proposed openstack/devstack master: chown checked-out repos (to be used for install) to root ownership  https://review.opendev.org/c/openstack/devstack/+/83763602:04
ianwit looks like the ^ approach, owned by root but group stack, is getting a lot further03:20
ianwdevstack passed, but tempest-full-py3 failed03:37
ianw022-04-13 03:28:24.538 | ++ lib/tempest:set_tempest_venv_constraints:119 :   git show origin/master:upper-constraints.txt03:41
ianw2022-04-13 03:28:24.538 | fatal: unsafe repository ('/opt/stack/requirements' is owned by someone else)03:41
opendevreviewIan Wienand proposed openstack/devstack master: chown checked-out repos (to be used for install) to root ownership  https://review.opendev.org/c/openstack/devstack/+/83763603:57
ianwi think the tempest source needs to be owned by stack, as opposed to all the other sources.  so now that has a wrapper03:59
ianwsigh that's not right ... pip_install -e /opt/stack/tempest04:21
opendevreviewBenny Kopilov proposed openstack/tempest master: Allows to skip wait for volume create  https://review.opendev.org/c/openstack/tempest/+/83760304:26
ianwi think the problem is that we install tempest, but aslso run tox in the tempest source dir, which also tries to install tempest as "stack" into the tox venv04:28
ianwi don't know ... i'm starting to think this is a loosing battle05:01
opendevreviewIan Wienand proposed openstack/devstack master: [wip] mark clones git safe  https://review.opendev.org/c/openstack/devstack/+/83765905:05
opendevreviewyatin proposed openstack/devstack master: [DNM] check ovn fedora failure  https://review.opendev.org/c/openstack/devstack/+/83766005:27
ianwi think ^^ may be the way, tempest is at least running05:50
ianwgrenade is not, but i guess we need backports05:51
opendevreviewyatin proposed openstack/devstack master: [DNM] check ovn fedora failure  https://review.opendev.org/c/openstack/devstack/+/83766006:04
opendevreviewIan Wienand proposed openstack/devstack master: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83765906:57
*** pojadhav is now known as pojadhav|lunch08:00
*** pojadhav|lunch is now known as pojadhav08:40
*** whoami-rajat__ is now known as whoami-rajat08:53
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648409:37
opendevreviewVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648410:04
opendevreviewFrancesco Pantano proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648410:22
opendevreviewFederico Ressi proposed openstack/devstack master: [WIP] Create workaround for new issue related with https://bugs.launchpad.net/pbr/+bug/1675459  https://review.opendev.org/c/openstack/devstack/+/83772011:47
opendevreviewLuigi Toscano proposed openstack/devstack-plugin-ceph master: [DNM][CI] Add CEPHADM_DEPLOY flag to py3 tests  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/83422312:01
fungiianw: i'm mostly caught up now, but i think i may have a solution, posted to the ml thread... rather than relying on pip to call setuptools/pbr, just separate the wheel build step out and do that as stack, then install the resulting wheel as root12:08
opendevreviewFederico Ressi proposed openstack/devstack master: Create workaround for issue when installing Keystone package as root from /opt/stack/keystone  https://review.opendev.org/c/openstack/devstack/+/83772012:09
fungiafter i get a shower, i can try to push up a patch which does that, if nobody else beats me to the punch12:13
opendevreviewFrancesco Pantano proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648412:51
opendevreviewDan Smith proposed openstack/devstack master: WIP: Gather performance data after tempest  https://review.opendev.org/c/openstack/devstack/+/83713913:37
*** soniya29 is now known as soniya29|out13:51
*** artom__ is now known as artom14:00
*** pojadhav is now known as pojadhav|afk14:06
dansmithis the git problem biting us because we do an apt upgrade before/during our run or something?14:10
dansmithand if so, could we maybe just pin git for the time being?14:11
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773114:13
fungidansmith: *we* can pin git to an insecure version, but we can't very well tell all devstack users to just stick with an old git which has known security vulnerabilitirs14:14
fungivulnerabilities14:14
dansmithclearly not long-term14:14
dansmithI mostly meant to get past the need to disable grenade to merge the config fix (which is, AFAIU, equivalent to pinning to the insecure version anyway)14:14
fungiwhich config fix? sorry, been trying to test a working fix for devstack14:15
dansmithhttps://review.opendev.org/c/openstack/devstack/+/837659/2/functions-common14:15
dansmithianw proposed globally disabling the new check I think14:15
fungibut yes, we'll need to patch stable branches and forward-port, just like any devstack bug which impacts upgrade testing14:15
fungithe usual solution is to patch teh oldest stable branch and then cherry-pick that patch to later branches until you reach master14:16
dansmithwell, what causes us to get the new git? not devstack, that I know of, so I figured it was base zuul stuff?14:17
fungifigured what was zuul stuff?14:17
dansmithcausing us to get the just-released-yesterday git package14:17
funginope, it's ubuntu14:17
fungiubuntu patched a security hole in the versions of git they distribute14:18
dansmithright, I understand :)14:18
dansmithwe must be running apt-upgrade on our workers at some point to be getting that, right?14:18
fungiit will appear in all supported ubuntu versions soon if it hasn't already, and presumably most other distros too14:18
dansmithyeah I know, just trying to understand and think about ways to get out of jail sooner.. I'll drop it and leave it to the experts, sorry for the noise14:19
fungiwe build fresh images every day, so whatever the current versions of ubuntu's packages are, that's what we run tests on (because we assume our users aren't avoiding installing security fixes in their deployments)14:19
fungithankfully, we have a ci system which has caught that devstack no longer works with security-patched git versions, so it's a sign we need to fix devstack14:21
fungimy idea is that we can fix it by separating wheel building (which needs to run pbr/git) from wheel installing (which needs to run as the root user), but i'm not all that well-versed in devstack internals so fumbling my way through. i expect others are trying alternative approaches14:24
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate sdist building from installation  https://review.opendev.org/c/openstack/devstack/+/83773114:35
clarkbfungi: your idea seems good except I'm not sure if you can do an editable install against an sdist or wheel?14:37
fungiclarkb: we probably need to give up on editable installs anyway. their days seem to be numbered based on the pep-660 discussions in the python community and among the setuptools maintainers14:37
clarkbah ok, and ya that feature seems less important than working at all :) devs can learn to reinstall 14:38
clarkbok school run, back in a bit14:38
fungiin particular, the setuptools maintainers have been suggesting that continuing to support editable installs is at odds with future development priorities they have14:38
fungithere are definitely people in the python community who want editable installs to stick around, but i'm not sure they'll win out14:39
fungii would say, if people do want editable installs in devstack, that's a reason to re-raise the venv solution. having the root user install packages which are backed by editable files owned by a non-root user seems really fragile14:43
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate sdist building from installation  https://review.opendev.org/c/openstack/devstack/+/83773114:56
johnsomI can't remember, why have we not gone down the venv path? Other than the required effort of course.15:05
opendevreviewFrancesco Pantano proposed openstack/devstack-plugin-ceph master: Deploy with cephadm  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/82648415:05
fungiclarkb: if you're interested, what progress there has been on editable mode rework in setuptools is most recently summarized at https://github.com/pypa/setuptools/issues/2816 and https://discuss.python.org/t/1485515:07
clarkbjohnsom: I tried valiantly when pip broke us in devstack due to not being able to uninstall distro installed distutils packages. There wasn't enough momentum to make the switch and getting it to work with grenande and ironic was tricky (doable though)15:15
clarkbjohnsom: basically we lacked critical mass of people interested in doing reviews and dealing with the likely fallout15:15
clarkbthe changes are still up (might be abandoned) if anyone wants to resurrect the effort. I'm not sure I've got it in me to try agin myself15:16
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate sdist building from installation  https://review.opendev.org/c/openstack/devstack/+/83773115:21
johnsomclarkb Ok, thanks. Yeah, we switched to venv for the amphora agent in our images in Ussuri to get away from the conflict issues with the distro packages. It has served us well.15:22
clarkbjohnsom: from memory I got grenade working via two separate virtualenvs. The last known problems were due to ironic and how it runs random commands in weird ways to do their more all in one testing iirc15:23
johnsomI can imagine that was a large effort to work through.15:26
clarkbfungi: left a couple of thoughts on 83773115:30
fungithanks!15:31
fungiclarkb: responded, and also the preliminary results on 837731,4 bear out your supposition about editable mode... "ERROR: /opt/stack/keystone/dist/*.tgz is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with svn+, git+, hg+, or bzr+)."15:57
fungii'll see if dropping -e gets things to go farther15:57
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773116:10
clarkbI dunno if we need to tell openstack to stop approving changes but it seems like the gate has been busy failing16:16
gmannI think let's get this in to unblock the gate and then 837731 in parallel ?  https://review.opendev.org/c/openstack/devstack/+/83765916:19
dansmithgmann: +1 .. as I noted in there, that avoids breaking everyone's assumption about editable trees in the short-term, and appears ready to go16:20
gmannlet me make grenade non voting for now. merging the things in reverse order for stable branches is little complex and take time by seeing EM stable branch also has grenade jobs16:21
clarkbya I think my only concern with it is that it makes a system wide decision on the host for all usage of git. That said devstack has made ltos of system wide impacting decisions.16:21
dansmithack, I hate to do it, but the time-to-fix is more important It hink16:22
clarkbgmann: can you explain why merging this in the proepr order is not possible?16:22
fungiyeah, i'm focused on the mid-term solution at this point, with an eye to getting rid of sudo pip install in favor of venvs as the longer-term solution16:22
fungishort-term fix seems straightforward if not great16:22
clarkbit isn't complex. You just do depends on and zuul handles the rest16:22
gmannclarkb: it is possible but take time to unblock the master gate16:22
clarkbgmann: its the same amount of time as landing a single change assuming testing is stable (a big assumption I know but a good reason to remind people why this matters)16:22
clarkbevery time this sort of issue comes up we end up makign the situation worse by not following the path that works out of the box16:23
gmannclarkb: which is not case for many stable testing especially EM branches16:23
clarkbwith grenade ending up disabled in a bunch of places people don't realize and then landing broken upgrades in the interim16:23
clarkbEM branches aren't supposed to grenade though16:23
gmannmaking non voting and then voting also does not harm 16:23
clarkbgmann: it absolute ly does16:23
clarkbthe last time we ran into this it took weeks to untangle the resulting mess16:24
gmannwe do it in a stack16:24
clarkbif we had just done it properly it would've been done and we could move on. But moving to non voting or removing the tests (what happened last time) made a huge mess16:24
fungithe period of time where grenade is non-voting is an opportunity for upgrade-breaking changes to slip through16:24
gmannlet me propose both non-voting and then revert of it so that we merge them in single shot16:24
dansmithhow far back do we have to go? I assumed to any branch we're testing because the CVE likely made it to xenial right?16:25
clarkbfungi: right from memory what happened last time was that the necessary backports didn't end up happening so all the non voting/removed grenade jobs stopped providing signal for long enough that a problem or two landed. Then when we tried to undo the grenade removal it ended up being as painful as just fixing the thing in the first place16:26
clarkbdansmith: I think just to bionic16:26
gmanndansmith: till victoria 16:26
gmannvictoria 16:26
dansmithyeah, which release is what I meant16:26
dansmithso we have to land v,w,x,y, and then master before we're fixed right?16:26
clarkbopenstack shouldn't be doing any more xenial testing at this point. We're working on removing xenial from our CI options and openstack wasn't on the list iirc16:26
clarkbdansmith: yes, but you can set depends on and they can enter the gate together16:27
clarkb(and we can direct enqueue etc)16:27
dansmithpresumably we could direct enqueue the pair of non-voting,revert too right?16:27
fungidansmith: if you consider stable branches as supported by the openstack developers, then we have to merge v,w,x,y, and master before we're fixed regardless of which order they merge in16:27
gmannclarkb: we have that in EM branches, we might need to do EOL them first. but another topic.16:27
dansmithfungi: right but unblocking master is by far the most important16:27
fungiis it?16:28
johnsomWouldn't pinning the git package be a safer interim fix?16:28
gmannany stable < victoria has grenade jobs non voting so yes till victoria16:28
fungijohnsom: pinning it how?16:28
dansmithjohnsom: already suggested that :/16:28
clarkbgmann: dansmith  remember you have to land the fix in yoga at least too16:28
clarkbto unbreak master16:28
clarkbyou cannot pin ubuntu packages16:28
johnsomPull the package from kernel.org (or our mirrors) then mark it in apt as pinned so it can't upgrade16:28
clarkbthey get pruned16:28
gmannyeah16:28
clarkband they are gone16:28
fungijohnsom: building git from source?16:29
johnsomwget http://mirrors.edge.kernel.org/ubuntu/pool/main/g/git/git_2.25.1-1ubuntu3.2_amd64.deb is what I did for the test yesterday16:29
fungiand yeah, the debian/ubuntu word for pinned is "held"16:29
gmannah we have neutron grenade job also in devstack gate16:29
dansmithclarkb: that's what we have to do to get people to merge things that are running grenade, yes, but at the point where we've merged the devstack fix then we can at least be getting runs.. right now nobody can even get a test result16:30
clarkbI think we should avoid installing insecure software intentionially when we have other valid workarounds. Even if the valid workaround is "restore older insecure behavior in a specific case" because then other uses of the software can be secure16:30
dansmithjohnsom: right that was my first suggestion this morning and still seems totally reasonable to me16:31
fungiso not pinning git, just downgrading hit and marking the package as held. i still think that's not a great signal to send to users: here you should avoid this high-profile security fix because openstack has spent years avoiding solving a packaging anti-pattern that the python packaging community and distros agree is a terrible idea16:31
johnsomDon't use my patch as it was quick/dirty and pulls the package multiple times.16:31
clarkball that to say +2 on ianw's change. I would prefer we land the sequence. If you make grenade non voting instead you still need to land the sequence so why don't we start on that now. I can work on pushing those changes16:31
johnsomYeah, but I'm not a fan of secretly disabling the feature globally on people either16:31
clarkbto be clear I'll push the "stack" of backports with appropriate depends on. I won't do the non voting stuff. But they can happen concurrently as non voting should still want the stack to land asap16:32
dansmithjohnsom: it's blessing individual repos not disabling entirely, so it's pretty targeted16:32
clarkbdansmith: exactly. It onyl does it for the repos that devstack configures/clones16:32
johnsomOk, I missed that fine tuning16:33
gmannclarkb: sure, please propose the backport. and let's see how much time it take to unblock master gate.16:33
dansmithright, you're already giving devstack the keys to your system to make all sorts of changes, so I don't think trusting the repos you're installing and running with privs is a big deal16:33
fungiright, the config is path-specific16:33
gmannmore than stable, I still think unblocking master gate is most important things we should do ASAP16:34
dansmithmost definitely16:34
clarkbI guess if I put the depends on in the changes then switching to non voting won't help16:34
clarkbsince they have to land in order16:34
fungimerging additional changes to master is more urgent than fixing the problem?16:34
clarkbI'll push them up with depends on only on the stable branches then yall can disble grande on master if you want and land it as is16:35
dansmithI don't want to disable grenade unless we have to, but the risk vs. nobody being able to even see test results for two more days is acceptable, IMHO16:36
dansmithif we can really sail through a big stack in six hours, then doing it the right way makes sense to me16:36
clarkbIt depends on how stable stable testing is and I'm not clued into that right now16:36
dansmithright, that's my concern16:37
gmannthat is the main things and my concern that it will take time16:37
fungii guess i have a fundamental disconnect with the idea that the most important thing is that people can merge changes without being impeded by annoying bugs in their software (and to be clear, devstack is the openstack community's software)16:37
gmannbut you can propose and if we all see merging them taking time then we can go wioth grenade non voting16:37
fungibut i'll set that aside for the sake of pragmatism16:37
opendevreviewClark Boylan proposed openstack/devstack stable/victoria: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774516:38
gmannfungi: its bug in how we are creating the test env not in openstack as software so blocking that for longer does not make sense to me16:38
dansmithagree16:38
fungimakes sense, openstack should stop using devstack, i agree16:39
gmann"a things in ubuntu security patch and openstack is all blocked for development" 16:39
opendevreviewClark Boylan proposed openstack/devstack stable/wallaby: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774616:39
fungian important security fix in ubuntu finally undercut the house of cards that is the sudo pip install approach we should never have used to begin with because it was as terrible an idea 12 years ago as it is now16:40
clarkbwell to be fair I made a large effort a few years ago to fix these calsses of problems in devstack and I couldnt' get any buy in16:40
clarkbno one wanted to invest in preventing these erros so here we are16:40
opendevreviewClark Boylan proposed openstack/devstack stable/xena: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774716:41
dansmithfungi: I don't want toi get into an argument, but I really don't think the security concern of this change really impacts us here.. we're already running anything anyone submits to the system as root, so the concern about leakage within a single system is not really relevant, IMHO16:41
gmanndefinitely we need more better testing env and infra and more imp than people to help there. it is causing more issues in OpenStack development day by day now. and I am not sure how to fix it 16:42
dansmithdevstack is not a deployment tool, it's a development tool and it does all kinds of things that are not ideal for deployment to make development easier16:42
fungidansmith: i'm not disagreeing with the pragmatic workaround, just pointing out that we're sleeping in the bed we've collectively made16:42
opendevreviewClark Boylan proposed openstack/devstack stable/yoga: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774816:42
dansmithclarkb: should we be +Wing those now?16:42
clarkbok all of those stable changes have the approprate depends on and if reviewed and approved should end up gating in a way that makes grenade happy assuming victoria was really how far back we need to go16:42
clarkbdansmith: if we think that ianw's worakround fix is the one we want (at least for the shrot term) then ya I think it is safe to +W them16:43
clarkbI'm checking now if the victoria chagne is running grenade (it shouldn't)16:43
dansmithclarkb: ack, thanks for doing that16:43
clarkbthe victoria change is running grenade16:44
clarkbwhich means I didn't go back far enough16:44
clarkbgmann: ^ is this a bug in the victoria job defs or do we need to go back to ussuri?16:44
gmannyeah, let' try and see how fast they merge16:44
dansmithmaybe we should drop grenade underneath on V?16:44
gmannclarkb: ussuri also to unblock vistoiria grenade 16:44
gmanndansmith: yeah but once that is EM16:45
clarkbok one sec ussuri change incoming16:45
gmanndansmith: oh ussuri is EM then yes you are right we can drop on V16:45
dansmithclarkb: ^16:45
opendevreviewClark Boylan proposed openstack/devstack stable/ussuri: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774916:46
clarkboh ok I can abandon ^ if someone wants to pusha change to remoev grenade from victoria16:46
gmannclarkb: you can make them non voting as other stable EM branch have and if anyone want to fix then they backport this ^^ in ussuri or actualy fix16:46
gmannactual16:46
gmannclarkb: I mean make grenade non voting on victoria backport only16:47
clarkbgmann: the problem isn't in the EM branch the prioblem is in victoria16:47
clarkband victoria shouldn't switch to non voting it should delete the job16:47
dansmithcan we do that without changing templates?16:47
gmannclarkb: agree but EM maintainers keep them as non voting16:47
gmannevery other EM are having grenade job but non voting16:48
clarkbugh you shouldn't have gating jobs as non voting16:48
clarkbthey should be removed16:48
gmannits in check pipeline only I think16:48
dansmithI can push this, if it's right: https://termbin.com/9t6e116:49
clarkbgmann: I think it is best if you modify the jobs as I'm not aware of how you have been organizing them (and my initial impression is that I need to go and change it anyway :P)16:49
dansmithgmann: it's in gate too16:49
gmannclarkb: yeah I am not worried about EM things, I tried to remove it completly many times but they are added back as non voting16:49
clarkbright but we are not talking about EM things16:50
clarkbwe are talking about victoria16:50
clarkbvictoria as the oldest supported release should not run grenade any longer was my understanding of how we handled the oldest branch16:50
clarkbbut if that isn't the case please feel free to push what you would like to see to make victoria testing pass16:50
clarkbassuming it fails here. I guess bionic may not have gotten the git fix /me checks16:50
clarkbhttps://ubuntu.com/security/notices/USN-5376-1 says bionic did get it so I expect victoria to fail too16:51
gmanndansmith: I mean any branch in EM has them as non voting but in check pipeline only https://github.com/openstack/devstack/blob/stable/ussuri/.zuul.yaml#L63116:51
clarkbgmann: ok and you are suggesting we make victoria match that?16:52
dansmithgmann: I'm saying in victoria, it's in the gate queue as voting16:52
gmannclarkb: I am dropping them completely in Victoria and if any EM maintainer comes they can add as non-vting or so  16:52
dansmithI don't know if that works for victoria because it uses the templates16:52
gmannyeah as ussuri is EM and grenade in victoria test ussuri->victria then we can just do nt worry about it in victoria too16:53
dansmithgmann: so you're pushing a patch?16:53
clarkbits interesting that it uses the template but then also redefines things. I think if you set non voting at the project level under the grenade entry there it will do the right thing16:53
gmanndansmith: we do not use template in devstack gate16:53
gmannclarkb: because of it ^^16:53
clarkbgmann: https://github.com/openstack/devstack/blob/stable/victoria/.zuul.yaml#L638 that one16:54
clarkbit defines grenade16:54
dansmithexactly16:54
gmannclarkb: dansmith ah sorry again I was checking ussuri so that also goes away https://github.com/openstack/devstack/blob/stable/ussuri/.zuul.yaml#L56416:54
gmannvictoria: stop template and make grenade as non voting ^^ like we did in ussuri16:54
clarkb++ if you do that I'll happily Approve it16:55
gmannclarkb: you will do it in that backport itself? that will be faster to merge the things16:55
clarkboh good point. I guess I can do that. Give me a moment16:55
gmann+116:55
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773116:55
opendevreviewClark Boylan proposed openstack/devstack stable/victoria: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774516:58
clarkbgmann: ^ I think that will do it? the other stable branch cahgnes will need to eb rechecked now16:58
* clarkb does that16:58
clarkbgmann: dansmith: thinking out loud here, if we leave the depends-on off of master that helps with non voting changes should you wish to do that if stable isn't stable. But if stable does manage to enqueue to the gate then we could manually enqueue the master change behind the stable changes17:02
clarkbbasically doing the depends on manually17:02
gmannlet's see how it goes and if we are stuck in any of stable then we can go for non voting17:03
dansmithso we should stack +Ws on the other backports so that they'll merge ASAP yeah?17:06
clarkbyup17:06
gmannyeah17:09
dansmithgmann: same for the master one right?17:20
clarkbthere are failures on victoria jobs but so far only on non voting jobs17:20
clarkbgmann: dansmith  ya if you +W the master one it won't enqueue auitomaticaly but I can volunteer to enqueue it if the others enqueue ahead of it17:20
clarkband it needs  +W for me to enqueue it that way17:21
gmannclarkb: but it does not have depends-on17:21
clarkbgmann: yes that is why I will have to manually enqueue it17:21
gmannok17:21
clarkbwhich I can do to keep our options open17:21
gmanndone17:21
clarkb(trying to keep the best of both options available right now)17:21
gmann+W17:21
clarkbthanks!17:21
dansmithclarkb: no depends-on on that one though17:23
clarkbyup I'll have to manually enqueue it when the others enter the gate17:24
gmanndansmith: yeah, he will enqueue that after table/yoga one so it would run before stable/yoga is merged17:24
gmannclarkb: even the check pipeline too as it will fail otherwise17:24
dansmithack, I got it now, just wanted to make sure we weren't missing (the important) one :)17:24
clarkbif I add the depends on then it makes a pivot to non voting grenade on master less useful since theyoga change would still have to merge first. This allows us to keep that option open with a little manual intervention which I'm happy to do17:25
clarkbfeel free to ping me when the yoga change enters the gate though I will try to watch out for it too17:25
gmannsure17:25
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773117:26
gmannfungi: clarkb on xenail support. stable/pike till stable/rocky EM branches use the Xenial node on testing.17:30
fungiyeah, we'd like to get rid of xenial nodes soon17:31
fungistable/rocky is pretty ancient anyway17:31
clarkbgmann: hrm we're definitely trying to delete those images (we still use them to test some stuff on the infra side so not immediate). Would be good if we can work towards cleanign some of that up. I was just talking to pabelanger about it since windmill uses xenial17:31
gmannin that case we need to wait for them to be EOL17:31
gmannand I totally ok to do that, but its EM team decision 17:32
clarkbwell no17:32
fungiwell, i'd say it's the other way around. they can be eol as soon as you want or just remove any jobs for them which need xenial17:32
clarkbthe distro is well past its sell by date17:32
clarkband we're saying we cannot support it anymore17:32
clarkbwhether or not they eol the branches is up to them but not the removal of xenial17:32
gmannI think every job use xenail so if we remove those job it will be almost zero testing17:32
clarkbthat may be and it would be up to the EM team if they want to try and make bionic or some other option work17:33
fungiwe always said em branches could exist as long as we can run jobs for them. if we're removing the nodes they require, then it's time to eol them17:33
dansmithxenial is just now end of support, AFAIK17:33
clarkbdansmith: was last year in april17:33
fungijust now a year or so ago17:33
dansmithoh it is 2022 already, huh?17:33
clarkbya 2020 never ended so it can be confusing17:33
gmannyeah, that is good time. I am very less focusing on those EM17:34
gmannkeeping them untested and as EM is not good, i prefer we do EOL17:34
dansmithack, so yeah, makes sense to drop at that point I think17:34
clarkbthe infra team/opendev does occasioanlly keep things past the sell by date simply beacuse we don't have time to cleanup everything on time, but we don't intend on keeping things alive beyond that point17:35
fungiwe've already had those em branches for 2-3x as long as we used to keep branches open17:35
clarkbbut the more releases we support the more image builds that we have to keep working and we need more disk for the set. Also more disk for the mirrors and so on17:35
fungiso i'd say they've had a good run17:35
clarkbfungi: ++17:36
gmannwhen is plan for xenail image removal?17:36
clarkbgmann: right now we're asking people nicely to stop using them. we haven't gotten to the point where we're forcefully removing it htough I suspect that will eventually happen if askign nicely stops making progress17:37
fungithe bulk of opendev's own need to test on xenial will be gone once we turn off the logstash/elasticsearch systems17:38
fungiwe still havea  few straggler services which are deployed on xenial servers right now (with gratis security support from canonical for those handful of servers), but they'll be reworked or turned off soon17:39
gmannsure, that is nice way. but let me know if any deadline you plan so that we can discuss in openstack in TC and EM SIG to take decision on those. and stable/victoria will be EM soon so even we remove until stable/rocky we have 4 EM branch + 3 Maintenance branches. 17:39
clarkbgmann: well I think the deadline was april 2021. The fact that we don't have the bw to keep up with that is an implementation detail :)17:40
fungiheh17:40
fungi[sad laugh]17:40
dansmithclarkb: but it's still the 42nd month of 202017:41
dansmithso, unrelated to all this mess,17:42
dansmithgmann: are you generally cool with something like this? https://review.opendev.org/c/openstack/devstack/+/83713917:42
dansmithgmann: it has already set off clarkb's memory footprint alarms, which I see as a good thing,17:42
dansmithand if we can get some averages via logstash then we can also highlight specific patches that make big changes I think17:43
dansmithI still need to make it work on non-ubuntu systems (for the apache logs) and re-enable the other jobs it disabled for debug17:44
gmanndansmith: sure, it is good idea. so you plan to enable it in base devstack job by default?17:45
dansmithI would like to unless there's some reason not to, for a couple reasons:17:45
dansmith1. I'd like to be able to check almost any run for overages because that's how we'll catch things17:46
dansmith2. I think the averages (per job) are important and we only get that if it's run widely17:46
clarkbI think its nice to have the summary too17:46
clarkbas it exposes "hey maybe privsep is a problem" etc17:46
gmannyeah, I was thinking the same and then only it will gather the data per patch on project side too17:46
dansmiththe only reason to not do it everywhere is if it impacts performance, but so far I think it doesn't17:46
gmannyeah, it should not17:47
dansmiththe mysql performance_schema is the only thing that might, but it seems okay17:48
dansmithit would be nice if we could summarize potential issues in the gerrit findings tab, but I haven't looked into what I need to do to make that happen17:48
clarkbdansmith: there is a way to have a zuul job comment back (it does this for linter failures). You could theoretically use that tooling17:52
dansmithoh, that'd be cool17:52
clarkbI'm not sure what lines you would comment on for this though, but that seems solveable one way or another17:52
dansmithdoes it have to be per-line and per-file?17:52
clarkbyes I think so. It was really built to target the linter use case. But I think it is the onyl way to get a generic message back to gerrit from zuul17:54
clarkbotherwise its all pass/fail and link to the zuul page for the job17:54
dansmithokay, I figured the gerrit findings tab would maybe parse a test result file from somewhere, so I thought that'd be an avenue as well17:54
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773117:54
fungiclarkb: ^ so one downside to the `pip wheel` idea is that by default it wants to create wheels for all your dependencies if they aren't already available. i think --no-deps will address that, but it's not completely clear from the docs18:02
clarkbwow18:03
fungianother way to put it is that unlike build or setup.py bdist_wheel, it uses the same output directory for all the wheels it builds in the process of making the wheel for the project you asked it to18:03
clarkbthough I guess it will do that anyway when you install on the next step18:03
clarkbso maybe six one way half a dozen the other18:03
fungiwe only want to install the project from file though, since otherwise we get a constraints conflict18:04
fungiERROR: Could not satisfy constraints for 'alembic': installation from path or url cannot be constrained to a version18:04
clarkbah18:04
clarkbhrm maybe we do need to install build then? Or I guess --no-deps might address it18:05
fungiwe asked to make a wheel for keystone, but we got a directory full of all its deps too, so installing *.whl is the real issue18:06
fungiif i could be confident in the mapping of repository directory name to package name then i could get more specific with the pip install command18:06
clarkbbut they don't have to be 1:1 beacuse python18:06
fungiright18:07
fungiwhich is why i'm punting with *.whl and hoping there's just the one18:07
fungihttps://zuul.opendev.org/t/openstack/build/ae5288292fae4957a7e11094ba5bf3ac for an example18:07
clarkbhttps://zuul.opendev.org/t/openstack/build/f75eafbc3dee4f75a4e588ff443a5396/log/job-output.txt#6541 the failure there is interesting. This is the devstack bionic platform job running against the victoria change. It seems to ahev failed due to this sameissue?18:09
clarkbI expect grenade to fail due to using the ussuri devstack and it did18:09
clarkbbut it isn't clear to me why regular devstack on bionic would fail. https://zuul.opendev.org/t/openstack/build/c1c88e45a4714f87bc6ff36271ca5ab4 the non platform devstack job against the victoria chagne passed. Oh that job ran against focal18:10
clarkbinteresting18:10
clarkbI wonder if the bionic backport of the git fix isn't respecting the config change18:11
clarkbconsidering victoria and forawrd are apparently focal I think we can punt on that for now, but look into it as the focal dust settles18:11
fungiokay, the new challenge is swift's [keystone] extra. seems `pip install *.whl[keystone]` looks for a literal file named "*.whl[keystone]"18:12
fungifile globbing and extras may be incompatible18:13
clarkbfungi: looking at the stackoverflow link I shared that is realted some people suggest using foo[bar] @file:///path/to/*.whl ?18:14
clarkbits definitely getting into the interesting specifier behaviors of pip there though18:14
fungialso possible the directory i specify is just empty and i'm misreading https://zuul.opendev.org/t/openstack/build/0ef85bbbd3c445f58ef6e63df6c684c518:15
fungiCreated wheel for swift: filename=swift-2.30.0.dev15-py2.py3-none-any.whl18:15
fungiStored in directory: /tmp/pip-ephem-wheel-cache-xfd4f_o4/wheels/e0/26/0f/cc230019e3234482179c817141568d604c0861c9f7adf85dd818:15
fungipip_install '/tmp/tmp.JOHjaWAneK/*.whl[keystone]'18:15
fungithere's no output indicating it was moved from the wheel cache to the tempdir18:16
fungibut it could just not log that18:16
fungicould also be the quoting around the pip_install parameter breaking globbing18:16
fungithing is, in the script it looks like this:18:17
fungipip_install $flags "$dist_dir/*.whl$extras"18:17
fungiso i'm starting to suspect $dist_dir/ is just empty18:18
fungiguess i'll add an ls in there to find out18:19
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773118:20
clarkbonly one voting job needs to pass at this point to get the whole stable branch set into the gate (tehre are a number of non voting jobs too)18:28
gmann we can backport the openEuler moving to experimental in stable/yoga but after we merge this stack. 18:37
gmannthat is taking time18:38
clarkbI've got the master change enqueue to the gate command ready to go once that yoga change enqueues18:46
clarkbthen I'm going to make lunch while they gate18:46
gmannthanks 18:46
clarkbif anyone has time I think the next thing is looking at why this seems to still break on bionic (visible on the victoria change)18:47
clarkbok the whole stack is in the gate now18:52
clarkbin the right order for the master change to actually eb able to merge18:52
dansmithclarkb: git in bionic honors the safe thing, so I dunno why it's not when pip does it19:13
fungiokay, so https://zuul.opendev.org/t/openstack/build/f440b7373c0a42b3beef0902dd94bc7a indicates that the wheel is there (and now the only one), so it's got to be the parameter quoting which is the problem, i just can't see where it's happening19:13
dansmiththe only thing I noted is that we're writing ~me/.gitconfig and not ~root/.gitconfig, so I'm actually surprised that it's working for us under sudo, and I wonder if that is because $HOME tells us to keep using ~me19:14
dansmithso like maybe pip or sudo on bionic is handling that differently?19:14
sean-k-mooneyare we passing -EH to sudo19:15
dansmithyeah just looking at that19:16
sean-k-mooneyto preserve teh enviornment and home dir19:16
dansmithnot preserve but anti-preserve right?19:16
dansmith-H makes $HOME=~root yeah?19:16
sean-k-mooneyi tought it was the other way around but i have not checked in a while19:17
dansmithnope19:17
dansmithroot@ubuntu:/opt/stack/keystone# sudo -Hs19:17
dansmithroot@ubuntu:/opt/stack/keystone# echo $HOME19:17
dansmithshows /home/dan without -H19:17
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773119:17
sean-k-mooneyok so -H set the home dir to the dir of the requesed user19:17
sean-k-mooneybut -E preserves the env19:17
sean-k-mooneyso -H will use HOME=/root ya19:18
fungiand here i always thought sudo -EH was for canadian mode19:18
dansmithwe're not using -E on victoria devstack at least19:18
dansmithalso not -E on master, AFAICT19:19
fungikeep in mind that ~ expansion may be happening in the calling shell before sudo operates on the result19:20
dansmiththere's no ~ going on here19:20
dansmithI was just using it symbolically19:20
dansmithso with ~/.gitconfig set to "safe" the current repo,19:21
fungioh, got it. roughly where in devstack is the call?19:21
dansmithI can "sudo git show" but I can not "sudo -H git show"19:21
dansmithand we're doing sudo -H pip install, which ends up calling git much later19:21
fungiand yes, sudo -H will definitely impact where it looks for the "global" (per user) .gitconfig19:22
dansmithso I dunno why it's different in either later devstacks or focal, because it seems like it's doing the right thing in bionic19:22
dansmithright, so we probably need to be writing root'19:22
dansmithroot's git config and not the stackuser19:22
sean-k-mooneyor both root and stack19:22
dansmithI just don't know why it's working in the later ones19:22
dansmithsean-k-mooney: yeah, actually both you're right19:22
sean-k-mooneydepending on if its devstack or pip that is invoking it19:22
dansmithwell,19:23
sean-k-mooneythings like reclone=true will work as stack19:23
dansmithnot just that but just because we could have other permissions issues19:23
fungihow the version of git on bionic looks for its .gitconfig may differ from how the version on focal does it19:23
dansmithfungi: it's possible, but seems unlikely to find stackuser's19:23
sean-k-mooneyapprently git will look at /etc/gitconfig19:24
dansmith(since we're not calling with -E)19:24
sean-k-mooneycoudl we just put it there19:24
dansmithoh, maybe *that* is the difference19:24
sean-k-mooneyhttps://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration19:24
dansmithmaybe --global on focal is setting it there?19:24
dansmithso,19:25
dansmithon focal "sudo git config --global" writes ~root/.gitconfig19:26
dansmithbut on my bionic tester, it clearly wrote ~dan/.gitconfig19:26
dansmithso maybe we need -H on the actual git config run19:26
sean-k-mooneyso there are 3 levels, system, global and local.19:26
dansmithyeah19:26
sean-k-mooneyif we user --system instead of gloabl it should use /etc/gitconfig19:26
sean-k-mooneyand work for everyone unless you override it at "gloabl" or local scope19:27
dansmithyeah, sudo -H git config --global makes it behave on bionic the way it does for focal19:28
dansmithso fungi is probably right about them finding gitconfig differently, but not in the place I was assuming.. meaning not during pip, but during the git-config call19:28
dansmithyep, that fixes it for bionic for me19:29
dansmithso clarkb I say let the current stack go in as it is, and then we can either add -H and backport like normal, or move to --system (if that also works)19:29
clarkbdansmith: catching up but ya I thin kt he current stack is working so we can finish landing it then cleanup in followups19:29
clarkbI guess git learned to check its user rather than $HOME in newer git or something19:30
dansmithprobably19:30
sean-k-mooneythat or maybe there is an alias of sudo or somthing on focal/bionic that adding -H19:30
* dansmith tests --system19:30
dansmithokay --system does write it to /etc/gitconfig as expected on bionic.. waiting to see if it's honored by the pip call19:31
gmannclarkb: dansmith seems master one hitting centos9 stream failing https://zuul.opendev.org/t/openstack/build/4081df7c08634ee1acbb60edc3f3b7ae19:32
dansmithgmann: well, I for one, am shocked19:33
clarkbgmann: I think that is the pypi issue19:33
clarkbI can reenqueue it19:33
dansmithyeah, --system is working on bionic under pip too19:33
dansmithso I think that's the way to go, for reasons I just commented on in the master patch19:33
sean-k-mooney+19:34
sean-k-mooneythe only down side to that is if you are shareing a host with other but that is not our use case19:34
clarkbthe master change has been reenqueed19:35
clarkbdoes anyone else want to do the --system change or is that something I can be helpful with by pushing and stacking up again?19:35
sean-k-mooneyclarkb: if you or dan want to do the system change go for it19:37
opendevreviewDan Smith proposed openstack/devstack master: Write safe.directory items to system git config  https://review.opendev.org/c/openstack/devstack/+/83775919:37
sean-k-mooneyi was just loging off19:37
dansmithdoneski ^19:37
sean-k-mooneyah 19:37
dansmithclarkb: also don't believe what you hear.. sean-k-mooney never logs off19:38
sean-k-mooneyactully i dont i just lock my screen but one last question 19:38
sean-k-mooneyis git smart enough not to keep adding the same option19:38
clarkbsean-k-mooney: yes it is19:38
sean-k-mooneycool19:38
clarkbor at least I'm pretty sure of that19:38
clarkbgerrit usees the same system and it dedups19:39
sean-k-mooneyi was just wondering if unstack needed to do something here19:39
dansmiththe options are duplicated actually19:39
dansmithbecause they're all directory=19:39
clarkboh this one might be special then19:39
dansmithI have not yet seen it re-create the same thing though19:39
dansmithunstack should clean this anyway I think19:39
dansmithI can add that to my system patch19:39
sean-k-mooneythat might be a littel harder too do sicne you wont have a nice hook point like clone19:40
sean-k-mooneyi guess you coudl hook into the service stop maybe but if you jsut want it to work for evnerything out of the box including plugins19:41
sean-k-mooneyim not shere where to put it so that it always gets called19:41
dansmithI think sed is more than adequate for unstack ;)19:41
sean-k-mooneythat slight nicer the the rm -f /etc/gitconfig i was thinking19:42
dansmithdirectory=$DEST.* should be plenty careful19:42
sean-k-mooneyya19:42
sean-k-mooneyok cool 19:42
sean-k-mooneyin that case im going to get dinner o/19:42
clarkbgit config also has a --unset flag19:42
clarkband --unset-all19:43
fungiokay, i think it's appending the extras in the command with the file glob which is making the shell not glob, i'll have to expand it with a subshell19:43
clarkboh!19:44
clarkbthat makes sense19:44
dansmithclarkb: ack, but unless you feel strongly, I like to clean up in a way irrespective of the current local.conf because I often change my local.conf, unstack and restack, and it's annoying when we don't clean up things once we're no longer configured19:44
dansmithI also don't know how those will work if we wanted to only unset *our* directory things, since they're all the same key I dunno if --unset would kill user's items too19:45
dansmithyeah, --unset safe.directory doesn't take a value, and will nuke *all* the safe directories19:46
clarkboh thats a good point19:46
opendevreviewDan Smith proposed openstack/devstack master: Write safe.directory items to system git config  https://review.opendev.org/c/openstack/devstack/+/83775919:46
clarkbya I agree we should be careful to only unset the devstack repo values19:46
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773119:50
fungiused bash magic involving arrays in order to avoid the subshell19:51
* fungi puts away his magic wand19:51
opendevreviewMerged openstack/devstack stable/victoria: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774520:01
fungione down!20:03
dansmiththe master one is failing a lot20:07
dansmithrax problems?20:07
dansmith /usr/share/python-wheels/urllib3-1.25.8-py2.py3-none-any.whl/urllib3/connectionpool.py:999: InsecureRequestWarning: Unverified HTTPS request is being made to host 'mirror-int.ord.rax.opendev.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings20:07
dansmithah, I guess that's okay, but:20:08
dansmithERROR: No matching distribution found for oslo.limit===1.5.0 (from -c /opt/stack/old/requirements/upper-constraints.txt (line 332))20:08
clarkbdansmith: ya thats pypi problems20:09
clarkbunfortunately :/20:09
dansmithah20:09
clarkbbasically when pypi's CDN fails to talk to its primary backend for content it falls back to a backup backend that tends to be quite stale20:09
dansmithack20:10
clarkbso anytime pypi has problems we proxy cache the stale data. I can try reenqueuing again20:10
clarkbthe last time this happened they actually acught it on https://status.python.org/ but it looks happy this time (they usually don't notice because hitting the fallback is expected some small percentage of the time I guess)20:12
clarkbone frustrating thing about this is we notice due to our use of constraints. Many pypi users likely install old insecure software when it happens without noticing20:14
dansmithyeah that definitely sucks20:15
clarkbI would prefer that pypi just return an error if they can't serve up to date content20:15
dansmithhopefully we're about to get everything but master landed20:17
opendevreviewMerged openstack/devstack stable/wallaby: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774620:20
opendevreviewMerged openstack/devstack stable/xena: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774720:20
opendevreviewJeremy Stanley proposed openstack/devstack master: Separate wheel building from installation  https://review.opendev.org/c/openstack/devstack/+/83773120:20
fungitwo more!20:20
dansmithyoga in a sec20:21
opendevreviewMerged openstack/devstack stable/yoga: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83774820:21
fungiand there it goes20:22
dansmithclarkb: the bionic git behavior thing is what caused you to need to make grenade non-voting there right?20:26
dansmithI think gmann wanted it to stay that way anyway, so I shan't re-voting it when I backport the system fix, but at least I should see that it fixes it if that's what it was20:26
clarkbdansmith: sort of. Even if bionic's behavior was addressed initially we would need to make it non voting because ussuri devstack wouldn't get the fix20:26
dansmithoh right okay20:27
clarkbthe way grenade works is it checks out old devstack and runs that first then it checks out current for the current branch and reruns when doing the upgrade20:27
clarkbboth things would've prevented grenade from working but the ussuri dependency is the main reason for non voting and ya we want to keep it that way20:27
dansmithyeah20:27
*** arxcruz is now known as arxcruz|out20:28
fungi837731 is passing the devstack job on master, and most other voting jobs (ignoring grenade for the moment because of the state of stable/yoga when those builds began)21:13
clarkbfungi: nice21:14
clarkbI guess I should review it again now21:14
fungiso it looks like a path we can take if there's consensus21:14
fungithe array trick didn't force glob expansion to happen as early as i wanted, so i eventually resorted to echo in a subshell until someone with a better idea can make suggestions21:15
fungiaside from grenade, i still have failures from tempest and centos jobs, but haven't dug deeper on those yet to see whether they're related21:16
clarkbfungi: +2'd with a couple of thoughts.21:17
fungitempest is running into a rather fun local write permission error, i suspect as a result of dropping editable installs: https://zuul.opendev.org/t/openstack/build/2815fbe9faa34111a15ea5f40aa8ccef21:18
ianwthere's a bit much to parse in scrollback, but i'm assuming everything is still terrible :)21:18
fungiianw: less terrbile. your workaround has merged to all stable branches but not yet to master21:19
ianwi notice upstream are pushing a patch to enable '*' as a config option to disable the whole thing21:19
clarkbianw: slightly less terrible than before. We've gone with your proposed fix which has landed on victoria through yoga and is gating on master now21:19
ianwexcellent, thank you, i'll catch up :)21:19
clarkbianw: we did find that bionic git doesn't work with your fix so dansmith  has https://review.opendev.org/c/openstack/devstack/+/837759 to address taht which we should land once your fix lands and then backport per usual21:19
fungii've been exploring splitting package building from installation, since the former needs to call pbr/git but the latter needs root perms21:20
fungihowever it means no longer supporting editable mode/develop21:20
fungiapparently for develop installs, there is no separate package build step really21:21
ianwthe other thing i thought, not sure if practical, is to use something like pygit2 in pbr?  or does it bring in too much?21:21
clarkbianw: pbr intentionally avoids deps21:21
clarkbI think that may be a lot if we can't vendor a small version21:21
clarkbbut also I expect those libs to all behave this way too soon enough21:22
clarkb(since it is a security issue)21:22
fungibut also, the only reason to use something other than git would be so that we don't have to worry about the security fix in git, which basically means opting for a library which still has that security flaw21:22
fungiyeah, what clarkb said21:22
ianwyeah, but this is a big hammer that i think ignores many subtleties about what is actually unsafe, and things like containers, fuse mounting (so it all looks like you own it anyway), symlinks, etc.21:24
clarkbI agree but it is also what the main behavior expectation setter has decided to do21:24
fungiunless git backs off from this new behavior, all other implementations will probably follow suit in attempt to continue mimicing git's behaviors as closely as possible21:25
fungiso this is a fun discovery... apparently lib/horizon has (i'm guessing unintentionally) grown a dependency on editable mode installs because it wants to create secret keys at /usr/local/lib/python3.8/dist-packages/openstack_dashboard/local/_usr_local_lib_python3.8_dist-packages_openstack_dashboard_local_.secret_key_store21:31
fungithat seems really... unclean21:31
fungithat's why tempest is failing for 83773121:33
fungier, well, the tempest jobs21:33
clarkbwut21:33
clarkbhow would that even work in a proper distro install?21:33
fungihttps://zuul.opendev.org/t/openstack/build/2815fbe9faa34111a15ea5f40aa8ccef21:33
fungioh it wouldn't work in a distro install21:33
clarkbright21:34
clarkbso either distros patch it out or this is recent?21:34
fungii think it's lib/horizon's doing, not horizon proper21:34
clarkbah21:34
fungiinterestingly, the tempest-ipv6-only job passes, it's just tempest-full-py3 running into that21:35
fungiand the devstack-platform-centos-9-stream failure seems to be due to not having wheel preinstalled. i guess it comes installed as a dependency of something in the ubuntu jobs21:37
clarkbwe just need centos 9 to work now21:48
opendevreviewMerged openstack/devstack master: Mark our source trees as safe for git to use as other users  https://review.opendev.org/c/openstack/devstack/+/83765921:55
clarkbwoo21:56
gmann\o/21:56
clarkbI've rechecked https://review.opendev.org/c/openstack/devstack/+/837759 as it should pass now21:56
clarkband if we land that we should probably backport it too, but we don't need to do the whole depends on dance since the stable branches currently pass testing21:57
gmannyes21:57
gmannclarkb: can you please update it on ML also that gate is unblocked now with this wrkaround and ok to recheck21:59
clarkbyes I can send an email21:59
gmannthanks 21:59
ianwthanks for getting that one fixed!22:00
clarkbok email sent22:07
fungii also updated the ml thread recapping the build/install split experiment and suggesting a revisit of the venv solution22:10
clarkbah yup I touched on that too as I missed your email22:10
fungiit probably hit the ml only moments before yours anyway22:11
johnsomIt looks like we may need to change diskimage-builder too: https://zuul.opendev.org/t/openstack/build/b86683e35eed47b6946e02d1b156482e/log/controller/logs/dib-build/amphora-x64-haproxy.qcow2_log.txt#192822:52
johnsomHmm, maybe that is actually an issue in the Octavia element, it's pulling IDs with rev-parse22:54
johnsomNope, it's DIB source-repositories element22:56
johnsomianw This seems to be the odd git call that doesn't use sudo here. Should we just sudo this call as well? https://github.com/openstack/diskimage-builder/blob/master/diskimage_builder/elements/source-repositories/extra-data.d/98-source-repositories#L16623:01
johnsomOh, there is another one too.23:02
ianwthis change is really starting to annoy me :/23:05
johnsomlol, yeah, I'm not a fan either23:05
johnsomLooking around more, it might be best to just do the same thing here.23:05
ianwthis must be running as root, right?  so the cache directory is owned by someone else?23:07
opendevreviewGhanshyam proposed openstack/tempest master: Add releasenote to tag the end of support for Ussuri  https://review.opendev.org/c/openstack/tempest/+/83777523:08
johnsomWell, I see a mix of sudo git and just git calls in there23:08
johnsomI can push up an attempt, but I have the odd feeling this isn't going to be the only place23:10
ianwit looks like the sudo calls have always been there23:13
johnsomYeah, off my head I have no idea why this is mixed like this23:13
ianwi think it starts with https://review.opendev.org/c/openstack/diskimage-builder/+/30275 and just keeps growing23:16
johnsomWell, I posted a naive patch23:19
opendevreviewGhanshyam proposed openstack/tempest master: Use ussuri stable constraint in tox to release 31.0.0  https://review.opendev.org/c/openstack/tempest/+/83777723:22
ianw /opt/stack/octavia-lib seems odd ... that's devstack's checkout?23:23
johnsomOk, this should test that patch: https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/83777823:24
johnsomUmm, I really have no idea where that is coming from, I just copied the line from the failed job log. I can dig though and see why it's using that path.23:25
opendevreviewGhanshyam proposed openstack/tempest master: Switch back the tox constraint to master  https://review.opendev.org/c/openstack/tempest/+/83777923:25
johnsomThe end result in the image is all the python stuff goes in a venv23:26
johnsomOh, where did you see /opt/stack/octavia-lib? I only see /opt/octavia-lib23:29
johnsom The /opt/octavia-lib makes sense to me, we use that to make sure the right version of octavia-lib ends up in the image venv.23:31
ianwCaching octavia-lib from /opt/stack/octavia-lib in /opt/stack/.cache/image-create/source-repositories/octavia_lib_baadb0b1df3ae669481b30f8549af98e7d5fab0b23:34
ianwi guess it comes from https://opendev.org/openstack/octavia/src/branch/master/elements/octavia-lib/source-repository-octavia-lib#L223:35
ianwthis is ~ equal to the case of containers23:36
ianwhrm, maybe not there23:37
ianwhttps://opendev.org/openstack/octavia/src/branch/master/devstack/plugin.sh#L41 would be what sets it23:38
ianwi don't know what to do here.  so that is running outside the chroot, and copying things into TMP_MOUNT_PATH -- the mounted dib image23:44
opendevreviewGhanshyam proposed openstack/devstack stable/yoga: Move openEuler job to experimental pipeline  https://review.opendev.org/c/openstack/devstack/+/83779123:53

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