Earlier  
Posted Nick Remark
#openstack-nova - 2021-09-10
12:43:04 gibi kevko solved the issue by using newer libvirt
13:50:49 bauzas melwitt: gibi: eventually +Wd https://review.opendev.org/c/openstack/placement/+/807014 for the create project bugfix, but with some nits
14:16:01 gibi bauzas: thanks will read shortly
14:27:58 gibi bauzas: I agree with your nits. thanks again
15:09:49 bauzas gibi: ack, no worries, it's just nits
15:10:27 gibi bauzas: have a nice weekend
15:11:10 bauzas you too
15:11:38 bauzas (but not the CI one ;) )
15:17:47 gibi :)
15:19:08 melwitt bauzas: thanks, I will make a followup patch to fix the nits
15:20:15 opendevreview OpenStack Release Bot proposed openstack/os-vif stable/xena: Update .gitreview for stable/xena https://review.opendev.org/c/openstack/os-vif/+/808452
15:20:19 opendevreview OpenStack Release Bot proposed openstack/os-vif stable/xena: Update TOX_CONSTRAINTS_FILE for stable/xena https://review.opendev.org/c/openstack/os-vif/+/808453
15:20:24 opendevreview OpenStack Release Bot proposed openstack/os-vif master: Update master for stable/xena https://review.opendev.org/c/openstack/os-vif/+/808454
15:20:29 opendevreview OpenStack Release Bot proposed openstack/os-vif master: Add Python3 yoga unit tests https://review.opendev.org/c/openstack/os-vif/+/808455
15:20:41 gibi melwitt: placment the patch just bounced from the gate with strange functional test failures...
15:21:01 opendevreview OpenStack Release Bot proposed openstack/osc-placement stable/xena: Update .gitreview for stable/xena https://review.opendev.org/c/openstack/osc-placement/+/808456
15:21:05 opendevreview OpenStack Release Bot proposed openstack/osc-placement stable/xena: Update TOX_CONSTRAINTS_FILE for stable/xena https://review.opendev.org/c/openstack/osc-placement/+/808457
15:21:20 melwitt gibi: 😩 oh no. I will look
15:21:26 gibi https://597ae34c2915b12741a5-9637172b828bef74a2ccde1fe8027212.ssl.cf1.rackcdn.com/807014/6/gate/openstack-tox-functional-py38/bc74f18/testr_results.html
15:21:34 opendevreview OpenStack Release Bot proposed openstack/osc-placement master: Update master for stable/xena https://review.opendev.org/c/openstack/osc-placement/+/808458
15:22:23 opendevreview OpenStack Release Bot proposed openstack/python-novaclient stable/xena: Update .gitreview for stable/xena https://review.opendev.org/c/openstack/python-novaclient/+/808459
15:22:31 opendevreview OpenStack Release Bot proposed openstack/python-novaclient stable/xena: Update TOX_CONSTRAINTS_FILE for stable/xena https://review.opendev.org/c/openstack/python-novaclient/+/808460
15:22:36 gibi I can reproduce it on master locally without your patch so this is probably due to requirement change ... :/
15:22:39 opendevreview OpenStack Release Bot proposed openstack/python-novaclient master: Update master for stable/xena https://review.opendev.org/c/openstack/python-novaclient/+/808461
15:22:45 opendevreview OpenStack Release Bot proposed openstack/python-novaclient master: Add Python3 yoga unit tests https://review.opendev.org/c/openstack/python-novaclient/+/808462
15:23:28 melwitt gibi: oh hm
15:24:11 gibi it is not visible in https://zuul.openstack.org/builds?project=openstack%2Fplacement&pipeline=periodic-weekly so it happened in the last ~5 days
15:26:11 gibi hm, the global req bumped oslo.db to 11.0.0 two days ago, that is a likely candidate
15:28:54 melwitt agree. aside, there likely isn't a cross-placement job on global bump. I wonder if we should add one
15:31:17 gibi OK I confirmed that those tests fail with oslo.db 11.0.0 but passing with oslo.db 10.0.0 (the previous version)
15:31:42 gibi yeah I don't think we have a placement functional job on the global req repo
15:31:43 sean-k-mooney i dont see one in https://github.com/openstack/requirements/blob/master/.zuul.d/cross-jobs.yaml
15:31:46 gibi but we should
15:32:22 sean-k-mooney we have a nova one but you are correct no placment one https://github.com/openstack/requirements/blob/master/.zuul.d/project.yaml#L42
15:58:37 gibi ok I failed to figure out how to reformulate those tests with the new sqlalchemy and I have to drop soon. sorry
15:59:21 melwitt thanks gibi. I'm also trying to fix, will let you know if I find any success
15:59:30 gibi thanks
15:59:35 gibi and good luck
15:59:53 melwitt thanks. have a nice weekend o/
16:00:36 gibi same to you too eventually o/
16:01:08 melwitt :)
16:03:12 opendevreview Artom Lifshitz proposed openstack/nova master: WIP: Gracefully power off guest on instance delete https://review.opendev.org/c/openstack/nova/+/808474
16:29:04 sean-k-mooney artom: ok so that jsut add a call self._power_off_instance
16:29:15 sean-k-mooney are you sure we cant remove self._shutdown_instance(context, instance, bdms)
16:29:36 artom sean-k-mooney, maybe? Seems it does more than just power if off though...
16:31:53 sean-k-mooney it delete the volume attachments and detory the domain xml
16:31:58 sean-k-mooney that seam to be about it
16:32:09 sean-k-mooney presumable _cleanup_volumes would do the same
16:32:33 sean-k-mooney ok _cleanup_volumes does not handel the attachments
16:32:46 sean-k-mooney or calling terminat_connection
16:32:49 sean-k-mooney what about powerofof
16:32:52 artom lulz we just suck at reusing code, do we?
16:33:45 sean-k-mooney poweroff instance just calls driver.power off
16:34:11 sean-k-mooney what we proably shoudl do is remove the call to driver.destry in self._shutdown_instance
16:34:21 dasm hey team. i'm trying to wrap my head around placement for nova. When VCPUs number are changed? When VM is stopped? Or only when deleted? I found this old thread: http://lists.openstack.org/pipermail/openstack/2014-June/008022.html but not sure if it's still valid.
16:34:22 sean-k-mooney and have it call _power_off_isntace
16:35:42 artom sean-k-mooney, yeah, maybe. One thing I don't like about my current (admitedly very quickly hacked up) thing is that we're leaking libvirt driver stuff into the compute manager
16:35:56 artom Though I guess it *kinda* makes sense?
16:36:14 opendevreview melanie witt proposed openstack/placement master: Call Engine.execute() in func tests for oslo.db 11.0.0 https://review.opendev.org/c/openstack/placement/+/808477
16:36:26 artom One _power_off_instance() is graceful shutdown, _shutdown_instance() pulls the plug.
16:36:33 artom That's not really driver-specific...
16:36:59 sean-k-mooney and they are reverst in libvirt too
16:37:06 sean-k-mooney poweroff with virsh pulls the plug
16:37:15 sean-k-mooney if i rememebr correctly
16:37:39 sean-k-mooney i think you can just call power_off here https://github.com/openstack/nova/blob/e276184892250922c96c38415eabbaf7507f7e17/nova/compute/manager.py#L2897-L2898
16:37:51 artom y haev clear werd wen complixaeted werds maek tings moar fun
16:37:59 sean-k-mooney becasue it will call driver.destroy if the gracefull approch does not work right
16:39:54 artom I think so? _power_off_instance() does the timeout calc for us...
16:40:41 sean-k-mooney yes
16:40:55 sean-k-mooney https://github.com/openstack/nova/blob/e276184892250922c96c38415eabbaf7507f7e17/nova/compute/manager.py#L2833-L2850
16:41:14 sean-k-mooney huh apparently that is setabel in the image
16:41:29 artom Fun surprises every day
16:41:41 sean-k-mooney that is also not the correct way to get image properties
16:41:45 sean-k-mooney i mean it works
16:41:54 sean-k-mooney but we shoudl be using hte objects
16:42:52 sean-k-mooney oh i see why its not useing the object
16:42:56 sean-k-mooney its not in the object
16:43:45 sean-k-mooney so image_os_shutdown_timeout or os_shutdown_timeout is not a legal image property
16:43:46 artom At this point in the rabbit hole we're going to poke out in Australia
16:44:10 sean-k-mooney this is just code form before we made the image props ovos
16:44:16 kashyap artom: I politely "well-actuallyed" (I strongly avoid this) here on destroy() behaviour: https://review.opendev.org/c/openstack/nova/+/808474. Hope you don't mind. :)
16:44:18 sean-k-mooney that was likely an extenion
16:44:40 kashyap artom: But your broader goal is a good catch -- with volumes, i.e
16:45:38 artom kashyap, valid points
16:45:48 artom Well, I guess you're heading out, will continue in the review
16:46:06 sean-k-mooney artom: care to add a todo to remove supprot for image_os_shutdown_timeout or add it to the image proprties properly in the future
16:46:26 artom sean-k-mooney, sure, just stick it in gerrit please
16:57:20 sean-k-mooney artom: ok it should be all there
17:01:05 artom Cheers!
17:40:03 melwitt gibi: here's my patch for fixing the placement func test jobs https://review.opendev.org/c/openstack/placement/+/808477
17:49:19 dansmith melwitt: +2d that
17:49:30 dansmith melwitt: did the other thing to separate the transactions merge?
17:49:52 melwitt dansmith: no it's stuck behind this recent fail. I'm about to rebase onto ^
17:50:03 dansmith oh really, okay dang
17:50:06 melwitt also thanks for the +2
17:50:08 melwitt yeah :(
17:50:26 dansmith was going to say, we were still "recheck nova fail"-ing again yesterday
17:50:39 dansmith who else is around to slam this trivial fix in I wonder?
17:51:06 melwitt dansmith: yeah bauzas +W'ed earlier today (the transaction thing)
17:51:47 melwitt oh maybe gmann

Earlier   Later