Monday, 2023-10-16

opendevreviewHanGuangyu proposed openstack/nova master: Unify ServersController._flavor_id_from_req_data param to server_dict  https://review.opendev.org/c/openstack/nova/+/89831511:27
ionihi guys12:09
ionii have an issue with deleting an instance after upgrading to Zed(I think). The error I'm having is: Requested operation is not valid: cannot undefine domain with nvram12:10
ionihttps://paste.xinu.at/qvp4dm/12:10
ionithe only thing that I changed is to add hw_machine_type=q35 to that specific image12:11
ioniand is kinda random 12:11
ionito delete the instance successfully i have to run virsh undefine domain --nvram first12:11
ionithe problems occurs randomly on instances that sometimes are newly built with that image and deleted after12:12
ionii think i need to add to the image hw_firmware_type uefi for nova to understand to undefine nvram first before undefining the domain12:22
opendevreviewribaudr proposed openstack/nova-specs master: Re-propose "Allow Manila shares to be directly attached to an instance when using libvirt" for Caracal  https://review.opendev.org/c/openstack/nova-specs/+/89831913:17
*** drannou_ is now known as drannou13:18
opendevreviewribaudr proposed openstack/nova-specs master: Re-propose "Allow Manila shares to be directly attached to an instance when using libvirt" for Caracal  https://review.opendev.org/c/openstack/nova-specs/+/89831913:20
opendevreviewribaudr proposed openstack/nova-specs master: Re-propose "Allow local scaphandre directory to be mapped to an instance using virtiofs" for Caracal  https://review.opendev.org/c/openstack/nova-specs/+/89832013:24
dansmithwe've got something going on with the live migration jobs and maybe others14:43
dansmithlots of post failures14:43
dansmith"msg": "The `lxml` module is not importable. Check the requirements."14:46
dansmithsean-k-mooney: do you know how we get ansible modules installed on the hosts? like the virt module, which has requirements for libvirt-python, etc14:52
opendevreviewTobias Urdin proposed openstack/nova master: [WIP] Handle scaling of cputune.shares  https://review.opendev.org/c/openstack/nova/+/89832614:56
opendevreviewTobias Urdin proposed openstack/nova master: [WIP] Handle scaling of cputune.shares  https://review.opendev.org/c/openstack/nova/+/89832614:59
tobias-urdinsean-k-mooney[m]: feedback on ^ – doesn't handle all cases yet but i dont want to spend time on it if it's just garbage then we'll just carry something similar downstream14:59
dansmithsean-k-mooney: https://6df0d90b08f38024b3b0-ddacc1cdacca3582cad1fbbc53a5babe.ssl.cf2.rackcdn.com/897674/1/check/nova-live-migration/beaa1e0/job-output.txt15:08
sean-k-mooneydansmith: so my guess is we need to set the interperter path for the remote node15:10
dansmithsean-k-mooney: to what? something inside our new venv?15:11
sean-k-mooneyto the python3 binary in the venv15:11
dansmithstill, something changed over the weekend and I don't know what that is.. maybe the ansible module got changed or libvirt-python changed to a soft req on lxml or something?15:11
sean-k-mooneyya  did any changes happen in devstack we can look at this after the meeting 15:12
dansmithnot really seeing anything15:13
opendevreviewDan Smith proposed openstack/nova master: Install lxml before we need it in post-run  https://review.opendev.org/c/openstack/nova/+/89843515:33
dansmithsean-k-mooney: bauzas this ^ seems to be working, it already passed the live-migration-ceph job16:34
sean-k-mooneysweet i have it open but had not refreshed16:35
sean-k-mooneyah i assume your watching the live output16:35
dansmithyup16:35
dansmithjust passed the main job as well16:36
sean-k-mooneyadded link to the passing job where it ran and left a +216:39
sean-k-mooneyif we start seeing this type of dep issue often i woudl prefer to use bindep or similar to store the packages in a file or move the list of packagges to a role default16:39
sean-k-mooneybut for now this is fine16:39
dansmithack, well, I'd like to get the gate unblocked at least16:41
dansmithI know bindep is what we use for that stuff normally, but I figured it was more aimed at setup for running the services and not just for ansible stuff to work16:42
dansmithI suppose it's also usable16:42
sean-k-mooneybindep has tags16:42
sean-k-mooneyso we can use [ansible]16:42
sean-k-mooneyfor example if we wanted to store ansible only deps or whatever16:43
dansmithack16:43
sean-k-mooneywe do use the "test" tag for functional/unit tests deps16:43
dansmithso maybe I should just slap this into bindep.txt instead of doing this in the ansible?16:43
dansmithor maybe just follow this up with that so we can unblock the gate16:43
sean-k-mooneywell bindep is likely not aviable on the host outside of the venv where devstack installed it16:44
sean-k-mooneyso if we want to go that way lets do it in a followup16:44
sean-k-mooneyas first we need to decied how to make bindep avaialable16:44
dansmithoh, we install bindep in the venv to manage deps on the host? I figured that was installed and managed before we got to devstack at all16:45
dansmithyeah, let me queue up something behind this if for no other reason than to serve as a reminder16:45
sean-k-mooneyfor the devstack job i belive its in the venv for the unit test jobs its installed in the job16:46
sean-k-mooneybefore we invoke tox16:46
sean-k-mooneyhttps://github.com/openstack/nova/blob/9dceb735f6926c71a8c2e2c6ef8b5e0a1363041d/bindep.txt#L2416:46
sean-k-mooneylxml is a dep in bindep already for what its worth16:46
sean-k-mooneybut its marked as a test dep16:47
sean-k-mooneyso its not installed by default by devstack16:47
sean-k-mooneyactully no16:47
sean-k-mooneythats not the python bindings 16:47
sean-k-mooneythat the clib that lxml uses16:48
dansmithyeah, neither is libvirt-python, but that's clearly installed which is weird that it works 16:48
dansmither, python3-libvirt16:48
sean-k-mooneyi belive that will be install by devstack seperatly16:48
sean-k-mooneyhttps://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/lib/nova_plugins/functions-libvirt#L9616:49
sean-k-mooneyand here for ubuntu https://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/lib/nova_plugins/functions-libvirt#L72C87-L72C10216:49
opendevreviewDan Smith proposed openstack/nova master: Move lxml dep to bindep.txt  https://review.opendev.org/c/openstack/nova/+/89843916:49
dansmithsean-k-mooney: right but I would expect python3-libvirt to have a hard dep on python3-lxml, but perhaps not16:50
sean-k-mooneyi dont think it does16:50
sean-k-mooneywe need lxml to parse the xml16:50
sean-k-mooneybut the xml is generated by libvirt16:50
sean-k-mooneywhich would use the c lib16:50
sean-k-mooneynot the python bindings16:50
dansmithI guess I expected some of the python bindings to manipulate xml chunks themselves, but perhaps not16:51
sean-k-mooneyso just confirmign that his would work devstack invokes bindep if teh bindep file exits for a project here in setup_package https://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/inc/python#L46516:52
sean-k-mooneythat is called form  _setup_package_with_constraints_edit which is called form setup_deploy here https://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/inc/python#L35916:55
sean-k-mooneyand we call that for nova here https://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/lib/nova#L97116:56
sean-k-mooneyso based on that call graph16:56
sean-k-mooneywe are not specifying any profile16:56
sean-k-mooneyi.e. it sthe same as just runing bindep in the nova root effectivly16:56
sean-k-mooneyso we just need to confirm that https://review.opendev.org/c/openstack/nova/+/898439 make it included in that properly16:57
sean-k-mooneyah you added no tag so yes it will be16:57
dansmithbauzas: can you +W this to unblock the gate please? https://review.opendev.org/c/openstack/nova/+/89843517:36
bauzasthe quickiest I was able to 17:36
dansmiththanks17:36
dansmithsean-k-mooney: the bindep approach doesn't leave us with lxml installed17:38
sean-k-mooneyack i wonder if we are removing it in devstack to aovid pip issues17:41
sean-k-mooneyid dont see anything that would remove it but lets stick with teh simple solution for now17:42
dansmithidk, but glad we approved the first solution in the short term :)17:42
sean-k-mooneydansmith: for what its worth i dont see any packages being installed 17:51
dansmithsean-k-mooney: bindep packages you mean?17:51
dansmithI didn't see it try lxml that's for sure17:51
sean-k-mooneyya bindep is installed bu ti dont see ay execution of setup_package that actully installs anything17:51
* dansmith nods17:51
sean-k-mooneyso that might have silently been broken at some point17:52
sean-k-mooneyim sing things like  inc/python:_setup_package_with_constraints_edit:387 :   [[ /opt/stack/neutron == -bindep* ]]17:52
dansmithI'd have expected more breakage in that case17:53
sean-k-mooneyah so reading the code 17:54
sean-k-mooneyhttps://github.com/openstack/devstack/blob/master/inc/python#L38517:54
sean-k-mooneythe fintion is checkign if it was invoked with -bindep17:54
sean-k-mooneyas a flag17:54
sean-k-mooneyand poping it17:54
sean-k-mooneyand we are not doign that 17:54
sean-k-mooneywe do not pass -bindep when seting up nova17:55
dansmithprobably need to get gmann to consult here I think17:55
sean-k-mooneyhttps://github.com/openstack/devstack/blob/ca4d5132e63752878620c4e4f374d98d433b3f52/lib/nova#L97117:55
sean-k-mooneyi dont see any usage of this in tree so maybe this was added for out of tree plugins to call17:55
sean-k-mooneyhttps://github.com/openstack/devstack/commit/58243f6203f3385039fe7124b037d5abf7e1d59e17:56
sean-k-mooneywe can always follow up in #openstack-qa but my read on this is the infra is in place but not hooked up to be called17:58
sean-k-mooneythis seams to be the only? usage https://github.com/openstack/devstack/commit/dd3731c86a13334125715e44880491042526227c17:59
sean-k-mooneyso it be used if we use libs_from_git=nova i guess but that shoudl be the case in teh ci job18:00
sean-k-mooneyam not quite its still only  takign that path for specific lib18:01
sean-k-mooneynot anything listed in libs form git so ya it is not hooked up for nova/service proejcts18:02
sean-k-mooneyit shoudl be simple enough to hook up but we shoudl check with gmann et al first to see if there is a reason to only do this for libs18:02
dansmithyeah seems like there must be something missing18:03
sean-k-mooneyi think to really do this properly and get the most use out of it we woudl want to modify lib/nova and the nova hypervisor plugsin to pass a diffetn tag (the virt driver) and on the nova side group driver deps by tag .e.g libvirt or ironic in the bindeps file18:05
sean-k-mooneyit would be a nice enhancement but a lot of work to fully get right.18:06
sean-k-mooneyim honestly fine with your first patch18:06
sean-k-mooneyi would only look at hooking up bindep in devstack if we find ourselve needing to do this more hten once or twice a cycle18:06
gmanndansmith: sean-k-mooney hi18:08
sean-k-mooneyo/18:08
gmannbindeps can be installed two way, via flag while installing nova or have file in devstack/file/bindep.txt itself which will be indalled by default18:09
gmanninstalled18:09
gmannbut nova needs to have that in-tree under devstack directory with plugin setup18:09
sean-k-mooneygmann: yep so in this case its a dep for an ansible module we are using in one specific ci job post playbook18:10
gmannI mean here - https://github.com/openstack/nova/tree/master/devstack18:10
sean-k-mooneythe dep also happens to be a dep nova has18:10
sean-k-mooneywe are assumign that until last week lxml was insallsed transitivly via a weak dep somewhere18:11
sean-k-mooneyso the ci playbook worked18:11
sean-k-mooneyand that weak dep got lost over the weekend18:11
gmannohk so we want to have explicit in nova bindep right?18:11
sean-k-mooneywell for now we jsut installed it in the job. but then i mentioned bindep to dansmith but that dint work becasue we dont install nova's bindep currently18:12
sean-k-mooneygmann: i was wondering if there was a reason we only do it for specific libs18:12
sean-k-mooneyi.e. if we passed the flag for nova would it break things?18:12
dansmithgmann: not sure what changed between last week and today, but this must have been on the system before18:13
dansmithgmann: but yeah, it's really an ansible module requirement, so not sure it should be in nova's bindep to be honest18:13
gmannohk18:14
gmannnot sure if changed in opendev side, I cannot remember/see anything devstack removed on this18:16
sean-k-mooneylooking at the commit history i dont see anything obvious on the devstack side18:16
gmannyeah18:16
sean-k-mooneyperhaps a chagn ein tempet or shared job config but i think its not realted to the devstack repo18:16
gmannwhich one?18:17
sean-k-mooneythe partent of the job that failed was  tempest-multinode-full-py3 so i was wondering if it was in anyway related to https://github.com/openstack/tempest/commit/5c64e3913a1a5a061a6b04b212ce35aaa84f218418:20
sean-k-mooneybut i dont think so18:20
gmannyeah, that is not related18:20
gmannit is just adding stable/2023.2 jobs18:21
sean-k-mooneythere is nothing else really that lins up18:21
sean-k-mooneyfor now we have a solution just isntalling the dep in teh job18:21
sean-k-mooneyso we are unblocked18:21
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/89843518:21
sean-k-mooneywhy it broke is less imporant18:22
gmannsomeone at door. will be back in 10-15 min18:22
sean-k-mooneyam im going to drop in a few mins o/18:22
opendevreviewAlexey Stupnikov proposed openstack/nova master: Translate VF network capabilities to port binding  https://review.opendev.org/c/openstack/nova/+/88443921:47

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