*** brinzhang has joined #openstack-nova | 00:03 | |
*** brinzhang_ has quit IRC | 00:06 | |
*** adriant has joined #openstack-nova | 00:09 | |
*** _hemna has joined #openstack-nova | 00:15 | |
*** bbowen has quit IRC | 00:19 | |
*** bbowen has joined #openstack-nova | 00:19 | |
*** gyee has quit IRC | 00:31 | |
*** tetsuro has joined #openstack-nova | 00:40 | |
*** kodama_ has left #openstack-nova | 00:47 | |
*** mlavalle has quit IRC | 00:57 | |
*** ricolin has joined #openstack-nova | 00:59 | |
*** igordc has quit IRC | 01:04 | |
*** _hemna has quit IRC | 01:14 | |
*** eharney has quit IRC | 01:15 | |
*** imacdonn has quit IRC | 01:18 | |
*** imacdonn has joined #openstack-nova | 01:18 | |
*** mkrai_ has joined #openstack-nova | 01:19 | |
*** hongbin has joined #openstack-nova | 01:29 | |
*** hongbin_ has joined #openstack-nova | 01:32 | |
*** hongbin has quit IRC | 01:33 | |
openstackgerrit | Takashi NATSUME proposed openstack/nova master: Remove test_pre_live_migration_instance_has_no_fixed_ip https://review.opendev.org/670948 | 01:43 |
---|---|---|
*** _erlon_ has quit IRC | 02:05 | |
*** hongbin_ has quit IRC | 02:06 | |
*** brinzhang_ has joined #openstack-nova | 02:08 | |
*** brinzhang has quit IRC | 02:12 | |
*** tbachman has quit IRC | 02:15 | |
*** zzzeek has quit IRC | 02:16 | |
*** stakeda has joined #openstack-nova | 02:17 | |
*** zzzeek has joined #openstack-nova | 02:19 | |
*** hongbin has joined #openstack-nova | 02:23 | |
*** tetsuro has quit IRC | 02:29 | |
*** dklyle has quit IRC | 02:34 | |
*** david-lyle has joined #openstack-nova | 02:35 | |
*** tkajinam_ has joined #openstack-nova | 02:57 | |
*** tkajinam has quit IRC | 02:59 | |
*** tetsuro has joined #openstack-nova | 03:01 | |
*** tetsuro_ has joined #openstack-nova | 03:06 | |
*** tkajinam__ has joined #openstack-nova | 03:07 | |
*** tetsuro has quit IRC | 03:08 | |
*** tkajinam_ has quit IRC | 03:09 | |
openstackgerrit | ZhouHeng proposed openstack/nova-specs master: Support set port vnic type to create server https://review.opendev.org/672400 | 03:09 |
*** tetsuro_ has quit IRC | 03:11 | |
openstackgerrit | ZhouHeng proposed openstack/nova-specs master: Support set port vnic type to create server https://review.opendev.org/672400 | 03:26 |
openstackgerrit | Merged openstack/nova master: Use the safe get_binding_profile https://review.opendev.org/669817 | 03:27 |
*** psachin has joined #openstack-nova | 03:31 | |
*** hongbin has quit IRC | 03:33 | |
*** abhishekk has joined #openstack-nova | 03:34 | |
*** hongbin has joined #openstack-nova | 03:47 | |
*** whoami-rajat has joined #openstack-nova | 03:52 | |
*** udesale has joined #openstack-nova | 03:54 | |
openstackgerrit | Merged openstack/nova master: xvp: Start using consoleauth tokens https://review.opendev.org/652967 | 03:57 |
openstackgerrit | Merged openstack/nova master: xvp: Remove use of '_LI' marker https://review.opendev.org/665425 | 03:57 |
*** sapd1_x has joined #openstack-nova | 03:57 | |
*** igordc has joined #openstack-nova | 03:58 | |
*** igordc has quit IRC | 04:01 | |
openstackgerrit | Alex Xu proposed openstack/nova master: Add the virt driver interface for claim and unclaim the devices https://review.opendev.org/670782 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Moves the allocation retrieving early https://review.opendev.org/670783 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Calling the virt driver's claim/unclaim_for_instance in resource tracker https://review.opendev.org/670784 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Add DeviceManager to the libvirt virt driver https://review.opendev.org/671388 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Populates the existing mediated devices in the libvirt device manager https://review.opendev.org/670787 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Using the claim/unclaim_for_instance for mdevs https://review.opendev.org/671222 | 04:04 |
openstackgerrit | Alex Xu proposed openstack/nova master: Adds functional test for creating the instance with vgpus https://review.opendev.org/671398 | 04:04 |
*** hongbin has quit IRC | 04:06 | |
*** etp has joined #openstack-nova | 04:07 | |
*** sapd1_x has quit IRC | 04:07 | |
*** pcaruana has joined #openstack-nova | 04:27 | |
*** tetsuro has joined #openstack-nova | 04:35 | |
*** brault has joined #openstack-nova | 04:36 | |
*** brault has quit IRC | 04:37 | |
*** jaypipes has joined #openstack-nova | 04:49 | |
*** Luzi has joined #openstack-nova | 04:55 | |
*** tetsuro has quit IRC | 04:58 | |
*** vishwanathj has joined #openstack-nova | 04:59 | |
*** pcaruana has quit IRC | 05:12 | |
*** jangutter has quit IRC | 05:18 | |
*** boxiang has joined #openstack-nova | 05:25 | |
*** pcaruana has joined #openstack-nova | 05:25 | |
openstackgerrit | Alex Xu proposed openstack/nova master: Populates the existing mediated devices in the libvirt device manager https://review.opendev.org/670787 | 05:31 |
openstackgerrit | Alex Xu proposed openstack/nova master: Using the claim/unclaim_for_instance for mdevs https://review.opendev.org/671222 | 05:31 |
openstackgerrit | Alex Xu proposed openstack/nova master: Adds functional test for creating the instance with vgpus https://review.opendev.org/671398 | 05:31 |
*** vishwanathj has quit IRC | 05:55 | |
*** vishwanathj has joined #openstack-nova | 06:11 | |
*** vishwanathj has quit IRC | 06:17 | |
*** maciejjozefczyk has joined #openstack-nova | 06:21 | |
*** zhouyao has joined #openstack-nova | 06:26 | |
*** tetsuro has joined #openstack-nova | 06:28 | |
*** jawad_axd has joined #openstack-nova | 06:33 | |
*** takashin has left #openstack-nova | 06:43 | |
*** brinzhang has joined #openstack-nova | 06:48 | |
openstackgerrit | Brin Zhang proposed openstack/nova-specs master: Support for changing deleted_on_termination after boot https://review.opendev.org/580336 | 06:50 |
*** tetsuro has quit IRC | 06:54 | |
openstackgerrit | Brin Zhang proposed openstack/nova-specs master: Support delete_on_termination in volume attach api https://review.opendev.org/612949 | 06:59 |
*** bhagyashris_ has joined #openstack-nova | 07:02 | |
*** rcernin has quit IRC | 07:04 | |
*** tesseract has joined #openstack-nova | 07:05 | |
*** dpawlik has joined #openstack-nova | 07:07 | |
*** slaweq has joined #openstack-nova | 07:11 | |
*** _hemna has joined #openstack-nova | 07:12 | |
*** _hemna has quit IRC | 07:16 | |
*** jangutter has joined #openstack-nova | 07:19 | |
*** jangutter has quit IRC | 07:23 | |
*** ttsiouts has joined #openstack-nova | 07:25 | |
*** zhouyao has quit IRC | 07:26 | |
*** rpittau|afk is now known as rpittau | 07:27 | |
*** brault has joined #openstack-nova | 07:30 | |
*** brault has quit IRC | 07:30 | |
openstackgerrit | YumengBao proposed openstack/nova master: add cyborg tempest job https://review.opendev.org/670999 | 07:31 |
*** tssurya has joined #openstack-nova | 07:39 | |
kashyap | aspiers: Morning | 07:41 |
kashyap | "Previously get_domain_capabilities() in nova.virt.libvirt.host.Host assumed that 'q35' would be an acceptable fallback default for any architecture if no default machine type was hardcoded in nova" | 07:42 |
kashyap | sean-k-mooney: aspiers: Whoops, totally missed to notice that first time around | 07:42 |
*** ttsiouts has quit IRC | 07:43 | |
*** ttsiouts has joined #openstack-nova | 07:44 | |
boxiang | make evacuation respects anti-affinity rule https://review.opendev.org/#/c/649963/ | 07:46 |
boxiang | fix live migration break group policy simultaneously https://review.opendev.org/#/c/651969/ | 07:46 |
boxiang | ^ there are two patches need someone review | 07:47 |
boxiang | thanks | 07:47 |
*** ttsiouts has quit IRC | 07:48 | |
*** ralonsoh has joined #openstack-nova | 07:53 | |
*** belmoreira has joined #openstack-nova | 07:59 | |
*** threestrands has joined #openstack-nova | 08:02 | |
*** shilpasd has joined #openstack-nova | 08:07 | |
*** tkajinam__ has quit IRC | 08:18 | |
*** ttsiouts has joined #openstack-nova | 08:18 | |
*** priteau has joined #openstack-nova | 08:19 | |
*** elod has quit IRC | 08:19 | |
openstackgerrit | ZhouHeng proposed openstack/nova-specs master: Support set port vnic type to create server https://review.opendev.org/672400 | 08:28 |
*** tetsuro has joined #openstack-nova | 08:30 | |
openstackgerrit | Martin Midolesov proposed openstack/nova master: Implementing graceful shutdown. https://review.opendev.org/666245 | 08:33 |
*** belmoreira has quit IRC | 08:34 | |
*** elod2 has joined #openstack-nova | 08:35 | |
tetsuro | hi | 08:36 |
*** tetsuro has quit IRC | 08:42 | |
*** priteau has quit IRC | 08:43 | |
*** priteau has joined #openstack-nova | 08:44 | |
*** priteau has quit IRC | 08:44 | |
aspiers | kashyap: yeah, that was totally my bad, but true you should have noticed me being an idiot at the time ;-) | 08:45 |
kashyap | aspiers: No, not at all. You did much of the donkey work. I am just adding a note in the review | 08:45 |
*** altlogbot_1 has quit IRC | 08:51 | |
*** irclogbot_1 has quit IRC | 08:51 | |
*** altlogbot_1 has joined #openstack-nova | 08:52 | |
*** irclogbot_1 has joined #openstack-nova | 08:53 | |
*** shilpasd has quit IRC | 08:53 | |
*** belmoreira has joined #openstack-nova | 09:06 | |
*** lpetrut has joined #openstack-nova | 09:07 | |
*** awalende has joined #openstack-nova | 09:10 | |
*** derekh has joined #openstack-nova | 09:13 | |
openstackgerrit | Alex Xu proposed openstack/nova master: Populates the existing mediated devices in the libvirt device manager https://review.opendev.org/670787 | 09:14 |
openstackgerrit | Alex Xu proposed openstack/nova master: Adds functional test for creating the instance with vgpus https://review.opendev.org/671398 | 09:14 |
*** jangutter has joined #openstack-nova | 09:16 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: libvirt: harden Host.get_domain_capabilities() https://review.opendev.org/670189 | 09:16 |
*** ccamacho has joined #openstack-nova | 09:20 | |
*** ttsiouts has quit IRC | 09:21 | |
*** ttsiouts has joined #openstack-nova | 09:22 | |
kashyap | aspiers: Oops, I was commenting on PS-5 | 09:23 |
openstackgerrit | Alex Xu proposed openstack/nova master: Populates the existing mediated devices in the libvirt device manager https://review.opendev.org/670787 | 09:26 |
openstackgerrit | Alex Xu proposed openstack/nova master: Using the claim/unclaim_for_instance for mdevs https://review.opendev.org/671222 | 09:26 |
openstackgerrit | Alex Xu proposed openstack/nova master: Adds functional test for creating the instance with vgpus https://review.opendev.org/671398 | 09:26 |
*** ttsiouts has quit IRC | 09:27 | |
*** cdent has joined #openstack-nova | 09:27 | |
aspiers | kashyap: PS6 is just a pep8 fix | 09:30 |
kashyap | Ah, okay | 09:30 |
aspiers | PS7 will address your feedback, and PS8 will rebase | 09:31 |
kashyap | Nod; thank you | 09:31 |
*** priteau has joined #openstack-nova | 09:32 | |
kashyap | aspiers: How did you guys "suddenly" discover this? | 09:32 |
*** ttsiouts has joined #openstack-nova | 09:32 | |
kashyap | My guess is sean-k-mooney or you were probably using the Nova wrapper functions and came across it... | 09:32 |
alex_xu | cdent: good morning | 09:32 |
cdent | hi alex_xu | 09:33 |
aspiers | kashyap: sean-k-mooney noticed it broke his qemu emulators for other archs | 09:33 |
aspiers | the ones which noone uses ;-) | 09:34 |
alex_xu | cdent: so I have question about vmware driver. since I found we need a way to distinguish the src node claim and dest node claim when we do the same host resizing, so I add flavor to the claim/unclaim interface also https://review.opendev.org/#/c/670782/5/nova/virt/driver.py@1082. So I can distinguish the claim by instance_uuid + flavor.id | 09:34 |
alex_xu | cdent: but I found the vmware driver is the only driver supports same host cold migration, for the cold migration, it means the flavor is same. | 09:35 |
kashyap | aspiers: Hehe | 09:35 |
cdent | alex_xu: yeah | 09:35 |
kashyap | alex_xu: Can you also take a look at this one? -- https://review.opendev.org/#/c/670189 | 09:35 |
alex_xu | cdent: so want to hear your opionion on this. since vmware driver can supports same host cold migraiton, so whether it has a way to distinguish the claim by itself | 09:36 |
alex_xu | or this interface doesn't work for you | 09:36 |
kashyap | aspiers: We should get this merged in Train. Should we file a bug to track? | 09:36 |
alex_xu | kashyap: got it | 09:36 |
aspiers | kashyap: it will probably merge later today with your +1 | 09:36 |
kashyap | alex_xu: Thank you. It's a bit important to not break other architectures. | 09:36 |
kashyap | aspiers: Excellent | 09:36 |
aspiers | kashyap: since implicit +1 from me and sean | 09:37 |
kashyap | s/a bit// | 09:37 |
alex_xu | cdent: not need to answer for now, you can comment on the patch when you get a chance | 09:37 |
cdent | alex_xu: good question. I can't really answer it off the top of my head so will need to do a bit of poking around, but my initial thought is that within the driver it's not really same host, it's simply same nova-compute. under the covers it is probably changing esxi host | 09:38 |
cdent | but yeah, will look more closely at the code and see if it can be workable, and will leave some comments | 09:38 |
aspiers | kashyap: I'm just going to copy your qemu/libvirt defaults note in verbatim - I think it's useful | 09:39 |
kashyap | aspiers: Sure, go for it | 09:39 |
alex_xu | cdent: yea, thanks! | 09:39 |
*** boxiang has quit IRC | 09:42 | |
cdent | alex_xu: I'm trying to think of a situation where you'd want to do a same size flavor cold migration: resize with different size to the same host would make sense as something you want to trigger externally. But if you need/want a migration within the same cluster to something that is the same size, the DRS might do that. | 09:42 |
*** eandersson has quit IRC | 09:42 | |
cdent | I'll have to inquire with some internal colleagues. The alignment between how vsphere and nova think is not perfect... | 09:43 |
openstackgerrit | Adam Spiers proposed openstack/nova master: libvirt: harden Host.get_domain_capabilities() https://review.opendev.org/670189 | 09:43 |
openstackgerrit | Adam Spiers proposed openstack/nova master: libvirt: harden Host.get_domain_capabilities() https://review.opendev.org/670189 | 09:43 |
aspiers | kashyap: ^^^ | 09:43 |
* kashyap clicks | 09:44 | |
alex_xu | cdent: yea, that is special for vsphere. for other driver, the cold migration with same host probably just a stop and a start, that doesn't make sense | 09:44 |
aspiers | kashyap: you'll want to diff PS5 against 7 | 09:45 |
kashyap | Right, will do | 09:45 |
*** lpetrut has quit IRC | 09:47 | |
kashyap | aspiers: And, nice work on the commit message. I see you've expanded from PS-1 (noticing from a diff of PS-1 to PS-5) | 09:49 |
aspiers | yep | 09:50 |
aspiers | It took me a while to grok, so I wanted to save others the effort | 09:50 |
kashyap | Yes, it lays it all out. Thanks for taking time | 09:51 |
kashyap | sean-k-mooney: aspiers: One thing, though: In the test, def test_get_domain_capabilities_other_archs(self): | 09:52 |
kashyap | Why aren't AArch64, s390x et al aren't included in the 'archs' dictionary? | 09:53 |
aspiers | because they're not covered by fakelibvirt getCapabilities | 09:54 |
*** arxcruz is now known as arxcruz|brb | 09:54 | |
kashyap | Ah, right. (As I prefixed, I was still looking at the full test data) | 09:54 |
kashyap | Probably worth mentioning as a note in the test? It's optional, only if you are respinning | 09:55 |
aspiers | I don't have anything else to respin | 09:55 |
aspiers | but I can add it | 09:55 |
bhagyashris_ | stephenfin: Hi Thank you for review all my patches! I have some questions regarding some review comments. | 09:57 |
bhagyashris_ | stephenfin: Regarding comment on https://review.opendev.org/#/c/672221/1/nova/objects/instance_numa_topology.py , Yeah I agree we are not going to support both PCPU and VCPU resource allocation for single instance and that I have handle at both api and scheduler side by adding the check https://review.opendev.org/#/c/672222/1/nova/virt/hardware.py@1437 and https://review.opendev.org/#/c/672223/1/nova/scheduler/request_fil | 09:57 |
bhagyashris_ | ter.py@215 | 09:57 |
openstackgerrit | Adam Spiers proposed openstack/nova master: libvirt: harden Host.get_domain_capabilities() https://review.opendev.org/670189 | 09:58 |
*** jaosorior has joined #openstack-nova | 09:59 | |
*** etp has quit IRC | 09:59 | |
*** etp has joined #openstack-nova | 09:59 | |
kashyap | aspiers: Thank you | 10:00 |
stephenfin | bhagyashris_: Okay. If that's the case, why do we need to add a pcpuset field? Can't we just use cpuset for both? | 10:02 |
stephenfin | Like we've been doing for the host NUMATopology object for a while now | 10:02 |
*** luksky123 has joined #openstack-nova | 10:02 | |
stephenfin | For forever | 10:02 |
*** jovial[m] has quit IRC | 10:04 | |
*** trident has quit IRC | 10:06 | |
*** ganso has quit IRC | 10:06 | |
*** ganso has joined #openstack-nova | 10:07 | |
*** trident has joined #openstack-nova | 10:08 | |
*** threestrands has quit IRC | 10:08 | |
*** lpetrut has joined #openstack-nova | 10:09 | |
*** ttsiouts has quit IRC | 10:09 | |
bhagyashris_ | stephenfin: as our future plan is to support both the PCPU and VCPU resources so that time we will anyways will required the pcpuset field so making this change now will be anyways used in the future | 10:09 |
*** ttsiouts has joined #openstack-nova | 10:10 | |
*** brinzhang has quit IRC | 10:10 | |
stephenfin | Hmm, it just feels like putting the cart ahead of the horse. I need to figure out if it adds much complexity or not | 10:10 |
bhagyashris_ | stephenfin: ok, waiting for your inputs then... :) | 10:12 |
*** ttsiouts has quit IRC | 10:14 | |
*** tbachman has joined #openstack-nova | 10:18 | |
*** boxiang has joined #openstack-nova | 10:18 | |
bhagyashris_ | stephenfin: I have one more question about the comment you have given on patch https://review.opendev.org/#/c/672222/1 | 10:19 |
bhagyashris_ | stephenfin: As you are not sure about allowing the new syntax to request PCPU or VCPU resources using the flavor extra specs ‘resources:VCPU’ so then what is the plan because I saw in the specs https://review.opendev.org/#/c/555081/28/specs/train/approved/cpu-resources.rst@242 that we are going to allow this syntax so I consider this point and implemented the spec | 10:19 |
*** purplerbot has quit IRC | 10:19 | |
*** tbachman has quit IRC | 10:19 | |
*** purplerbot has joined #openstack-nova | 10:20 | |
*** tbachman has joined #openstack-nova | 10:20 | |
*** abhishekk has quit IRC | 10:24 | |
bhagyashris_ | stephenfin: ^ | 10:29 |
*** dpawlik has quit IRC | 10:39 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: Provide HW_CPU_X86_AMD_SEV trait when SEV is supported https://review.opendev.org/638680 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add extra spec parameter and image property for memory encryption https://review.opendev.org/664420 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Extract SEV-specific bits on host detection https://review.opendev.org/636334 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add <launchSecurity> and <driver iommu='on' /> to config.py https://review.opendev.org/636318 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Apply SEV-specific guest config when SEV is required https://review.opendev.org/644565 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Enable booting of libvirt guests with AMD SEV memory encryption https://review.opendev.org/666616 | 10:45 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Enable booting of libvirt guests with AMD SEV memory encryption https://review.opendev.org/666616 | 10:45 |
openstackgerrit | dzogchen proposed openstack/nova master: Nova: node should be deleted when nova-compute is removed https://review.opendev.org/671731 | 10:46 |
bhagyashris_ | stephenfin: and also what is the plan I mean still 'cpuset' will be used incase of [compute] cpu_dedicated_set is define ? | 10:51 |
bhagyashris_ | stephenfin: Actually I am working in the JST zone so here almost 8 PM so I am leaving office so plz give me your opinion whenever you will get time I will check it by tomorrow. | 10:53 |
*** bhagyashris_ has quit IRC | 10:55 | |
*** ttsiouts has joined #openstack-nova | 10:59 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: Provide HW_CPU_X86_AMD_SEV trait when SEV is supported https://review.opendev.org/638680 | 11:00 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add extra spec parameter and image property for memory encryption https://review.opendev.org/664420 | 11:00 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Extract SEV-specific bits on host detection https://review.opendev.org/636334 | 11:00 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add <launchSecurity> and <driver iommu='on' /> to config.py https://review.opendev.org/636318 | 11:00 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Apply SEV-specific guest config when SEV is required https://review.opendev.org/644565 | 11:00 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Enable booting of libvirt guests with AMD SEV memory encryption https://review.opendev.org/666616 | 11:00 |
openstackgerrit | dzogchen proposed openstack/nova master: Nova: node should be deleted when nova-compute is removed https://review.opendev.org/671731 | 11:05 |
*** tbachman has joined #openstack-nova | 11:06 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: Pass extra_specs to flavor in vif tests https://review.opendev.org/662556 | 11:07 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Pass extra_specs to flavor in vif tests https://review.opendev.org/662556 | 11:08 |
*** dpawlik has joined #openstack-nova | 11:08 | |
*** boxiang has quit IRC | 11:10 | |
*** boxiang has joined #openstack-nova | 11:11 | |
*** udesale has quit IRC | 11:15 | |
*** cdent has quit IRC | 11:16 | |
*** cdent has joined #openstack-nova | 11:27 | |
aspiers | efried: in *theory* SEV is now code complete ... for at least the next few minutes until you find another flaw ;-) | 11:29 |
aspiers | efried: I am now going to do some more testing on real hardware | 11:30 |
aspiers | if that goes well, I have to backport to Rocky :-O | 11:30 |
cdent | alex_xu: if you're still around, do you have a pointer to an example of how the flavor will be used during the resize activity we discussed above? | 11:32 |
aspiers | efried: and after an internal deadline on this stuff, maybe I can get back to some more generic nova hacking :) | 11:32 |
cdent | what I mean is how the claim distinguishing needs to happen | 11:32 |
*** irclogbot_1 has quit IRC | 11:33 | |
*** belmoreira has quit IRC | 11:34 | |
*** irclogbot_0 has joined #openstack-nova | 11:35 | |
*** shilpasd has joined #openstack-nova | 11:36 | |
kashyap | coreycb: Hi, on this -- https://bugs.launchpad.net/ubuntu/+source/edk2/+bug/1836859 | 11:42 |
openstack | Launchpad bug 1836859 in edk2 (Ubuntu) "RFE: Ship the firmware "descriptor files" as part of the 'ovmf' package" [Undecided,New] | 11:42 |
kashyap | coreycb: Christian Ehrhardt said he'll ping 'dannf', whom I've pinged myself several times on #debian-QEMU on OFTC. And it is complete crickets so far | 11:43 |
kashyap | coreycb: Do you know anyone _else_ who is able to get that to the finish line? | 11:43 |
*** belmoreira has joined #openstack-nova | 11:46 | |
*** jaosorior has quit IRC | 11:48 | |
*** etp has quit IRC | 12:21 | |
kashyap | aspiers: Unrelated: I like the `return supported and requested` here in your SEV patch: https://review.opendev.org/#/c/644565/21/nova/virt/libvirt/utils.py | 12:26 |
aspiers | kashyap: readability is key :) | 12:28 |
kashyap | I think I will steal it for Secure Boot patches | 12:29 |
*** arxcruz|brb is now known as arxcruz | 12:29 | |
kashyap | aspiers: I'd appreciate your feedback, once I get them rolling :D. (The spec is merged: https://opendev.org/openstack/nova-specs/src/branch/master/specs/train/approved/allow-secure-boot-for-qemu-kvm-guests.rst) | 12:29 |
*** mriedem has joined #openstack-nova | 12:35 | |
*** ttsiouts has quit IRC | 12:36 | |
mriedem | bauzas: libvirt vgpu queens bug in triage if you've seen the error before https://bugs.launchpad.net/nova/+bug/1837681 | 12:36 |
openstack | Launchpad bug 1837681 in OpenStack Compute (nova) "Failed to create vgpu cause of IOError" [Undecided,New] | 12:36 |
*** ttsiouts has joined #openstack-nova | 12:36 | |
alex_xu | cdent: the problem is on the drop the claim https://review.opendev.org/#/c/670784/5/nova/compute/resource_tracker.py@498 | 12:37 |
alex_xu | cdent: this is mdev's unclaim I try to implement https://review.opendev.org/#/c/671222/8/nova/virt/libvirt/device.py@150 | 12:38 |
* cdent reads | 12:39 | |
*** ttsiouts has quit IRC | 12:41 | |
cdent | alex_xu: so when mdev.flavor_id != flavor_id we don't clear the mdev.instance_uuid because that signals we are on destination? | 12:42 |
cdent | Using the flavor in that way seems hard to follow. Would it not be better further up the stack to make the distinction, rather than being implicit? | 12:43 |
*** mkrai_ has quit IRC | 12:43 | |
*** mkrai has joined #openstack-nova | 12:43 | |
*** coreycb has quit IRC | 12:45 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add extra spec parameter and image property for memory encryption https://review.opendev.org/664420 | 12:46 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Extract SEV-specific bits on host detection https://review.opendev.org/636334 | 12:46 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Add <launchSecurity> and <driver iommu='on' /> to config.py https://review.opendev.org/636318 | 12:46 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Apply SEV-specific guest config when SEV is required https://review.opendev.org/644565 | 12:46 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Enable booting of libvirt guests with AMD SEV memory encryption https://review.opendev.org/666616 | 12:46 |
alex_xu | cdent: we will pass old or new flavor_id to the unclaim_for_instance based on the unclaim is on src or dest node. But yes, you are right, it is implicity | 12:46 |
*** coreycb has joined #openstack-nova | 12:47 | |
alex_xu | cdent: I can pass a flag to indicate this is src or dest host. Then the virt driver depends on that flag fetch the new or old flavor id, and assign to mdev.flavor_id | 12:48 |
*** mkrai has quit IRC | 12:48 | |
cdent | that seems like it would be more clear. it would also make it easier to ignore flavors entirely if we want to | 12:48 |
coreycb | kashyap: i'll check with dannf in a bit when he gets in and see if I can get any info | 12:49 |
*** jaosorior has joined #openstack-nova | 12:49 | |
alex_xu | cdent: yea, agree with you, that is too implicity, not clear to the virt driver what behavior should be implement. | 12:49 |
* cdent nods | 12:49 | |
kashyap | coreycb: Thanks. I've pinged him on #debian-qemu twice in the last two weeks, FWIW. | 12:49 |
kashyap | I assumed he's on vacation. | 12:49 |
*** eharney has joined #openstack-nova | 12:49 | |
alex_xu | although still have a little implicit on the virt driver need to use flavor as part of identify of claim | 12:50 |
alex_xu | cdent: how about nova just compose an id by (instance_uuid, flavor_id), then the virt driver needn't care about it. | 12:52 |
cdent | alex_xu: I'm unclear where that id is being used? | 12:53 |
alex_xu | cdent: I use instance_uuid and flavor_id to distingush the claim. so combine them to as a key | 12:53 |
*** belmoreira has quit IRC | 12:54 | |
*** maciejjozefczyk_ has joined #openstack-nova | 12:56 | |
*** liuyulong has joined #openstack-nova | 12:56 | |
bauzas | mriedem: ack | 12:57 |
bauzas | mriedem: thanks | 12:57 |
*** maciejjozefczyk has quit IRC | 12:59 | |
mriedem | stephenfin: dansmith: i'm not sure about some stuff in this estimate_instance_overhead "removal" change https://review.opendev.org/#/c/672106/ | 12:59 |
*** elod has joined #openstack-nova | 13:01 | |
*** jawad_axd has quit IRC | 13:01 | |
*** elod2 has quit IRC | 13:02 | |
*** awalende has quit IRC | 13:04 | |
*** awalende has joined #openstack-nova | 13:05 | |
stephenfin | mriedem: I'd initially just removed the whole lot but then I spotted that path that I thought used it. Perhaps not though. Will update shortly (y) | 13:05 |
mriedem | well don't take my word for it, but you should double check | 13:05 |
mriedem | but i don't see those *used compute node fields used in any of the non-upt fallback flows for reporting provider inventory | 13:05 |
mriedem | iow overhead has always been separate from what we report to placement | 13:06 |
mriedem | which is i think why we talked about it in boston - how to account for the driver overhead stuff in our inventory/allocation reporting and just settled on operators needing to bump reserved | 13:07 |
mriedem | if you do respin, it'd be nice to address my comments in https://review.opendev.org/#/c/551026/ and then i'd re-+2 | 13:07 |
*** awalende has quit IRC | 13:09 | |
alex_xu | stephenfin: good morning, appreciate if you can take a look at https://review.opendev.org/668656 | 13:10 |
*** ttsiouts has joined #openstack-nova | 13:12 | |
alex_xu | stephenfin: after go through your code on standard cpu tracking, I think there is no data model for ^ that spec. I can totally reuse InstanceNumaCell.cpu_pinning_raw | 13:13 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Test heal port allocations in nova-next https://review.opendev.org/669879 | 13:21 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Disable cinder-backup service in nova-next job https://review.opendev.org/672518 | 13:21 |
*** artom has quit IRC | 13:25 | |
*** maciejjozefczyk_ is now known as maciejjozefczyk | 13:25 | |
*** ttsiouts has quit IRC | 13:28 | |
*** ttsiouts has joined #openstack-nova | 13:29 | |
stephenfin | alex_xu: Sure thing | 13:31 |
efried | stephenfin: If you get a minute, would you please have a look at this oldy moldy again? We're one patch away from being able to kill fake_libvirt_utils https://review.opendev.org/#/c/644793/ | 13:32 |
*** ttsiouts has quit IRC | 13:33 | |
*** awalende has joined #openstack-nova | 13:34 | |
*** awalende has quit IRC | 13:38 | |
*** cdent has quit IRC | 13:38 | |
*** ganso has quit IRC | 13:39 | |
*** brault has joined #openstack-nova | 13:39 | |
*** liuyulong has quit IRC | 13:41 | |
*** cdent has joined #openstack-nova | 13:42 | |
*** ttsiouts has joined #openstack-nova | 13:45 | |
*** vishwanathj has joined #openstack-nova | 13:46 | |
*** belmoreira has joined #openstack-nova | 14:00 | |
*** ganso has joined #openstack-nova | 14:01 | |
openstackgerrit | Eric Fried proposed openstack/nova master: Disable cinder-backup service in nova-next job https://review.opendev.org/672518 | 14:05 |
openstackgerrit | Eric Fried proposed openstack/nova master: Test heal port allocations in nova-next https://review.opendev.org/669879 | 14:07 |
*** brault has quit IRC | 14:07 | |
efried | mriedem: ftfy ^ | 14:08 |
*** Laszlo-74 has joined #openstack-nova | 14:13 | |
*** Luzi has quit IRC | 14:14 | |
mriedem | ah yeah bad rebase on my part | 14:16 |
*** lennyb has quit IRC | 14:18 | |
openstackgerrit | Martin Midolesov proposed openstack/nova master: Implementing graceful shutdown. https://review.opendev.org/666245 | 14:21 |
*** JamesBenson has joined #openstack-nova | 14:21 | |
*** dpawlik has quit IRC | 14:25 | |
*** mriedem has quit IRC | 14:29 | |
stephenfin | efried: Done (https://review.opendev.org/#/c/644793/) | 14:30 |
Laszlo-74 | Hello everybody. Is there a document that describes the nova cold migration? I have a problem migrating instances and I want to read about how the things are supposed to happen in the background. On the openstack docs I've found info only about how to use the migration, but I want to understand how it is happening.Thank you | 14:33 |
*** dpawlik has joined #openstack-nova | 14:33 | |
edleafe | ll | 14:33 |
efried | thanks stephenfin | 14:37 |
kashyap | efried: jroll: Hey, got a link to that TPM passthrough spec/BP? | 14:38 |
efried | kashyap: The emulated one? (The physical one is dead) | 14:38 |
kashyap | Ah, good -- the physical one is dead | 14:38 |
efried | http://specs.openstack.org/openstack/nova-specs/specs/train/approved/add-emulated-virtual-tpm.html | 14:38 |
kashyap | That was about to be my "news" | 14:38 |
efried | oh, what is your perspective, see if it matches our discoveries | 14:38 |
*** mlavalle has joined #openstack-nova | 14:39 | |
kashyap | Because, FWIW, the RHEL Virt folks are going to disable / unspport the TPM passthrough | 14:39 |
dansmith | woot | 14:39 |
efried | kashyap: here was the draft https://review.opendev.org/#/c/667926/ based on some invalid assumptions, like the ability to wipe / transfer ownership of the pTPM without a frickin reboot. | 14:39 |
kashyap | ... now that vTPM is secure enough (with the vTPM state encryption patches for libvirt are merged.) | 14:39 |
kashyap | efried: I'm on a loong call :-( Will look once done. | 14:40 |
efried | kashyap: no need | 14:40 |
kashyap | I just wanted to convey what I learned | 14:40 |
efried | Thanks kashyap. | 14:41 |
*** psachin has quit IRC | 14:41 | |
*** belmoreira has quit IRC | 14:42 | |
*** ricolin_ has joined #openstack-nova | 14:42 | |
jroll | lol, thanks kashyap | 14:43 |
*** rouk has quit IRC | 14:43 | |
*** jmlowe has quit IRC | 14:45 | |
*** ricolin has quit IRC | 14:45 | |
*** david-lyle is now known as dklyle | 14:45 | |
openstackgerrit | Merged openstack/nova master: Remove test_pre_live_migration_instance_has_no_fixed_ip https://review.opendev.org/670948 | 14:45 |
*** belmoreira has joined #openstack-nova | 14:47 | |
*** dpawlik has quit IRC | 14:48 | |
*** igordc has joined #openstack-nova | 14:49 | |
*** belmoreira has quit IRC | 14:50 | |
*** artom has joined #openstack-nova | 14:52 | |
*** belmoreira has joined #openstack-nova | 14:53 | |
*** belmoreira has quit IRC | 14:57 | |
*** jmlowe has joined #openstack-nova | 15:00 | |
*** belmoreira has joined #openstack-nova | 15:00 | |
*** ricolin_ is now known as ricolin | 15:02 | |
*** shilpasd has quit IRC | 15:03 | |
*** ccamacho has quit IRC | 15:05 | |
melwitt | kashyap: do you happen to have a link to look at about the libvirt patches that were landed? or version available? | 15:09 |
*** mriedem has joined #openstack-nova | 15:09 | |
kashyap | melwitt: Hmm, the news.html -- let me get that | 15:09 |
kashyap | (On my request, they even added per-release hyperlink) | 15:09 |
kashyap | melwitt: So for a year or two libvirt upstream has been documenting each new feature as part of the 'news' for each release. | 15:10 |
kashyap | https://libvirt.org/news.html | 15:10 |
melwitt | kashyap: a-ha, cool. thanks! | 15:10 |
kashyap | By "documenting" don't expect anything super useful :D -- just a small one- or two-line description | 15:11 |
kashyap | jroll: Not sure you might've noticed -- the vTPM state encryption patches for libvirt are merged. | 15:11 |
jroll | kashyap: I hadn't noticed yet, thanks | 15:12 |
*** gyee has joined #openstack-nova | 15:13 | |
* kashyap double-checks, actually. | 15:14 | |
kashyap | jroll: No, I tell a lie. It is "ready to be merged". | 15:14 |
jroll | heh | 15:14 |
*** belmoreira has quit IRC | 15:25 | |
mriedem | got a few easy stable/stein backports with +2s waiting on another core https://review.opendev.org/#/q/status:open+project:openstack/nova+branch:stable/stein+label:Code-Review=2 | 15:27 |
artom | mriedem, FWIW Lee's in a meetup this week, so he's not really around | 15:28 |
*** ttsiouts has quit IRC | 15:28 | |
mriedem | lee's not the only stable core | 15:29 |
artom | I know, just saying :) | 15:29 |
*** ttsiouts has joined #openstack-nova | 15:29 | |
artom | (Someone was asking about his whereabouts, probably you) | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove deprecated CPU, RAM, disk claiming in resource tracker https://review.opendev.org/551026 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'nova.virt.driver.ComputeDriver.estimate_instance_overhead' https://review.opendev.org/672106 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Rename 'nova.objects.instance_numa_topology' https://review.opendev.org/671789 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Remove unnecessary try-catch around 'getCPUMap' https://review.opendev.org/671790 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Remove legacy '_from_dict' functions https://review.opendev.org/537414 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: claims: Remove useless caching https://review.opendev.org/671791 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Add '[compute] cpu_dedicated_set' option https://review.opendev.org/671792 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Start reporting PCPU inventory to placement https://review.opendev.org/671793 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: trivial: Rename exception argument https://review.opendev.org/671795 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: trivial: Remove unused function parameter https://review.opendev.org/671796 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.get_host_numa_usage_from_instance' https://review.opendev.org/671797 | 15:29 |
stephenfin | wheeee | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.host_topology_and_format_from_host' https://review.opendev.org/671798 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.instance_topology_from_instance' https://review.opendev.org/671799 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: hardware: Differentiate between shared and dedicated CPUs https://review.opendev.org/671800 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Split NUMA object tests https://review.opendev.org/672336 | 15:29 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Add support translating CPU policy extra specs, image meta https://review.opendev.org/671801 | 15:29 |
mriedem | i do like to keep tabs on lee | 15:30 |
mriedem | that's true | 15:30 |
artom | Btw, while you were out, I believe it was Sean who typo'ed your name as mriderman. I found that highly amusing :D | 15:31 |
mriedem | dansmith: ^ | 15:32 |
mriedem | not at all surprising | 15:32 |
dansmith | artom: people have been calling him riderman for a long time | 15:32 |
artom | /r/outoftheloop :( | 15:32 |
*** tssurya has quit IRC | 15:32 | |
*** ttsiouts has quit IRC | 15:34 | |
kashyap | Hehe, mriedem - you gotta admit, that's a nice Friday nick :D | 15:35 |
kashyap | riderman :D | 15:35 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: compute: Use source_bdms to reset attachment_ids during LM rollback https://review.opendev.org/652800 | 15:35 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: compute: refactor volume bdm rollback error handling https://review.opendev.org/656500 | 15:36 |
*** hongbin has joined #openstack-nova | 15:36 | |
*** sean-k-mooney has joined #openstack-nova | 15:37 | |
artom | ♩ Rider man, rider man / Does whatever a rider can / Spins his wheels, lots of smoke / Wear your helmet, don't be a joke / Look out! Here comes the Riderman! ♩ | 15:37 |
* artom -> lunch | 15:38 | |
*** hongbin has quit IRC | 15:42 | |
*** hongbin has joined #openstack-nova | 15:42 | |
*** hongbin has quit IRC | 15:43 | |
*** hongbin has joined #openstack-nova | 15:44 | |
*** maciejjozefczyk has quit IRC | 15:48 | |
*** boxiang has quit IRC | 15:50 | |
*** boxiang has joined #openstack-nova | 15:50 | |
sean-k-mooney | mriedem: so i havent read the full thread on the imageProperties thing but what are your current feeiling on that topic. i remmeber discusing this at one of the ptgs and i had though we were not going to expose the use of kvm via the api or limit you to only kvm if you had virt_type=kvm | 16:05 |
sean-k-mooney | give that https://review.opendev.org/#/c/531347/3 was merged i guess we change our minds on the latter | 16:05 |
*** brault has joined #openstack-nova | 16:06 | |
sean-k-mooney | but i though we were going to allow qemu with the tsg backend to be used on host with virt-type=kvm if the architrure of the imge did not match the host architeture | 16:06 |
mriedem | sean-k-mooney: idk, i don't remember all of the previous discussions about it but i know the "hypervisor_type=QEMU in the API when i'm actually using KVM really confuses me" is a really old thing - given that bug was from 2013 | 16:08 |
mriedem | i was on the team at ibm that reported it.... | 16:08 |
sean-k-mooney | well i expect hyperviors_type=QEMU to be reported for virt_type=kvm | 16:08 |
mriedem | as i said somewhere in the ml thread, that the api is reporting QEMU still but the driver is reporting (to the node, which is used by the scheduler) whatever the virt_type config is, makes the api<>scheduler interaction really confusing for knowing how to set the hypervisor_type image property | 16:09 |
sean-k-mooney | because we are not chagne the hypeviro just the qemu backend form tcg to kvm | 16:09 |
dansmith | I also thought the argument was that qemu *is* the hypervisor and that kvm was just the acceleration mechanism (of which there could be different ones) | 16:09 |
sean-k-mooney | both are still qemu | 16:09 |
mriedem | so the change was clearly a regression, | 16:09 |
mriedem | also as noted the docs (nova scheduler filter and glance image prop) docs say hypervisor_type is qemu for both qemu and kvm | 16:09 |
mriedem | i'd be fine with reverting the change | 16:09 |
sean-k-mooney | https://review.opendev.org/#/c/531347/3 this one? | 16:10 |
mriedem | if we don't, i think we need a compat shim in the filter | 16:10 |
mriedem | yes | 16:10 |
mriedem | because like i said and massimo confirmed in the thread, any existing instances with the hypervisor_type=qemu aren't going to be migratable now | 16:10 |
mriedem | w/o db surgery | 16:10 |
mriedem | which sucks | 16:10 |
*** mvkr_ has quit IRC | 16:10 | |
sean-k-mooney | ya personally i wold prefer to revert and then maybe use trait or the vm_mode image prperty to contol if emulation is allowed | 16:10 |
*** brault has quit IRC | 16:11 | |
sean-k-mooney | for example if we report NATIVE_ARCH_X86_64 and ARCH_ARACH64 as tratis | 16:11 |
*** cdent has quit IRC | 16:12 | |
sean-k-mooney | that would mean its a x86_64 host but the arm arch64 emulator is also aviable | 16:12 |
sean-k-mooney | then in the image you could say NATIVE_ if you wanted hardware accleartion or ust ARCH_* if you didnt care | 16:12 |
sean-k-mooney | for the x86_64 host you would have both NATIVE_x86_64 and ARCH_X86_64 | 16:13 |
dansmith | wait, | 16:13 |
mriedem | i'm not sure vm_mode would help, since it'd be hvm in either qemu or kvm wouldn't it? | 16:13 |
*** pcaruana has quit IRC | 16:13 | |
dansmith | are you saying tetsuro's patch causes us to report kvm only instead of qemu? | 16:13 |
mriedem | dansmith: to the ImagePropertiesFilter yes | 16:14 |
mriedem | so presumably he wanted that because he had nodes with virt_type=qemu and nodes with virt_type=kvm and was using separate images with different hypervisor_type values to distinguish and pin on them | 16:14 |
dansmith | okay that's not really what I thought the change was for | 16:14 |
mriedem | rather than using something like aggregates | 16:14 |
sean-k-mooney | ya so i think traits and a prefilter are a better option at least today | 16:16 |
*** mvkr_ has joined #openstack-nova | 16:16 | |
sean-k-mooney | mriedem: regarding vm-mode im not sure if they both would be hvm but it was the closet exitsing image prop that seamed relevent | 16:16 |
sean-k-mooney | if people were gernerally open to the traits approch i can quickly write up a spec for that and code it up. i have more or less gottend to a code complete point with my two remaining feature for train so they are just pending review and ill be switching to fixing bug once they land | 16:19 |
sean-k-mooney | but i could proably get a traits based version working quickly if people liked that idea | 16:20 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Revert "[libvirt] Filter hypervisor_type by virt_type" https://review.opendev.org/672559 | 16:22 |
*** ricolin has quit IRC | 16:23 | |
sean-k-mooney | i would also be fine with just saying lets file a blueprint and do it next release | 16:25 |
openstackgerrit | Merged openstack/nova master: Remove fake_libvirt_utils users in functional testing. https://review.opendev.org/644793 | 16:25 |
sean-k-mooney | we have quite a few features already in flight | 16:25 |
*** rpittau is now known as rpittau|afk | 16:26 | |
mriedem | i would be fine with people that actually care about this use case showing up and doing the work for it | 16:26 |
mriedem | sean-k-mooney: so i'd say don't worry about it | 16:27 |
mriedem | and yes we already have a lot of stuff in flight | 16:27 |
sean-k-mooney | cool ill leave it so until we get asked to support it by someone | 16:28 |
openstackgerrit | Matt Riedemann proposed openstack/nova master: Revert "[libvirt] Filter hypervisor_type by virt_type" https://review.opendev.org/672559 | 16:28 |
sean-k-mooney | i personaly (e.g. not because redhat wants it) would like to imporve our support for emulating other plathform over time, but that more so i can more eaisily test those when we have bugs and since that doent come up too often i have not pursued it much | 16:29 |
sean-k-mooney | being able to land a vm onto a host that has the right emulator installed would help with that but its overkill for the 1 time in every 2-3 years i have to check what happens on arm or ppc | 16:30 |
mriedem | it is now time for me to eat a sandwich and watch sports talk guys | 16:33 |
sean-k-mooney | aspiers: are you around? | 16:33 |
sean-k-mooney | aspiers: kashyap can ye review https://review.opendev.org/#/c/670189/9 specifcally https://review.opendev.org/#/c/670189/9/nova/virt/libvirt/host.py@781 | 16:47 |
* artom wonders if there's a way to mock the libvirt connection per compute service/libvirt driver instance | 16:48 | |
kashyap | sean-k-mooney: Hiya, just began reading | 16:48 |
sean-k-mooney | artom: we do that in the functional tests | 16:49 |
kashyap | sean-k-mooney: It requires me to concentrate for at least 20 minutes, and I'm cooking :-) Will look after that. Or earliest in the morning | 16:49 |
artom | sean-k-mooney, right, but with a different hostcaps for each? | 16:49 |
sean-k-mooney | yes i think so | 16:49 |
artom | (Which is what I should have said I wanted to do) | 16:49 |
sean-k-mooney | look at the numa ones | 16:49 |
sean-k-mooney | artom: https://github.com/openstack/nova/blob/master/nova/tests/functional/libvirt/test_numa_servers.py#L437 | 16:51 |
sean-k-mooney | not sure if that is what you are looking for | 16:51 |
artom | sean-k-mooney, exactly that | 16:51 |
sean-k-mooney | artom: cool thank stephenfin i know it was a pain when he was trying to figure out how to do that the first time | 16:52 |
artom | And I'm very grateful that he did :D | 16:52 |
kashyap | sean-k-mooney: BTW, I learnt this morning that you found "that bug" -- nice that at least _someone_ is testing non-x86 arches :D | 16:54 |
kashyap | If not for you, I wonder how long it must've stayed dormant | 16:55 |
*** luksky123 has quit IRC | 16:55 | |
kashyap | Anyway, nice find. | 16:55 |
sean-k-mooney | kashyap: well i have non x86 emulators installed and it caused the compute agent to expolde when i added a use of that function | 16:55 |
aspiers | Yeah good catch | 16:56 |
sean-k-mooney | so it was kind of obvious once we actully used it outside of tests | 16:56 |
aspiers | sean-k-mooney: I saw your comment about setting virt_type before | 16:56 |
*** derekh has quit IRC | 16:56 | |
kashyap | (Right, I have non-x86 emulators installed, too) | 16:57 |
aspiers | and I couldn't understand why it was a bug | 16:57 |
aspiers | surely you shouldn't set virt_type to an invalid value | 16:57 |
sean-k-mooney | the reason that it was not exploding on aspiers patch sets is because they only condtionally call it if sev is supported and the gate vms dont | 16:57 |
kashyap | sean-k-mooney: Why do you think we don't need to call get_domain_capabilities() for KVM/QEMU? | 16:57 |
sean-k-mooney | kashyap: i think we dont need to call it when its not kvm/qemu | 16:58 |
aspiers | sean-k-mooney: I don't see why it should be considered OK to set virt_type=kvm on a host which doesn't support kvm | 16:58 |
kashyap | It spits out caps for other hypervisors, too, surely. (Although I haven't done extensive testing with others) | 16:58 |
sean-k-mooney | e.g. if it was lxc | 16:58 |
kashyap | sean-k-mooney: Err, that's what I meant, when _not_ KVM|QEMU. | 16:58 |
kashyap | aspiers: Yeah, that is bogus config | 16:58 |
sean-k-mooney | kashyap: well we are parsing thing like what disk types can you emulatate | 16:58 |
sean-k-mooney | for lxc you dont emulate anything | 16:58 |
aspiers | sean-k-mooney: aren't you just seeing this because you have a fake environment with multiple arch emulators? | 16:58 |
sean-k-mooney | but for sev i guess i could be relevent | 16:59 |
sean-k-mooney | aspiers: all the emulators are installed by defualt on ubuntu | 16:59 |
sean-k-mooney | and they used to be installed by defualt on fedora and centos | 16:59 |
kashyap | sean-k-mooney: BTW, quickly: I don't like option-(2), that is black magic for users, and can be an unwanted surprise. | 16:59 |
sean-k-mooney | kashyap: cool this is why i asked | 17:00 |
kashyap | (I'm saying this because you seem to list it, option-2, as one of the valid ones.) | 17:00 |
sean-k-mooney | it is vaild but it is also magic | 17:00 |
kashyap | sean-k-mooney: Yeah, saw your solication for views. I'll write a fuller comment after I've thought through. (Need a clearer head, and it's melting hot here...) | 17:00 |
*** mmethot_ is now known as mmethot | 17:02 | |
aspiers | OK so IIUC the situation is Ubuntu compute nodes where non-native arch is supported but the operator only wants nova to use kvm? | 17:03 |
sean-k-mooney | i assume we pass virt-type for a reason which is why i was kind of discounting 1 and i was pering not to advace 4 as i assume we want to report data for all the emultors you have installed. 5 might be the more sain option but i dont like raising exceptions. | 17:03 |
openstackgerrit | Merged openstack/nova stable/stein: Remove redundant group host setup https://review.opendev.org/667334 | 17:03 |
aspiers | so they set virt_type but then get_dom_caps iterates over all archs discovered by getCaps which includes the non-native ones | 17:03 |
sean-k-mooney | aspiers: if you set virt-type=qemu kvm will never be used even for the native arch | 17:03 |
sean-k-mooney | so you would want to set virt-type=kvm | 17:04 |
aspiers | right | 17:04 |
aspiers | but then that gets used in every API call to getDomCaps | 17:04 |
aspiers | which then explodes | 17:04 |
aspiers | I think I understand | 17:04 |
sean-k-mooney | yes | 17:04 |
aspiers | what's wrong with option 1? | 17:04 |
aspiers | do we need to pass virt_type? | 17:04 |
sean-k-mooney | am i just assumed that we passed it for a reason intially | 17:05 |
aspiers | well I was assuming that every host could only have 1 virt_type | 17:05 |
sean-k-mooney | but we have not documented why we do so i didnt want to assume we could jsut not pass it | 17:05 |
aspiers | I didn't know about this crazy Ubuntu stuff | 17:05 |
*** Laszlo-74 has left #openstack-nova | 17:05 | |
sean-k-mooney | well every host today can only have one virt type | 17:05 |
aspiers | can we just ignore archs which don't match virt_type, if it's set? | 17:06 |
aspiers | if the operator sets virt_type=kvm, we should ignore any arch which doesn't support that | 17:06 |
sean-k-mooney | but the issue is that if you set kvm we should not explode just becasue you have the binary for a different emultor installed | 17:06 |
sean-k-mooney | that would be 4 | 17:06 |
aspiers | right, so I'm suggesting option 1 | 17:06 |
aspiers | or yeah, or 4 | 17:06 |
aspiers | what is the exception? | 17:07 |
sean-k-mooney | i would be fine with any of the option honestly | 17:07 |
sean-k-mooney | libvirtError | 17:07 |
aspiers | well kashyap veto'd 2 | 17:07 |
aspiers | and I don't like that one much either | 17:07 |
sean-k-mooney | aspiers: you mean he nack'd 2 because its magic | 17:09 |
aspiers | right | 17:09 |
aspiers | why not pass None and then ignore if <domain> doesn't match? | 17:09 |
sean-k-mooney | this is the exception we get by the way | 17:10 |
sean-k-mooney | http://paste.openstack.org/show/754776/ | 17:10 |
sean-k-mooney | aspiers: that is option 1 and im fine with that | 17:11 |
aspiers | my only concern is that there's a risk of getting non-accelerated qemu instead of kvm on x86_64 | 17:11 |
aspiers | although it seems fine here | 17:12 |
aspiers | kashyap: do you know if that's a real risk? | 17:12 |
sean-k-mooney | aspiers: its possible yes but i dont know if that would change things | 17:12 |
sean-k-mooney | that is why i listed 2 | 17:12 |
aspiers | sean-k-mooney: well in theory it might return different feature sets for qemu vs kvm | 17:12 |
aspiers | but on my SEV box here it is returning kvm anyway | 17:12 |
aspiers | with the SEV feature | 17:12 |
aspiers | so it seems OK | 17:13 |
sean-k-mooney | aspiers: right it could | 17:13 |
sean-k-mooney | things like sev i think would only work in kvm mode right | 17:13 |
aspiers | yeah I would expect so | 17:13 |
aspiers | kashyap: can you check with one of your libvirt / qemu gurus? | 17:13 |
aspiers | I'll ping mine | 17:13 |
sean-k-mooney | so if you had virt-type=qemu but your host had kvm installed it might report sev suppport eventhough the vm would not work | 17:14 |
sean-k-mooney | so i think we proably do want to use the virt-type where possible and only fall back to not setting it if that result in an error | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.get_host_numa_usage_from_instance' https://review.opendev.org/671797 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.host_topology_and_format_from_host' https://review.opendev.org/671798 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Remove 'hardware.instance_topology_from_instance' https://review.opendev.org/671799 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Split NUMA object tests https://review.opendev.org/672336 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: hardware: Differentiate between shared and dedicated CPUs https://review.opendev.org/671800 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Add support translating CPU policy extra specs, image meta https://review.opendev.org/671801 | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Rework 'numa_usage_from_instances' https://review.opendev.org/672565 | 17:15 |
sean-k-mooney | or add some magic to make sure we dont raise the error if we know a combination would be invaild | 17:15 |
aspiers | sean-k-mooney: I'm suggesting to ignore any results where virt_type doesn't match <domain> | 17:15 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Rework 'hardware.numa_usage_from_instances' https://review.opendev.org/672565 | 17:16 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: tests: Split NUMA object tests https://review.opendev.org/672336 | 17:16 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: WIP: hardware: Differentiate between shared and dedicated CPUs https://review.opendev.org/671800 | 17:16 |
openstackgerrit | Stephen Finucane proposed openstack/nova master: Add support translating CPU policy extra specs, image meta https://review.opendev.org/671801 | 17:16 |
sean-k-mooney | what do you mean by domain | 17:16 |
*** igordc has quit IRC | 17:16 | |
aspiers | the <domain> element returned in the XML | 17:16 |
sean-k-mooney | oh your suggesting we go with 4 | 17:16 |
aspiers | no | 17:16 |
aspiers | option 1 | 17:16 |
aspiers | pass None, but check <domain> | 17:16 |
sean-k-mooney | but why not do 4 | 17:16 |
sean-k-mooney | pass the virt type so livbrit checks it | 17:16 |
sean-k-mooney | and if it errors skip | 17:17 |
*** igordc has joined #openstack-nova | 17:17 | |
aspiers | I guess that's OK too | 17:17 |
aspiers | but you prefer 5 to 4? | 17:17 |
aspiers | I think we should start conservative and not bend over backwards to try and cover every case before we actually understand what the corner cases are exactly | 17:18 |
sean-k-mooney | actully i prefer 2 and i dislike raising exception but i think 1 would break if you have virt-type=qemu but have kvm installed | 17:18 |
aspiers | I just tried with qemu | 17:18 |
sean-k-mooney | because libvirt would default to kvm in that case | 17:18 |
aspiers | it returns <domain>qemu</domain> and with sev supported='yes' too | 17:19 |
sean-k-mooney | and we would then skip it because it did not match qemu | 17:19 |
aspiers | but it also returns <path>/usr/bin/qemu-kvm</path> | 17:19 |
aspiers | so there would be no skipping, and it would still use acceleration and get SEV | 17:20 |
aspiers | (assuming that is deterministic) | 17:20 |
sean-k-mooney | if i run "virsh domcapabilities --arch x86_64" it retruns <domain>kvm</domain> | 17:20 |
sean-k-mooney | if i run "virsh domcapabilities --arch x86" it retruns <domain>kvm</domain> | 17:20 |
sean-k-mooney | same for virsh domcapabilities --arch i686 | 17:21 |
aspiers | error: failed to get emulator capabilities | 17:21 |
aspiers | error: invalid argument: unknown architecture: x86 | 17:21 |
sean-k-mooney | ya x86 is not a thing | 17:21 |
aspiers | i686 works here | 17:21 |
sean-k-mooney | its i 386, i486,i586 or i686 | 17:22 |
aspiers | <path>/usr/bin/qemu-system-i386</path> | 17:22 |
aspiers | <domain>qemu</domain> | 17:22 |
aspiers | I feel like we are in bikeshedding territory now | 17:22 |
sean-k-mooney | oh i guess only i686 works | 17:22 |
sean-k-mooney | aspiers: do you have the kvm kernel module loaded | 17:22 |
aspiers | yes | 17:22 |
sean-k-mooney | i think based on what you are showing me in anycase we cant use 1 | 17:23 |
aspiers | why? | 17:23 |
sean-k-mooney | because if i set virt-type=kvm it wont match | 17:23 |
sean-k-mooney | and on my system where i get back kvm if i set virt-type=qemu it wont match | 17:23 |
aspiers | huh | 17:24 |
aspiers | it matches here | 17:24 |
aspiers | if I pass None, I get kvm | 17:24 |
aspiers | if I pass qemu, I get qemu | 17:24 |
sean-k-mooney | i though you were always passing none or not setting it | 17:25 |
sean-k-mooney | anyway that is also a proably if i set virt-type=qemu and i pass none which is option 1 you would get back kvm | 17:25 |
sean-k-mooney | and it would not match so we would ignore it | 17:25 |
sean-k-mooney | where as 4 we pass the virt-type form the conf and if we get an error we skip that emulator | 17:26 |
aspiers | sean-k-mooney: http://paste.openstack.org/show/754808/ | 17:26 |
sean-k-mooney | yep | 17:26 |
aspiers | if you set virt-type=qemu then you should not expect kvm acceleration to be available, so that is correct | 17:26 |
aspiers | why would anyone set virt_type to qemu if they wanted kvm? | 17:27 |
sean-k-mooney | they would not | 17:27 |
aspiers | OK, so the behaviour you describe is what we want | 17:27 |
*** igordc has quit IRC | 17:27 | |
aspiers | if virt_type is set to qemu, ignore kvm | 17:27 |
sean-k-mooney | cool ok that is option 4 | 17:27 |
aspiers | or my modified option 1 yeah | 17:28 |
aspiers | let's just do 4 | 17:28 |
aspiers | I doubt it will cause issues but if it does we can fix them later | 17:28 |
aspiers | kashyap: that OK with you? | 17:28 |
sean-k-mooney | no option 1 is "do not pass the virt type ever ..." and your modifation is and then check the domain. cool ill push up a patch for 4 soon after i test it locally | 17:29 |
sean-k-mooney | and assumign kashyap agrees | 17:29 |
aspiers | sounds good | 17:30 |
sean-k-mooney | aspiers: and then hopfuly we can start merging the sev code and my deivce model stuff | 17:30 |
aspiers | yup | 17:30 |
*** priteau has quit IRC | 17:30 | |
aspiers | I wouldn't mind a Co-Authored-By if that's OK, so my managers can see where I'm spending my time :) | 17:30 |
aspiers | or even so that I can recall where I'm spending my time in case managers ask ;p | 17:31 |
sean-k-mooney | of course ill add it when i push it up. | 17:31 |
aspiers | awesome thanks | 17:31 |
aspiers | I tend to forget what I've done soon after doing it :-o | 17:31 |
sean-k-mooney | its like exams sometimes. you jsut spent 3 hours writing everyting you know about a topic and you go outside and someone asks you what you though of it and your like. i cant rembeber what i just did | 17:33 |
*** awalende has joined #openstack-nova | 17:34 | |
* artom remembers OS_DEBUG=True | 17:39 | |
*** awalende has quit IRC | 17:39 | |
artom | aspiers, same here. Manager: "So, let's make a quick retro of your past year." Me: *rabbit in headlights* | 17:40 |
*** pcaruana has joined #openstack-nova | 17:41 | |
openstackgerrit | Matt Riedemann proposed openstack/nova master: api-ref: touch up the os-services docs https://review.opendev.org/672571 | 17:54 |
*** KeithMnemonic has joined #openstack-nova | 17:55 | |
*** ralonsoh has quit IRC | 17:55 | |
KeithMnemonic | does anyone know the rule for running instances outside of nova (virsh define) on a KVM host that is running nova-compute. Is it allowed/forbidden/supported,...,.. | 17:56 |
sean-k-mooney | KeithMnemonic: its allowed but discuraged | 17:56 |
sean-k-mooney | you need to adjust the reserved host values for memeory ram and disk | 17:56 |
sean-k-mooney | so that we dont double count the resouce used by the out of band instances | 17:57 |
KeithMnemonic | Thanks do you know if we list the discouragement anywhere ;-) | 17:57 |
sean-k-mooney | i dont think we do explcitly | 17:57 |
sean-k-mooney | you milage migth also vary based on your hypervior of choice | 17:58 |
sean-k-mooney | for kvm as long as you tell nova in the config what cpus and how much ram you are using by reseving it then its fine. for ironic unless you want your data to be lost dont use a node without telling ironic | 17:59 |
*** maciejjozefczyk has joined #openstack-nova | 17:59 | |
sean-k-mooney | for hyperv or vmare it proably works but i would suspect you have to similary tell there virt driver you are using some of the resouces | 18:00 |
*** igordc has joined #openstack-nova | 18:01 | |
KeithMnemonic | thanks sean-k-mooney! | 18:05 |
aspiers | sean-k-mooney: one of the benefits of being old is that I've managed to wipe all exams from my memory :) | 18:11 |
aspiers | artom: exactly :) | 18:12 |
sean-k-mooney | its been 8 years since i took my last exam. i generally didnt mind them but if i go back and do a masters at some point i still wont be looking forward to them | 18:13 |
*** gary_perkins_ has quit IRC | 18:19 | |
*** gary_perkins has joined #openstack-nova | 18:20 | |
aspiers | wow finally managed to get devstack working | 18:21 |
aspiers | that took all day | 18:21 |
sean-k-mooney | its always better to start with a clean install if you are setting up an environment | 18:23 |
sean-k-mooney | if you had it working previous it can be quick to updated it but if you start hitting | 18:23 |
sean-k-mooney | package issues its often faster to start form scratch | 18:23 |
*** panda has quit IRC | 18:25 | |
*** panda has joined #openstack-nova | 18:33 | |
*** jmlowe has quit IRC | 18:33 | |
* artom is angry that https://github.com/openstack/nova/blob/master/nova/tests/functional/test_servers.py#L89-L94 is allowed to continue to exist. | 18:41 | |
artom | Who thinks like that?! | 18:41 |
mriedem | mlavalle: you might care about this https://review.opendev.org/#/c/672577/ | 18:44 |
*** tesseract has quit IRC | 18:49 | |
*** lpetrut has quit IRC | 18:50 | |
mlavalle | mriedem: nice. Thanks! | 18:58 |
openstackgerrit | Merged openstack/nova master: nova-status: Remove consoleauth workaround check https://review.opendev.org/652968 | 19:01 |
openstackgerrit | Merged openstack/nova master: Remove nova-consoleauth https://review.opendev.org/652969 | 19:08 |
openstackgerrit | Merged openstack/nova stable/rocky: Fix double word hacking test https://review.opendev.org/665788 | 19:09 |
*** maciejjozefczyk has quit IRC | 19:21 | |
*** jmlowe has joined #openstack-nova | 19:22 | |
*** priteau has joined #openstack-nova | 19:40 | |
*** BjoernT has joined #openstack-nova | 19:44 | |
*** priteau has quit IRC | 20:02 | |
*** eharney has quit IRC | 20:05 | |
*** portdirect has joined #openstack-nova | 20:06 | |
portdirect | hey - im having some difficulty updating the transport url for a cell with cells v2 | 20:07 |
portdirect | is there any documentation for doing this? | 20:07 |
portdirect | ive seen the comments here re cacheing: https://docs.openstack.org/nova/latest/user/cells.html | 20:08 |
portdirect | but still seem to be unable to scedule vms | 20:09 |
dansmith | portdirect: you're having trouble updating the transport url, or you think the transport url is wrong? | 20:09 |
portdirect | I'm gonna double check that, but it should be correct | 20:09 |
portdirect | here is a ps im working on atm: https://review.opendev.org/#/c/672527/11/nova/templates/bin/_db-sync.sh.tpl | 20:09 |
dansmith | looks to me like it runs create_cell with no transport or db urls first? | 20:10 |
dansmith | that means it'll stab whatever is in the config into the database, fwiw | 20:11 |
dansmith | but still, are you failing to run the command? or are you running it but not seeing what you expect in the db? or just not scheduling vms and you think this is why ? | 20:11 |
portdirect | so without this addition | 20:12 |
portdirect | things are working ok | 20:12 |
portdirect | but we cannot change the password, etc for rabbit | 20:12 |
dansmith | so the create_cell is taking the values from the config and it's working, | 20:12 |
portdirect | thats what im looking to be able to achive | 20:12 |
portdirect | yup | 20:12 |
dansmith | but you're now adding this update_cell step and that breaks things? | 20:12 |
portdirect | yes | 20:12 |
openstackgerrit | sean mooney proposed openstack/nova master: libvirt: harden Host.get_domain_capabilities() https://review.opendev.org/670189 | 20:13 |
openstackgerrit | sean mooney proposed openstack/nova master: Libvirt: report storage bus traits https://review.opendev.org/666914 | 20:13 |
openstackgerrit | sean mooney proposed openstack/nova master: libvirt: use domain capablites to get supported device models https://review.opendev.org/666915 | 20:13 |
openstackgerrit | sean mooney proposed openstack/nova master: Add transform_image_metadata request filter https://review.opendev.org/665775 | 20:13 |
dansmith | portdirect: it would really help if you could answer my questions... is the command failing or is the *result* not what you expect? | 20:13 |
portdirect | the result | 20:13 |
portdirect | following running this, and then restarting all processes, im unable to launch vms | 20:13 |
portdirect | the command itself exits 0 | 20:14 |
melwitt | to the earlier question about documentation, this is the command doc for future reference https://docs.openstack.org/nova/latest/cli/nova-manage.html#nova-cells-v2 | 20:14 |
dansmith | portdirect: and you're running the update with the same urls that are in the config or differentones? | 20:14 |
portdirect | at this point, the same | 20:14 |
dansmith | portdirect: okay, so look at the cell_mapping record before/after and see what is happening | 20:14 |
dansmith | portdirect: no template substitutions in the urls I assume? | 20:15 |
portdirect | no - its just a string at this point - in the normal format | 20:16 |
dansmith | okay, then it should be fairly straightforward | 20:16 |
dansmith | portdirect: can you pastebin what is in the config and what you're running it with? | 20:16 |
portdirect | sure | 20:16 |
dansmith | portdirect: and, just to be clear, you're apparently seeing failures to talk to the cell1 rabbit after this in conductor, api logs? | 20:17 |
portdirect | http://paste.openstack.org/show/754815/ | 20:18 |
mriedem | smells like https://review.opendev.org/#/c/605414/ or https://review.opendev.org/#/c/662383/ ? | 20:19 |
dansmith | hmm, I wonder if update is somehow horking in the multiple hosts | 20:19 |
dansmith | mriedem: I dunno, they're running update with both params right? | 20:19 |
openstackgerrit | Merged openstack/nova stable/stein: Replace joinedload_all with joinedload https://review.opendev.org/671532 | 20:20 |
dansmith | oh, | 20:20 |
dansmith | not database I see | 20:20 |
openstackgerrit | Merged openstack/nova stable/stein: Perf: Use dicts for ProviderTree roots https://review.opendev.org/670179 | 20:20 |
openstackgerrit | Merged openstack/nova stable/stein: doc: Fix a parameter of NotificationPublisher https://review.opendev.org/670064 | 20:20 |
dansmith | saw two params but didn't pay attention | 20:20 |
openstackgerrit | Merged openstack/nova stable/stein: docs: Correct issues with 'openstack quota set' commands https://review.opendev.org/670096 | 20:20 |
dansmith | so could be, | 20:20 |
openstackgerrit | Merged openstack/nova stable/stein: libvirt: move checking CONF.my_ip to init_host() https://review.opendev.org/672154 | 20:20 |
portdirect | only transport, not db | 20:20 |
portdirect | could try that | 20:20 |
portdirect | (using both) | 20:20 |
dansmith | but still, | 20:20 |
dansmith | can you confirm what the symptom is you're seeing? you mentioned rabbit stuff above | 20:21 |
mriedem | ignore me, i'm just randomly interjecting but there are a few patches floating around for update_cell | 20:21 |
dansmith | but maybe you're actually seeing db breakage? | 20:21 |
mriedem | sahid posted https://review.opendev.org/#/c/672045/ yesterday for trying to update the db connection in a cell mapping | 20:21 |
mriedem | i haven't dug into it yet | 20:21 |
mriedem | gotta run | 20:22 |
portdirect | the zuul check will proabably help most there - but after doing this, i cannot get hypervisor details, or schedule vms | 20:22 |
portdirect | will come back with something more definative in a few mins | 20:22 |
melwitt | mriedem: yeah, I'm wondering the same, especially https://bugs.launchpad.net/nova/+bug/1829852 | 20:22 |
openstack | Launchpad bug 1829852 in OpenStack Compute (nova) "'--database_connection' changes when update cell with '--transport-url' only" [Medium,In progress] - Assigned to Takashi NATSUME (natsume-takashi) | 20:22 |
dansmith | portdirect: okay but no zuul report in a bunch of changesets, so is it relevant? | 20:23 |
dansmith | but yeah, probably related.. I thought the behavior would be to keep what is in the config file, but surya's patch says it goes to none:// ? | 20:23 |
dansmith | oh, that's map_cell0 | 20:24 |
dansmith | yeah, takashi's says update_cell keeps the one from the config if you dont' specify currently, so I wouldn't think this would be wrong | 20:24 |
dansmith | melwitt: ^ | 20:24 |
dansmith | (right?) | 20:25 |
portdirect | how can i get query the db to see what is currently in there for the cells config? | 20:25 |
portdirect | i had a quick look in the cells table, but it was empty | 20:25 |
dansmith | portdirect: in the api database cell_mappings table | 20:26 |
portdirect | (so assume im in the wrong place :) ) | 20:26 |
dansmith | should look exactly like you expect | 20:26 |
portdirect | gotcha | 20:26 |
dansmith | the cells table in the main nova db is different and unrelated | 20:26 |
portdirect | oh! | 20:27 |
portdirect | im an idiot | 20:27 |
portdirect | i'm giving it the rmq rest endpoint, not ampq | 20:28 |
dansmith | that's not going to work | 20:28 |
dansmith | :D | 20:28 |
portdirect | but WHY! | 20:28 |
portdirect | lol - sorry people - thanks for all the help though | 20:28 |
openstackgerrit | Merged openstack/nova stable/stein: Add 'path' query parameter to console access url https://review.opendev.org/670972 | 20:29 |
dansmith | I'm guessing that sahid's patch is a dupe of takashi's and maybe surya's as well | 20:30 |
melwitt | dansmith: yeah, it's confusing me. takashin's patch says about the config being used, but the bug reporter said they updated a cell with --transport-url only and ended up with the database connection url getting changed as well, to cell0's database url | 20:30 |
dansmith | melwitt: sure that's probably because they used the api's config file, which would point at cell0 by default | 20:31 |
dansmith | so makes sense | 20:31 |
melwitt | I see. | 20:31 |
*** panda has quit IRC | 20:35 | |
*** panda has joined #openstack-nova | 20:37 | |
melwitt | re-read the bug comments again, takashin got a "The specified transport_url and/or database_connection combination already exists for another cell with uuid 00000000-0000-0000-0000-000000000000." error message when he tried it. but the bug reporter did not get that error and the url changed to not exactly cell0's url but the same host (as though a templated change). I don't get that | 20:39 |
artom | Functional tests for NUMA live migration are going to require a *lot* of scaffolding... | 20:39 |
sean-k-mooney | artom: we should have some if not all of it | 20:40 |
artom | sean-k-mooney, ehhhh | 20:41 |
artom | https://github.com/openstack/nova/blob/master/nova/tests/unit/virt/libvirt/fakelibvirt.py#L962-L967 | 20:41 |
dansmith | melwitt: order of operations I imagine.. if you haven't created cell0 yet, you'd get the cell0 url incorrectly, and if you did, you'd get takashi's error | 20:41 |
sean-k-mooney | we technically have 1 functional test that does livie migration( granted it just asserts that it fails) and we have numa tests already | 20:41 |
artom | And all of https://github.com/openstack/nova/blob/master/nova/tests/unit/virt/libvirt/fakelibvirt.py#L1008 | 20:41 |
artom | The way is returns instance XML is completely broken | 20:41 |
sean-k-mooney | ya | 20:41 |
artom | Adding and/or removing elements that weren't/were there | 20:41 |
sean-k-mooney | the only functional test we have for migration assert a failure condition for multi attach volumes | 20:42 |
artom | I did a live migration test, but with the fake driver | 20:42 |
*** hemna has quit IRC | 20:50 | |
*** hemna has joined #openstack-nova | 20:50 | |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: [WIP] Functional tests for NUMA live migration https://review.opendev.org/672595 | 20:50 |
artom | ^^ what I have so far | 20:50 |
*** eharney has joined #openstack-nova | 20:56 | |
*** BjoernT has quit IRC | 20:57 | |
*** pcaruana has quit IRC | 21:05 | |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: [WIP-until-series-is-ready] Introduce live_migration_claim() https://review.opendev.org/635669 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: New objects for NUMA live migration https://review.opendev.org/634827 | 21:07 |
sean-k-mooney | artom: having this scafolding is not a badting in general and should allow use to add more live migration tests later so other the the amount of work i dont think its a bad thing | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: LM: add support for sending NUMAMigrateData to the source https://review.opendev.org/634828 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: LM: add support for updating NUMA-related XML on the source https://review.opendev.org/635229 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: RPC changes to prepare for NUMA live migration https://review.opendev.org/634605 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: NUMA live migration support https://review.opendev.org/634606 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: Deprecate CONF.workarounds.enable_numa_live_migration https://review.opendev.org/640021 | 21:07 |
openstackgerrit | Artom Lifshitz proposed openstack/nova master: [WIP] Functional tests for NUMA live migration https://review.opendev.org/672595 | 21:07 |
artom | sean-k-mooney, yeah, and for all I know it's not as much as I thought | 21:08 |
artom | It was just discouraging to find out at the end of a day of decent progress | 21:08 |
sean-k-mooney | ya still you seam to be makinging good progress on the test infrastucture too | 21:09 |
artom | Heh yeah, at least that part's done | 21:11 |
artom | Or close to done, anyways | 21:11 |
sean-k-mooney | oh im back in shannon as of like 4 hours am i can try and test your sriov/vfio-pci thing tomorow if i get time | 21:11 |
artom | I'll also need to figure out how to run the periodic resource audit *during* the migration, 'cuz that's what's left to fix | 21:12 |
artom | sean-k-mooney, eh, don't sweat it, it's not urgent | 21:12 |
openstackgerrit | Eric Fried proposed openstack/nova master: Completely remove fake_libvirt_utils. https://review.opendev.org/643897 | 21:14 |
openstackgerrit | Eric Fried proposed openstack/nova master: Remove usused umask argument to virt.libvirt.utils.write_to_file https://review.opendev.org/645086 | 21:16 |
openstackgerrit | Eric Fried proposed openstack/nova master: Remove write_to_file. https://review.opendev.org/645087 | 21:16 |
*** imacdonn has quit IRC | 21:16 | |
*** artom has quit IRC | 21:17 | |
openstackgerrit | sean mooney proposed openstack/nova master: Libvirt: add support for vPMU configuration. https://review.opendev.org/671338 | 21:37 |
sean-k-mooney | ok so that both my pending feautre tested and ready for review. time to get somthing to eat and and relax for the evening o/ | 21:38 |
*** takashin has joined #openstack-nova | 21:39 | |
*** brault has joined #openstack-nova | 21:43 | |
*** brault has quit IRC | 21:44 | |
*** brault has joined #openstack-nova | 21:44 | |
efried | mriedem: Is there a (documented?) spec freeze exception process? | 21:53 |
*** JamesBenson has quit IRC | 21:58 | |
*** mchlumsky has quit IRC | 21:59 | |
efried | dansmith: --^ ? | 22:10 |
*** xek has quit IRC | 22:12 | |
openstackgerrit | melanie witt proposed openstack/nova master: nova-manage db archive_deleted_rows is not multi-cell aware https://review.opendev.org/507486 | 22:17 |
openstackgerrit | melanie witt proposed openstack/nova master: Remove "last context manager" from CellDatabases fixture https://review.opendev.org/672604 | 22:17 |
dansmith | efried: I'm the wrong person to ask about process documentation | 22:32 |
dansmith | efried: it has drifted over time, so it would surprise me if anything written down is accurate | 22:32 |
dansmith | efried: generally it involves emailing the list, bringing it up at the meeting, and the spec cores decide on it | 22:32 |
*** slaweq has quit IRC | 22:45 | |
*** tkajinam has joined #openstack-nova | 22:57 | |
*** xek has joined #openstack-nova | 22:58 | |
openstackgerrit | Adam Spiers proposed openstack/nova master: Apply SEV-specific guest config when SEV is required https://review.opendev.org/644565 | 23:15 |
openstackgerrit | Adam Spiers proposed openstack/nova master: Enable booting of libvirt guests with AMD SEV memory encryption https://review.opendev.org/666616 | 23:16 |
*** hongbin has quit IRC | 23:18 | |
*** ivve has quit IRC | 23:25 | |
*** rcernin has joined #openstack-nova | 23:30 | |
*** JamesBenson has joined #openstack-nova | 23:31 | |
*** JamesBenson has quit IRC | 23:35 | |
openstackgerrit | Merged openstack/nova master: compute: Use source_bdms to reset attachment_ids during LM rollback https://review.opendev.org/652800 | 23:51 |
*** JamesBenson has joined #openstack-nova | 23:54 | |
*** xek has quit IRC | 23:56 | |
*** JamesBenson has quit IRC | 23:59 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!