Thursday, 2022-08-04

opendevreviewOpenStack Proposal Bot proposed openstack/nova master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/nova/+/85133703:12
opendevreviewBrett Milford proposed openstack/nova master: Handle "no RAM info was set" migration case  https://review.opendev.org/c/openstack/nova/+/85200206:56
gibistephenfin: re PCI series: I still had issues after the unittest.mock and double mocking change. But the content is ready up until https://review.opendev.org/c/openstack/nova/+/850546 . The rest top of that has TODOs in the commit message07:15
gibiwolsen[m]: yes, I think only the FUP patch needs update the rest is OK to land07:15
gibistephenfin: I probably need to change the first patch in the series https://review.opendev.org/c/openstack/nova/+/844627 due to the double mocking stuff07:16
ignazioHello, I have very slow performances in live migration when instances using memory heavily (for example java application servers). I used converce mode in nova.conf and it does not seem to solve. If I migrate an instance with 8GB ram it takes more than 20 minutes. If I migrate again it takes few seconds. Do you think it is related to memory access ? 07:26
ignazioAny help, please ?07:29
opendevreviewribaudr proposed openstack/nova master: [WIP] Attach Manila shares via virtiofs (db)  https://review.opendev.org/c/openstack/nova/+/83119307:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Attach Manila shares via virtiofs (objects)  https://review.opendev.org/c/openstack/nova/+/83940107:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Attach Manila shares via virtiofs (manila abstraction)  https://review.opendev.org/c/openstack/nova/+/83119407:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Attach Manila shares via virtiofs (drivers)  https://review.opendev.org/c/openstack/nova/+/83309007:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Attach Manila shares via virtiofs (api)  https://review.opendev.org/c/openstack/nova/+/83683007:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Bump compute version and check shares support  https://review.opendev.org/c/openstack/nova/+/85049907:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add metadata for shares  https://review.opendev.org/c/openstack/nova/+/85050007:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add instance.share_attach notification  https://review.opendev.org/c/openstack/nova/+/85050107:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add instance.share_detach notification  https://review.opendev.org/c/openstack/nova/+/85102807:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add shares to InstancePayload  https://review.opendev.org/c/openstack/nova/+/85102907:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add instance.power_on_error notification  https://review.opendev.org/c/openstack/nova/+/85208407:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add helper methods to attach/detach shares  https://review.opendev.org/c/openstack/nova/+/85208507:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add libvirt test to ensure metadata are working.  https://review.opendev.org/c/openstack/nova/+/85208607:44
opendevreviewribaudr proposed openstack/nova master: [WIP] Add virt/libvirt error test cases  https://review.opendev.org/c/openstack/nova/+/85208707:44
opendevreviewribaudr proposed openstack/nova master: Change microversion to 2.93  https://review.opendev.org/c/openstack/nova/+/85208807:44
gibiignazio: if the workload in the guest continuously dirtying the memory on the source host then libvirt continously needs to retransmitt the dirtied memory pages to the dest. 07:46
gibiignazio: you can try post-copy live migration07:46
gibihttps://docs.openstack.org/nova/pike/admin/live-migration-usage.html07:46
gibiahh07:46
gibihttps://docs.openstack.org/nova/latest/admin/live-migration-usage.html07:46
ignaziogibi: I have already tries post-copy instead converge with the same results07:47
gibiwith post-copy the guest will be activated on the dest earlier in the process and libvirt will copy the memory from the inactive guest from the source07:47
ignazioDo you think hugepage can help ?07:48
ignazioI read page size flavor deafaul is 4k. Is true ?07:48
gibihave you checked that the network used by libvirt for transferring the memory data has enough bandwidth?07:49
gibiI'm not sure if hugepage will make a difference. yes the default small page on x86 is 4k07:49
ignazioSo, if I migrate an istance it spend a lot of time searching memory to migrate. When I migrate back it takes few seconds .07:51
ignazioProbably after the first migration, the destination host reorganize the memory. I do not know very much the tlb mechanism07:52
gibimoving back is an idependent process, there is no way to remember the past memeory content08:10
ignazio<giby> the instance is using heavily the ram also on the first destination host after the first live migration. What I mean, because if I migrate again it takes few seconds ?08:23
opendevreviewMerged openstack/placement master: Clarify trait filtering in the API doc  https://review.opendev.org/c/openstack/placement/+/82550108:31
ignazio<gibi> I have 10Gbs bandwiths available08:44
gibiI'm out of ideas :/ sorry08:44
ignazio<gibi> thanks 08:45
* bauzas_away just pops his head from the window09:22
gibibauzas_away: o/ 09:22
bauzas_awaygibi: apologies about the PCI series, totally got out of my scope btw.09:23
bauzas_awayyesterday, I thought about it and said "oh shit, forgot to review it"09:23
gibibauzas_away: no worries, you are on vacation :)09:23
bauzas_awaygibi: I'll do a couple of series this morning09:23
bauzas_awaymy vacation trip is only next week, so this week this is just staying with the kids at home and preparing for the journey09:24
bauzas_awaygibi: thanks for your comment yesterdaty on https://review.opendev.org/c/openstack/nova/+/85192409:50
bauzas_awayreplying to it made me realize I was again writing a wrong logic09:50
bauzas_awaythe FUP can't fix the recreate issue, it should just remove the need for mdev_name2uuid09:51
opendevreviewNobuhiro MIKI proposed openstack/nova master: pci: fix checking for physical function  https://review.opendev.org/c/openstack/nova/+/85213510:09
sean-k-mooney[m]gibi:  can i assume you agree we shoudl just proceed with https://review.opendev.org/c/openstack/nova/+/845775/4 instead of ^10:35
sean-k-mooney[m]gibi can you rereivew https://review.opendev.org/c/openstack/nova/+/848886/18 you were previously +2 but i asked for the release note to be changed slightly10:58
gibisean-k-mooney[m]: I'm not sure that the two change are equivalent as after my patch we still uses is_physical_function and that queries sriov_totalvfs11:28
gibisean-k-mooney[m]: I'm +2+A on the evac change11:29
sean-k-mooney[m]ack11:30
sean-k-mooney[m]i dont think we shoudl really be basiing this off sriov_totalvfs11:30
sean-k-mooney[m]that can be 0 if you disable sriov VFs in the bios11:31
gibiI agree that this is shakey11:31
gibishaky11:31
sean-k-mooney[m]we dont really handel type-pci well with neutron11:32
sean-k-mooney[m]since we dont use the mac update logic for direct phyiscal  when you are using a type-pci device via vnic_type=direct11:32
sean-k-mooney[m]so what i dont want to see is use report a nic as type-pci becuase you change the bios setting to disable sriov and then prevent the port form working with direct-physical11:33
sean-k-mooney[m]i guess we can see if there is a better way to do the detection11:34
gibiwould be the proposed phys_port_name based detection better?11:35
sean-k-mooney[m]i would prefer if we honetly did not use these fucntions for this if we can avoid it11:35
sean-k-mooney[m]and use the objects form the virt driver instead11:35
sean-k-mooney[m]i have not looked recently but why are we determining if its a physical fucntion in that code path currently11:36
sean-k-mooney[m]this does not influcne if its reported as type-pci ectra today11:36
sean-k-mooney[m]that is done seperatly11:36
gibiI agree that we should not use the sysfs and user the libvirt driver instead11:39
gibiright now I cannot precisely answer why we look up the type during the whitelist parsing 11:39
sean-k-mooney[m]well rather the objects returned by the virt driver genericlly11:39
gibibut I have many theorethical issues with that code11:40
gibi+1 on an abstraction over the libvirt virt driver 11:40
sean-k-mooney[m]its proably used to supprot the feature where if we whitelist the pf addres with vf product id11:40
sean-k-mooney[m]we allow the VFs11:40
gibithat could be one reason yes11:40
sean-k-mooney[m]well you should not be calling the driver11:40
gibiit is a very convoluted code 11:41
sean-k-mooney[m]the whitelist is used to fileter the objects returned by the driver11:41
sean-k-mooney[m]by objects i mean the dicts11:41
sean-k-mooney[m]so the dict already has the type set11:41
sean-k-mooney[m]so we shoudl just be able to look at the type in the dict11:41
gibiyes, that would be nice 11:43
gibiit could be a natural continuation of the https://review.opendev.org/q/topic:pci-device-spec-cleanup series11:43
sean-k-mooney[m]yes11:44
sean-k-mooney[m]escpically since the sysfs way only works on linux anyway11:44
sean-k-mooney[m]it does ont work for other virt drivers where as the dict approch would11:44
gibiyes, I also want to remove the sysfs deps from the code 11:45
* gibi needs a time-machine11:45
sean-k-mooney[m]we cant remove all of them unforcunetly11:45
gibitrue, so limit them :)11:45
sean-k-mooney[m]since we cant trust libvirt because of its caching in some cases11:45
gibiyeah I saw what you and bauzas_away found about the mdev cache in libvirt11:46
sean-k-mooney[m]the sysfs part might be able to move to a libvirt dirver util file or somehting11:46
sean-k-mooney[m]well  its not just that11:46
gibiyepp, currently even the nova/network/neutron code is depend on sysfs too11:46
sean-k-mooney[m]i fixed a similar caching issue where libvirt would miss mac adress changes11:46
gibiprobably in general if we change something via sysfs and not via libvirt then libvirt will have a stale cache11:49
gibiwhich is sort of understandable11:49
kashyapYeah11:49
gibiwondering if neutron also manipulate the host via sysfs or ethtool11:50
gibias there they have no libvirt interface at all11:50
sean-k-mooney[m]in general if we could disable the caching in libvirt entirly i think we would11:50
sean-k-mooney[m]i have serriously considered if we would be better not using libvirt for device tracking a few times11:51
sean-k-mooney[m]https://review.opendev.org/c/openstack/nova/+/73913111:51
sean-k-mooney[m]that was the change i was thinkin of11:52
gibiyeah, or creating a way to force libvirt to refresh the cache11:52
sean-k-mooney[m]bind mount it to /dev/null on. disk ?11:52
gibiis it an on disk cache?11:53
gibiI assumed it is just in memory11:53
sean-k-mooney[m]i think both11:53
sean-k-mooney[m]its in memory in the vritnodedevd container11:53
sean-k-mooney[m]but i think it also caches some info on disk11:54
sean-k-mooney[m]i wonder can you just not use that container/deamon11:54
sean-k-mooney[m]and run without it11:54
sean-k-mooney[m]i should ask danpb11:54
sean-k-mooney[m]i assume that wont actully work11:55
sean-k-mooney[m]that deamon is more then just a cache11:55
gibiI assume so11:57
sean-k-mooney[m]what we really. want i think is to add a flag to https://libvirt.org/html/libvirt-libvirt-nodedev.html#virNodeListDevices to force it to probe11:59
gibiyepp, that would help12:00
gibiwe would just alway set that flag12:00
opendevreviewRajesh Tailor proposed openstack/nova master: Transport context to all threads  https://review.opendev.org/c/openstack/nova/+/82746712:06
gibisean-k-mooney[m]: when you have 2 minutes, could you look at this please? https://review.opendev.org/c/openstack/nova/+/845922 I got hit by it recently12:16
sean-k-mooney[m]sure im just working on a doc for a meeting tomrrow12:17
sean-k-mooney[m]hum im not familar with this bug but sure sound strait forward 12:17
gibiit happens on slow nodes12:18
sean-k-mooney[m]1.23 :)12:19
sean-k-mooney[m]i would have also accepted a 42, 420 or 6912:19
sean-k-mooney[m]have you ever looked at our ping message in the rpc client. that one is my favorite12:20
gibilol, now I looked :D12:22
sean-k-mooney[m]oh its the conductor ping not base api https://github.com/openstack/nova/blob/50fdbc752a9ca9c31488140ef2997ed59d861a41/nova/conductor/api.py#L6712:30
sean-k-mooney[m]but ya that makes me happy whenever i see it12:30
gibi:)12:33
gibi...brace for impact13:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Poison /sys access via various calls in test  https://review.opendev.org/c/openstack/nova/+/84462713:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Add compute restart capability for libvirt func tests  https://review.opendev.org/c/openstack/nova/+/85051013:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Rename [pci]passthrough_whitelist to device_spec  https://review.opendev.org/c/openstack/nova/+/84383413:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Rename exception.PciConfigInvalidWhitelist to PciConfigInvalidSpec  https://review.opendev.org/c/openstack/nova/+/84386113:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Rename whitelist in tests  https://review.opendev.org/c/openstack/nova/+/84386213:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Basics for PCI Placement reporting  https://review.opendev.org/c/openstack/nova/+/84618713:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Extend device_spec with resource_class and traits  https://review.opendev.org/c/openstack/nova/+/84621813:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Reject PCI dependent device config  https://review.opendev.org/c/openstack/nova/+/84643513:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Reject mixed VF rc and trait config  https://review.opendev.org/c/openstack/nova/+/84643613:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Ignore PCI devs with physical_network tag  https://review.opendev.org/c/openstack/nova/+/84621913:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Reject devname based device_spec config  https://review.opendev.org/c/openstack/nova/+/84646613:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Support [pci]device_spec reconfiguration  https://review.opendev.org/c/openstack/nova/+/84647013:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Stop if tracking is disable after it was enabled before  https://review.opendev.org/c/openstack/nova/+/84700913:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Move provider_tree RP creation to PciResourceProvider  https://review.opendev.org/c/openstack/nova/+/85054613:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Retry /reshape at provider generation conflict  https://review.opendev.org/c/openstack/nova/+/85135813:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Heal missing PCI allocation in the resource tracker  https://review.opendev.org/c/openstack/nova/+/85135913:00
opendevreviewBalazs Gibizer proposed openstack/nova master: Allow enabling PCI tracking in Placement  https://review.opendev.org/c/openstack/nova/+/85046813:00
gibithis should resolve all the mocking issues from ^^13:01
Ugglagibi, notify_about_instance_usage is a "legacy call" to notification and should not be used anymore ?13:06
gibiUggla: if you add a new notification for attaching a share then yes you should not use the legacy one13:07
Ugglaok13:08
gibiwe even have a test case that would prevent you to introduce a new legacy notification :)13:11
*** dasm|off is now known as dasm13:15
opendevreviewBence Romsics proposed openstack/nova master: Add limitation to docs about bug 1983570  https://review.opendev.org/c/openstack/nova/+/85216813:32
opendevreviewAmit Uniyal proposed openstack/nova master: Adds check for VM snapshot fail while quiesce  https://review.opendev.org/c/openstack/nova/+/85217113:45
opendevreviewBalazs Gibizer proposed openstack/nova master: Add more test coverage for devname base dev spec  https://review.opendev.org/c/openstack/nova/+/84462513:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Extra tests for remote managed dev spec  https://review.opendev.org/c/openstack/nova/+/84462613:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Unparent PciDeviceSpec from PciAddressSpec  https://review.opendev.org/c/openstack/nova/+/84449113:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Fix PciAddressSpec descendants to call super.__init__  https://review.opendev.org/c/openstack/nova/+/84456513:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Remove dead code from PhysicalPciAddress  https://review.opendev.org/c/openstack/nova/+/84462813:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Clean up mapping input to address spec types  https://review.opendev.org/c/openstack/nova/+/84576513:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Remove unused PF checking from get_function_by_ifname  https://review.opendev.org/c/openstack/nova/+/84577513:57
opendevreviewBalazs Gibizer proposed openstack/nova master: Fix type annotation of pci.Whitelist class  https://review.opendev.org/c/openstack/nova/+/84578013:57
opendevreviewBalazs Gibizer proposed openstack/nova master: Move __str__ to the PciAddressSpec base class  https://review.opendev.org/c/openstack/nova/+/84578113:57
opendevreviewMerged openstack/nova master: For evacuation, ignore if task_state is not None  https://review.opendev.org/c/openstack/nova/+/84888614:02
opendevreviewMerged openstack/nova master: Make test_wait_for_instance_event_* test time independent  https://review.opendev.org/c/openstack/nova/+/84592214:02
opendevreviewDan Smith proposed openstack/nova master: Remove system scope from all APIs  https://review.opendev.org/c/openstack/nova/+/84802115:31
opendevreviewDan Smith proposed openstack/nova master: Keep legacy admin behaviour in new RBAC  https://review.opendev.org/c/openstack/nova/+/84920915:31
dansmithgmann: ^15:31
gmann#topic Open Reviews15:32
gmann#link https://review.opendev.org/q/projects:openstack/governance+is:open15:32
gmann#endmeeting15:34
gmannohh :)15:34
gmannsorry, I used wrong channel. it was meant for TC channel15:35
*** gibi is now known as gibi_pto15:37
opendevreviewJan Hartkopf proposed openstack/nova master: add support for updating server's user_data  https://review.opendev.org/c/openstack/nova/+/81615717:00
melwittkashyap, stephenfin, sean-k-mooney[m]: I saw that someone else has proposed a patch for the live migration "no ram info was set" issue https://review.opendev.org/c/openstack/nova/+/852002 fyi if you might prefer that approach17:41
sean-k-mooney[m]did i review that before. 18:36
sean-k-mooney[m]it sound vaguly familar18:36
sean-k-mooney[m]https://review.opendev.org/c/openstack/nova/+/842687 is your version right18:37
sean-k-mooney[m]i was previously +2 on your version and stephen currently is so i would prefer ot proceed with yours unless there is a reason not too18:38
sean-k-mooney[m]they are both simialr and your patch has a release note so ill approve that now18:40
sean-k-mooney[m]ok with that im calling it a day o/ catch ye all tomrrow18:44
melwittsean-k-mooney[m]: cool, thanks. just wanted to show yall in case there was a preference. seeya tomorrow o/19:03
opendevreviewmelanie witt proposed openstack/nova master: Workaround qemu query-migrate issue during live migration  https://review.opendev.org/c/openstack/nova/+/84268719:56
*** dasm is now known as dasm|off22:11

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