Wednesday, 2022-01-05

*** bhagyashris_ is now known as bhagyashris08:26
rpittaugood morning! I'm testing some jobs on centos-9 nodesets and I think there is a bit of a problem with the protocol for the ssh key generated on the node, we currently use RSA by default which apparently doesn't work well with the new openssl09:16
rpittauI tried using zuul_ssh_key_algorithm to change that to edcsa but it seems ignoring the value I set and it kept rsa09:16
rpittauthe error specifically is: "debug1: send_pubkey_test: no mutual signature algorithm"09:51
rpittauwhich indicates that the algorithm is not supported by the client09:51
jrosser_rpittau: there are notes about quite near the top of here https://www.openssh.com/releasenotes.html10:22
jrosser_in order to submit a patch from a centos-9 node i have added "PubkeyAcceptedKeyTypes +ssh-rsa" in my ssh config for that host10:23
rpittaujrosser_: yeah, exactly, but I was wondering if there is also a way to change the algorithm used to create the ssh key on the nodeset, I mean, it should be possible using zuul_ssh_key_algorithm but it doesn't seem to work10:34
rpittauaccepting rsa is not recommended anyway10:37
rpittauI guess it's acceptable for CI, but not for production10:37
jrosser_well it depends what yuo want to do10:41
jrosser_in my case i want to use git-review to submit patches to gerrit from an centos-9 node, so it's necessary to force a suitable key to be negotiated10:41
rpittaujrosser_: AFAIK gerrit accepts ecdsa, so no reason to use deprecated rsa10:47
rpittauanyway, I'm more focused on the reason why zuul_ssh_key_algorithm doesn't work10:49
opendevreviewMerged openstack/devstack master: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82332210:57
fricklerslaweq: do you have contacts at redhat interested in fips that might want to avoid this revert by finding a proper solution instead? https://review.opendev.org/c/openstack/devstack/+/82330310:57
slaweqfrickler: let me check who in Red Hat is mostly working on that10:59
slaweqfrickler: I think it's mostly ade_lee who proposed original patch which You try to revert11:00
slaweqYou should conctact him as he is driving this effort in Red Hat11:01
*** dansmith is now known as Guest1035111:26
opendevreviewMaciej Szwed proposed openstack/devstack stable/xena: [Stable-only] Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82331311:27
fricklerslaweq: I would, but they don't seem to be around here11:31
slaweqfrickler: I will try to ping ade_lee later today about it11:32
slaweqbut I'm not sure if he is working this week11:32
opendevreviewAndre Aranha proposed openstack/tempest master: WIP - Refactor ssh.Client to allow other clients  https://review.opendev.org/c/openstack/tempest/+/82086012:10
*** bhagyashris_ is now known as bhagyashris13:19
opendevreviewJorhson Deng proposed openstack/os-testr master: Updating python testing classifier as per Yoga testing runtime  https://review.opendev.org/c/openstack/os-testr/+/82286413:28
opendevreviewRadosław Piliszek proposed openstack/devstack stable/xena: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82331313:30
opendevreviewRadosław Piliszek proposed openstack/devstack stable/wallaby: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82346213:31
opendevreviewRadosław Piliszek proposed openstack/devstack stable/victoria: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82346313:31
*** whoami-rajat__ is now known as whoami-rajat13:59
mtreinishgmann, kopecmartin: Just a heads up I saw you talking about --black-regex vs --exclude-regex yesterday. I started the stestr 4.0.0 release prep with the PR to remove old deprecated names: https://github.com/mtreinish/stestr/pull/31714:30
mtreinishI'm planning to release that in the next month or 214:31
ade_leefrickler, hey there - slaweq told me you were looking for regarding https://review.opendev.org/c/openstack/devstack/+/82330314:57
ade_leefrickler, maybe making the change dependent on not being on openeuler is the right approach15:03
gmannmtreinish: sure, tempest has also deprecated the old param and convert them to new one while passing to stestr. so we are good from tempest side.15:29
opendevreviewDr. Jens Harbott proposed openstack/devstack stable/xena: Fix mysqladmin failure for Fedora 34 and mariadb  https://review.opendev.org/c/openstack/devstack/+/82346815:34
mtreinishgmann: ok cool. If it was an issue I could delay the release. But glad it's all good15:39
gmannyeah15:40
lajoskatonagmann: Hi & Happy New Year!15:57
lajoskatonagmann: shall I ask about deprecating lib/neutron in devstack, I mean how we can do it15:57
gmannlajoskatona: thanks. you too.15:57
lajoskatonagmann: we discussed it yesterday during the team meeting: https://meetings.opendev.org/meetings/networking/2022/networking.2022-01-04-14.04.log.html#l-5115:57
lajoskatonagmann: the issue is that we have lib/neutron and lib/neutron-legacy and the later one is "undeprecated" now15:58
gmannlajoskatona:  yeah so neutron-legacy is one we are going with right?15:59
lajoskatonagmann: exactly15:59
gmannlajoskatona: there is no standard way to deprecate in devstack. what we can do is 1. echo warning with removal deadline of say 2 release in lib/neutron (in case anyone replying on that) 2. after 2 release means in AA we can remove it AND we can rename lib/neutron-legacy to lib/neutron if that does not require more changes 16:02
gmannfrickler: anything else we need to do on this ?16:02
gmannand in 1st step we can send on ML too16:03
fricklergmann: lajoskatona: well there's two things here. one is deprecating the scripts in lib/neutron and maybe renaming it to lib/neutron-deadend or similar16:04
fricklerthe other is whether we'd still want to move the service names away from quantum. like use neutron-server instead of q-svc etc.16:05
fricklerade_lee: yes, would be great if you could propose that as a followup patch16:06
gmannfrickler: service name rename is good but I am worried it might need more work like changes in ENABLE_SREVICE configuration etc16:08
lajoskatonagmann: +116:08
gmannas first step, we can go with deprecating/removing  the script /lib/neutron 16:08
ade_leefrickler, how does one determine that you're on openeuler?16:09
lajoskatonafrickler: as q-* things didn't raised alarm for any lawyers I think we can keep them as most folks used to them16:09
gmannit will be big breaking change for many jobs/3rd party CI16:10
fricklerade_lee: they added a check function, see e.g. https://review.opendev.org/c/openstack/devstack/+/760790/41/lib/apache#8816:11
fricklerlajoskatona: gmann: hmm, o.k., quantum forever it is, then ;)16:12
lajoskatonafrickler: :-)16:14
gmannfrickler: lajoskatona or we can do 1. change in logs 2. accept both saying q-* are deprecated in doc and later we see if we can remove the q-* from configuration ?16:15
gmann1. change the log file name16:15
gmannbut that can be done as separate from deprecating/removing script lib/neutron16:16
lajoskatonagmann: You mean from screen-q-svc.txt to screen-neutron-server.txt or similar?16:17
gmannlajoskatona: yeah16:17
gmannlajoskatona: I was thinking to keep accepting -* in enable_service etc and internally we check both q-* or neutron-* services in lib/neutron-legacy or plugins and everything like log file name service name in systemd etc we use neutron-*  16:19
gmann* keep accepting q-*16:19
gmannbasically accept both q-* and neutron-* and later try to kill q-* if we can16:20
ade_leefrickler, ok thanks - I'll submit a follow up patch that uses the check function16:20
lajoskatonagmann: that sounds good16:21
ade_leegmann, so I'm still trying to understand your comment here -- https://review.opendev.org/c/openstack/tempest/+/807465/16/tempest/lib/services/compute/keypairs_client.py#8816:23
gmannade_lee: i mean lib/services/compute/keypairs_client keep accepting kwargs only and pass it to nova as it is. and its tempest tests who can generate the ecdsa key and pass in kwargs 16:24
gmannkeypairs_client does not need to do the things by itself instead just accept and pass the request params to nova16:25
ade_leegmann, right - I agree in general - its just that nova doesn't know yet how to generate an ecdsa key 16:25
ade_leewe need to add that functionality to nova 16:26
ade_leeand I can put up a review to do that - but I don't know how long it will take to merge , if I need a spec etc.16:26
ade_leetemporarily, can we generate the key here in this case?16:26
gmannade_lee: yeah, that is fine, we can do that while we will add tests in tempest. I am fine to merge the tempest patch 807465 as it is because it does not change the default behavior and provide way to test the change needed in nova side or so16:27
ade_leecool16:28
gmannade_lee: once you remove the key generation from keypairs_client and releasenote nit update I am +216:28
gmannand later once nova changes are done then we can add more tests testing with ecdsa key16:29
ade_leegmann, wait -- I thought I understand what we agreed on - but now , not so sure ..16:30
gmannade_lee: I mean I am ok to merge the 807465 once you fix my comment for keypairs_client . I will not wait for nova change to merge and everything work 16:31
ade_leegmann, the reason I wanted to keep the key generation in here is so that I wouldn't have to change tempest tests all over the place to generate a key on the client side.16:31
ade_leeonce we add the support on the nova side, we can take out the key generation ..16:32
ade_leethe key generation stuff only affects ecdsa keys ..16:32
gmannade_lee: i understand but things is keypairs_client is lib function and we cannot change it once nova generate the key by its own. we need to go with deprecation phase or so16:32
gmannade_lee: I was thinking, add new test with ecdsa key and test the nova change. and later once nova generate it by own then all tests can be run with ecsda key16:33
gmann"once we add the support on the nova side, we can take out the key generation .." so this can be done with single new tests instead of adding key generation in lib keypairs_client 16:35
ade_leegmann, yeah - it just means that I'm going to have go through all the places where we use this lib function and if using ecdsa keys, replicate this code there.16:37
ade_leegmann, that could be a bunch of places - because, of course, I'm using this to get fips tests to pass across many projects16:38
gmannade_lee: do we need to do all the places? I think doing in one new tests can serve the purpose of testing the nova change?16:38
gmannnew tests - only run if ecdsa key is configured in tempest - generate the ecdsa key and pass it to keypairs_client 16:39
gmannthat should be enough right?16:39
gmannand later once nova changes are merged then all tests can be run on ecdsa if configured16:39
ade_leegmann, let me look to see where changes will be required .. again, I'm running tempest tests with fips across nova, neutron manila, cinder .. etc .. I don't know if their tempest plugins make calls to generate keys16:41
ade_leemost do not generate their own keys and rely on nova to do it16:41
gmannade_lee: sure, I am saying we will run all with fips once nova changes are done until then just add few tests with explicit generation of key in one/few tests. Adding temporary things in user facing lib API (keypairs_client ) is not good idea. 16:43
*** Guest10351 is now known as dansmith16:46
*** akahat|ruck is now known as akahat|out17:35
opendevreviewSofia Enriquez proposed openstack/devstack-plugin-ceph master: WIP Allow the usage of Clone v2 API  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/78262417:51
opendevreviewSofia Enriquez proposed openstack/tempest master: DNM test snapshot deletion with deps on ceph  https://review.opendev.org/c/openstack/tempest/+/78239217:57
opendevreviewMerged openstack/devstack stable/xena: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82331317:59
opendevreviewMerged openstack/devstack stable/victoria: Fix tempest upper-constraints  https://review.opendev.org/c/openstack/devstack/+/82346318:17
sean-k-mooneyhi are ye currently tracking any buge with sudo -H -E python3.8 /opt/repos/devstack/files/get-pip.py19:29
sean-k-mooneyfailing with an assertion error19:29
sean-k-mooneyassert '_distutils' in core.__file__, core.__file__19:29
sean-k-mooneyhttps://paste.opendev.org/show/811945/19:30
sean-k-mooneythats on Ubuntu 20.04.3 LTS19:30
sean-k-mooneyi guess its this https://github.com/pypa/setuptools/issues/299319:35
sean-k-mooneylooks like its fixed in setuptools https://github.com/pypa/setuptools/commit/41fa663c9da93ca1af98ce2ae397c02e4b3062e819:38
sean-k-mooneyso we need setuptools v60.3.019:38
sean-k-mooneywe currently cap it to 60.2.019:39
sean-k-mooneyhttps://github.com/openstack/requirements/blob/master/upper-constraints.txt#L63319:39
sean-k-mooneyso we need to fix that19:39
sean-k-mooneyclarkb: frickler ^ have we started to see that break the gate jobs yet19:40
sean-k-mooneyit should cause all the devstack jobs to fail on ubuntu19:40
jamesbensonFYI: I found that if I run refstack (main branch) on my wallaby openstack with tempest version 29.1.0 tests pass, but if I use 29.2.0, I'm unable to SSH into the VM's that use random passwords resulting in ~6 failed tests.19:58
fungisean-k-mooney: is there a constraints update in review yet?20:11
sean-k-mooneyi dont think so20:11
sean-k-mooneythe bot might have one20:11
sean-k-mooneyi can check20:11
sean-k-mooneyi have one locally but as you know having ssh issues20:12
fungiyeah, i'm pulling it up20:12
fungisean-k-mooney: https://review.opendev.org/823447 was the last bot proposed one and it merged roughly 14 hours ago20:13
sean-k-mooney 20:14
sean-k-mooneyhttps://review.opendev.org/c/openstack/requirements/+/823556 is the most recent on20:14
sean-k-mooneybut it does not have it20:14
sean-k-mooneyoh 20:15
sean-k-mooneyits not on pypi20:15
sean-k-mooneyits tagged https://github.com/pypa/setuptools/releases/tag/v60.3.020:15
fungidifferent bot too, that's the one which proposes targeted constraints updates for specific project releases20:15
fungi823447 is from the general daily mass update20:16
sean-k-mooneybut not here https://pypi.org/project/setuptools/#history20:16
fungi823556 was merely for ovsdbapp getting a new release20:16
sean-k-mooneyack20:16
fungisetuptools' release autobuilders may not be done yet20:16
sean-k-mooneythe other way to fix this would be to downgrade to < 60 or blcklist the know broken ones20:17
fungithe good news is we may not see it break our jobs since we have a separate ensure-pip role, so it may not end up triggering the buggy codepath20:17
sean-k-mooneyya i think ill just comment out the get pip bit in devstack locally20:18
sean-k-mooneyand wait for the package to be released20:18
fungidoes the get pip bit in devstack break if pip is already installed on the system?20:18
sean-k-mooneyactully it might we worth addign a devstack macro/varible for that20:18
sean-k-mooneyyes20:18
fungiahh, okay, then we may see job failures in our ci as well20:19
sean-k-mooneystack@cloud:/opt/repos/devstack$ pip --version20:19
sean-k-mooneypip 21.3.1 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8)20:19
sean-k-mooneyit looks like we have cod for fedoa and rhel 9 to not install pip with get pip20:22
sean-k-mooneydo you think it would make sense to add a config flag and default it to false so we use  disto pip by default ?20:22
sean-k-mooneyif pip is installed already20:23
funginot sure, that's more of a question for the devstack maintainers20:24
sean-k-mooneyhum that seam to be working locally at least20:32
sean-k-mooneyi can propose a patch and see what they say20:32
sean-k-mooneyfungi: i wonder if we have export SETUPTOOLS_USE_DISTUTILS=stdlib20:49
sean-k-mooneyin our jobs20:49
sean-k-mooneythat is the other workaround20:49
sean-k-mooneywe do in some code paths20:50
sean-k-mooneyhttps://opendev.org/openstack/devstack/src/branch/master/inc/python#L17920:50
sean-k-mooneyfor https://github.com/pypa/setuptools/issues/223220:51
sean-k-mooneybut i guess we need to also do that now for git pip effectivly20:51
sean-k-mooneynot just when using it20:52
fungiyeah, i see a number of examples at https://codesearch.opendev.org/?q=SETUPTOOLS_USE_DISTUTILS20:53
sean-k-mooneyoh lovely 20:59
sean-k-mooneyhttps://github.com/openstack/devstack/commit/e06d954229fc4fca827105f5bb0809a19075d59020:59
sean-k-mooneythat is also broken20:59
sean-k-mooneyits almost right but nova thows an error if you set cpu_models and you do not have cpu_mode=custom21:00
sean-k-mooneyso that should also have an if around it21:00
sean-k-mooneyactully that wont fully fix things i use the config overrid syntax not the macro sysntax but i can explcitly set it to cpu_models= i think too21:05
opendevreviewAde Lee proposed openstack/devstack master: Only set chap algorithms if not openeuler  https://review.opendev.org/c/openstack/devstack/+/82358021:28
ade_leefrickler, ^^21:28
*** artom__ is now known as artom23:15

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