Wednesday, 2021-09-15

opendevreviewmelanie witt proposed openstack/nova-specs master: Re-propose Unified Limits in Nova  https://review.opendev.org/c/openstack/nova-specs/+/80902000:16
*** bhagyashris is now known as bhagyashris|off05:35
bauzasmorning folks07:35
bauzasgibi: elodilles: good catch on the approval thing07:35
bauzasI was about to propose the release liaison role to anyone who'd like07:35
bauzashaving a single person responsible for approving releases is a SPOF07:35
gibibauzas: I agree to push out such proposal. It would be nice to see somebody picks that up. If not then I can be hooked for it08:51
bauzasI'll ask this at the next meeting08:51
bauzasfor the moment, I'm still under the water 08:51
bauzas:(08:51
gibibauzas: no worries08:51
bauzassome customer is getting 4 FTEs08:52
bauzas... 08:52
bauzasanyway08:52
* bauzas is the odds of testing eventlet.backdoor 08:52
bauzashas anyone played with this ?08:52
gibiI'm not08:53
bauzasok, I found how 09:03
bauzasthat's working like a charm09:03
bauzasit just binds a new greenlet where you can access the whole process09:03
gibibauzas: care to document that process somewhere after you surface from the escalations?09:04
gibiI think it would be useful09:04
bauzasgibi: yeah that's worth of interest, I'm also testing tracemalloc module09:04
gibi+1 for the tracemalloc too.09:04
bauzascontext (I can tell if I don't tell the whole context) : the nova-compute service is consuming unusual memory space hence a potential memory leak to identify09:05
bauzasso the strategy is to compare memory allocations snapshots over time09:06
gibidoes tracemalloc can differentiate between allocated but not used memory and actually used memory?09:08
kashyapVery good question09:08
kashyap tracemalloc.get_tracemalloc_memory()09:09
bauzasgibi: we're litterally doing baby steps here09:10
kashyapgibi: The above _should_ get the memory usag09:10
bauzasgibi: the idea is that you can generate snapshots09:10
bauzasand each snapshot (like a GMR) gives you bits of memory usage09:10
* gibi once tried to tracked down an assumed memory leak in the python interpreter and has ptsd from it09:10
bauzastracemalloc even provides a compare method between snapshots09:10
bauzaskashyap: tracemalloc.get_traced_memory() only gives you the memory usage of the tracking module itself09:13
opendevreviewLee Yarwood proposed openstack/nova master: docs: Add nova-volume volume_attachment refresh admin workflow  https://review.opendev.org/c/openstack/nova/+/80916109:27
opendevreviewLee Yarwood proposed openstack/nova master: run-evacuate-hook: Switch to osc evacuate command and add --debug  https://review.opendev.org/c/openstack/nova/+/80916209:31
opendevreviewMerged openstack/osc-placement stable/xena: Update .gitreview for stable/xena  https://review.opendev.org/c/openstack/osc-placement/+/80845609:42
opendevreviewMerged openstack/python-novaclient stable/xena: Update .gitreview for stable/xena  https://review.opendev.org/c/openstack/python-novaclient/+/80845909:45
opendevreviewMerged openstack/python-novaclient stable/xena: Update TOX_CONSTRAINTS_FILE for stable/xena  https://review.opendev.org/c/openstack/python-novaclient/+/80846009:45
opendevreviewMerged openstack/osc-placement stable/xena: Update TOX_CONSTRAINTS_FILE for stable/xena  https://review.opendev.org/c/openstack/osc-placement/+/80845709:54
viks__hi, what is the use of the code:     `consumer_type = 'migration'` in https://github.com/openstack/nova/blob/01eaa627b406af9336a231caea6969aae9a62033/nova/cmd/manage.py#L2550 as the next condition after this line always overrides this? am i missing something?11:44
sean-k-mooneyit will not override it if there is not instance that matches11:45
sean-k-mooneyso we asume any allocation we find that doen have a consumer type are migration and then set them to instnace if we see a corresponding instnace11:46
viks__sean-k-mooney: but if we check the earlier condition,  we see it always seems to be setting `consumer_type = 'instance'`11:47
viks__https://www.irccloud.com/pastebin/XOzn2XSW/11:47
sean-k-mooneymost allocation will be of type instance11:48
sean-k-mooneythe not is likely wrong11:49
sean-k-mooneyinfact the not i think is wrong11:49
viks__sean-k-mooney:  ok... that's what i was thinking11:49
sean-k-mooneywell unless the not is for deleted instnaces11:50
viks__ok11:50
sean-k-mooneyso the first if is  if not (consumer_uuid in inst_uuids or11:51
sean-k-mooney                        consumer_uuid in mig_uuids):11:51
sean-k-mooneyso if we enter it we know the consumer uuid is not in inst_uuids  and it is not in mig_uuids11:52
sean-k-mooneyso the second if will always be true11:53
viks__sean-k-mooney: correct..  what should be the correct condition here... i'm not having full context  of the overall code11:53
sean-k-mooneyi think we need a third state of orpanded or deleted11:55
viks__ok11:55
sean-k-mooneyactully11:55
sean-k-mooneywe might just be able to do https://paste.opendev.org/show/809339/11:57
sean-k-mooneyso if the consumer uuid is not an instance or migration11:57
sean-k-mooneythen we know it was deleted 11:57
sean-k-mooneyso i think we can just delete https://github.com/openstack/nova/blob/01eaa627b406af9336a231caea6969aae9a62033/nova/cmd/manage.py#L2548-L255511:58
sean-k-mooneyviks__: does that make sense11:58
sean-k-mooneywe might need to modify https://github.com/openstack/nova/blob/01eaa627b406af9336a231caea6969aae9a62033/nova/cmd/manage.py#L244512:00
sean-k-mooneyto correctly handel reciving None for the consumer type12:01
sean-k-mooneyor https://github.com/openstack/nova/blob/01eaa627b406af9336a231caea6969aae9a62033/nova/scheduler/client/report.py#L205312:01
sean-k-mooneybut i think that woudl be the correct way to fix this12:01
viks__ok...12:05
viks__sean-k-mooney: just changing it to below doesnt resolve:12:11
viks__https://www.irccloud.com/pastebin/e2Zcf6le/12:11
sean-k-mooneycorrect that would not work12:13
viks__as per the comments in the code, it should work right? i.e. first we set it to migration,then if `consumer_uuid`is not found in `inst_uuids`, it should set it to `instance`... i do not have the detailed contex.. so just asking12:19
*** artom_ is now known as artom13:35
opendevreviewDmitrii Shcherbakov proposed openstack/nova master: [PoC][yoga] Off-path Networking Backends Support  https://review.opendev.org/c/openstack/nova/+/80819914:40
MrClayPoleWhen attempting to live-migrate a VM between 2 compute nodes it fails with "Exception during message handling: TargetPortalNotFound: Unable to find target portal 1.1.1.1:3260". The storage is iSCSI iSER with multipath enabled in nova.conf. I can see cinder mapping the volume to the target but os_brick is scanning with "iscsiadm -m session" before iscsid has brought up the iSCSI session on the target compute node. Is there15:34
MrClayPole a way to make os_brick wait until the iSCSI session is up?15:34
lyarwoodMrClayPole: it should retry for a while and iirc that's now configurable, which version of OpenStack is this?15:49
MrClayPolelyarwood: Openstack Rocky. os_bricks only tries once according to the logs15:51
lyarwoodMrClayPole: kk I'm really not sure then, you might want o ask the folks in #openstack-cinder who maintain os-brick for more clues15:56
lyarwoodto*15:56
MrClayPolelyarwood: Thanks I'll do that. I wasn't sure who looked after os_bricks.16:01
lyarwoodnp, sorry I couldn't help more16:02
opendevreviewArtom Lifshitz proposed openstack/nova stable/victoria: Test SRIOV port move operations with PCI conflicts  https://review.opendev.org/c/openstack/nova/+/79690819:54
opendevreviewArtom Lifshitz proposed openstack/nova stable/victoria: Update SRIOV port pci_slot when unshelving  https://review.opendev.org/c/openstack/nova/+/79690919:54
opendevreviewArtom Lifshitz proposed openstack/nova stable/victoria: Fix ImageBackendFixture not to support direct_snapshot  https://review.opendev.org/c/openstack/nova/+/80928219:54
artomThat was a PITA to hunt down and figure out it was the ImageBackendFixture backport that was needed...19:54
*** osmanlicilegi is now known as Guest021:20
*** prometheanfire is now known as Guest121:20
*** promethe- is now known as prometheanfire21:53
opendevreviewArtom Lifshitz proposed openstack/nova stable/victoria: Update SRIOV port pci_slot when unshelving  https://review.opendev.org/c/openstack/nova/+/79690923:52

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