Wednesday, 2023-05-24

*** haleyb_ is now known as haleyb13:30
opendevreviewMerged openstack/nova stable/yoga: Ironic: retry when node not available  https://review.opendev.org/c/openstack/nova/+/86801014:59
melwittdansmith: fyi this is a fix for our subclass signature checker test that detects when volume drivers are not matching the base class https://review.opendev.org/c/openstack/nova/+/883217 I found it wasn't working when I was working on the cve stuff. it would have caught the issue with the wallaby patch17:56
dansmithmelwitt: cool17:57
sean-k-mooneymelwitt: i didnt know that was a thing18:21
sean-k-mooneyi feel like there are proably better ways to detech that if we use mypy18:22
sean-k-mooneyto do type checking now18:22
sean-k-mooneywith that said im ok with fixing this as is18:23
sean-k-mooneywe can likel just do it better with newer tools now18:23
melwittsean-k-mooney: yeah it was new-ish to me too as I hadn't dug into the volume drivers too much before18:37
melwittand yeah maybe there's a better way to do it now. the fix was pretty easy tho18:37
sean-k-mooneyi havent looked into mypy too much but i think we caoudl annotation the base calses and have it detech if the signirues did not match18:40
sean-k-mooneybut that would be a large change anyway18:40
sean-k-mooneyespcially since we woudl ahve to enable mypi typeing for the entire file 18:40
dansmithplease no18:49
sean-k-mooneyin the cld classes i think you jsut have to put @overload in the metods so its not that bad18:51
sean-k-mooneybut its more work then we need18:51
sean-k-mooneyif you declar it an overlaod/override and the signiture does not match it treats it as an error18:52
dansmithdo you mean abc?18:52
sean-k-mooneybasicaly ya18:53
sean-k-mooneythat was how it sued to be done18:53
dansmithyeah, that's the better way, especially for things like this18:53
sean-k-mooneyit might still be the way its currently doen18:53
sean-k-mooneyi was looking at https://mypy.readthedocs.io/en/stable/class_basics.html#abstract-base-classes-and-multiple-inheritance vs https://mypy.readthedocs.io/en/stable/final_attrs.html#final-methods18:54
sean-k-mooneywell https://mypy.readthedocs.io/en/stable/error_code_list.html?highlight=overload#check-calls-to-overloaded-functions-call-overload18:54
sean-k-mooneyso there is some checking for overrides in bases https://mypy.readthedocs.io/en/stable/error_code_list.html?highlight=overload#check-validity-of-overrides-override but abstractg base classes is clearer18:56
sean-k-mooneyi think the automtaic checking only applies if the types dont match18:56
sean-k-mooneyanyway o/18:57
gouthamro/ dansmith: do you have logs of a multinode job that ran with changes here: https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/882483 19:05
dansmithgouthamr: meaning other than the ones linked there?19:06
dansmithoh no, right,19:06
dansmithit wasn't running the multinode job19:06
dansmithgouthamr: but no, that was just me trying to sync up that job definition, I didn't get into any actual diagnosis of if the job was working19:07
gouthamrah thanks19:07
gouthamrsaw your comment: "There are errors from one of the nova computes that indicate that it's not getting access to the ceph cluster properly, which means there is more work to do here." 19:08
gouthamrso assumed that was on the CI somewhere; ashrodri can enable the base job in the repo with her changes and debug that19:09
dansmithgouthamr: oh, that's probably from the nova test patch, which likely has some logs still because it has a multinode job19:09
dansmithhang on19:10
dansmithgouthamr: https://zuul.opendev.org/t/openstack/build/588de1c62e564a4e93d4e94d1e9a521619:10
dansmithyeah so all the migration tests fail which I assume is because the other node can't access the ceph cluster19:11
dansmith(sorry I had purged all this from my cache)19:11
dansmithceph conf and keyrings are there on the subnode19:12
dansmithbut nova can't see it: https://zuul.opendev.org/t/openstack/build/588de1c62e564a4e93d4e94d1e9a5216/log/compute1/logs/screen-n-cpu.txt#803819:13
gouthamrdansmith: it looks like we created two ceph clusters there :) 19:18
gouthamrwith REMOTE_CEPH set to true, we should skip the ceph install on the subnode 19:18
gouthamrwhich we'll try with ashrodri's patch.. 19:18
dansmithgouthamr: ack, makes sense19:19

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