Monday, 2024-11-18

*** __ministry is now known as Guest6207:51
*** elodilles is now known as elodilles_pto08:37
gibihi folks! Can I get a second core on the backport https://review.opendev.org/c/openstack/nova/+/934302 (and its parent)?08:57
*** ralonsoh_ is now known as ralonsoh10:04
opendevreviewMerged openstack/nova stable/2024.2: Reproduce bug 2085975 in functional  https://review.opendev.org/c/openstack/nova/+/93430112:03
sean-k-mooneygibi: that should merge shortly ill look at the next branch later but im sure its fine12:45
gibisean-k-mooney: thanks!12:45
zigoI'm now hit by the crypt.crypt removal in Python 3.13:12:53
zigohttps://buildd.debian.org/status/fetch.php?pkg=nova&arch=all&ver=2%3A30.0.0-2&stamp=1731930425&file=log12:53
zigotkajinam: Do you think your patch here https://review.opendev.org/c/openstack/oslo.utils/+/931899 could be used for it?12:54
zigoBTW, I don't think we should keep using md5 as algo, like the comment above https://github.com/openstack/nova/blob/master/nova/virt/disk/api.py#L634 says. Any distro still using md5 shouldn't be consider at this time and age.12:56
zigogibi: bauzas: sean-k-mooney: Would it be accepted by the team if I was to propose a patch that does SHA-512 instead, and drop support for MD5 ?13:01
sean-k-mooneyzigo: i dont have context but there are some places where we cant do that for upgrade reaons13:02
zigosean-k-mooney: I believe nova/virt/disk/api.py is the bit that is doing password injections in VMs.13:03
zigo(I didn't check much, but should be...)13:03
zigoThe comment says md5, because some distro may be outdated.13:03
gibizigo: yeah that codepath generates the content of the shadow file so we need to make sure whathever we change there still works with old but not super old linux distros13:04
zigoThis was in 2012 ...13:04
zigogibi: Fast forward 12 years later, md5 is a security hole...13:04
gibiI'm aware13:04
zigoI'm sure you are.13:04
zigoSo question still is: is it ok if we drop support for distros with such security hole? :)13:05
gibiOK, if you ask this way then it sounds right to say no, we should not support distros that uses md5 for the root password's hash13:05
gibiI'm sold13:06
zigoThanks for confirming, I'll try to write a patch.13:06
opendevreviewThomas Goirand proposed openstack/nova master: Python 3.13: crypt.crypt support is dropped  https://review.opendev.org/c/openstack/nova/+/93551213:16
sean-k-mooneyzigo: the password injection we may be removing13:17
zigosean-k-mooney: I'm ok with it to be removed, but I'd prefer to have this patch merged, so I can safely backport it to Dalamatian, which will be the OpenStack release in the next Debian.13:18
zigoAlso, that'd be annoying for rescuing ... what would be the method?13:19
zigo(especially for windows ...)13:19
opendevreviewThomas Goirand proposed openstack/nova master: Python 3.13: crypt.crypt support is dropped  https://review.opendev.org/c/openstack/nova/+/93551214:30
tkajinamzigo, I'm adding that utility for nova and ironic so let's use the oslo.utils implementation instead of pulling the same code to nova15:53
fricklernot sure if I've mentioned this here before, the reqs bump to latest jsonschema is failing due to nova and placement jobs breaking, maybe someone can take a look https://review.opendev.org/c/openstack/requirements/+/92505920:00
sean-k-mooneyzigo: so file injefction on which password injection is based has been deprecated for removal for a long time20:17
sean-k-mooneyzigo: we discussed this in the context of the crypt depency and the fact that is removed in py 3.1320:17
sean-k-mooneyso while we may or may note bable to change form md5 to sha512 in this case20:17
sean-k-mooneythere is other technial debth with supproting passwod/file injection in general20:18
sean-k-mooneyfor rescuue you really should use cloud-init to set the password or use x509 or ssh keys20:19
sean-k-mooneythe only non deprecated way to set teh root password today 20:20
sean-k-mooneyis to dues the qemu guest agent to do that with an image that has that installed20:20
sean-k-mooneywhich does nto need that code path if i recall correctly but i have not looked at that in some times20:21
fricklerthis also looks broken, might be due to latest sphinx, but I'm not sure why it would only affect nova and not most other projects https://zuul.opendev.org/t/openstack/builds?job_name=build-openstack-api-ref&project=openstack/nova20:46
opendevreviewmelanie witt proposed openstack/nova master: tests: Functional reproducer for bug 2088831  https://review.opendev.org/c/openstack/nova/+/93556521:24

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