| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2020-05-10 | |||
| 01:19:47 | openstackgerrit | Brin Zhang proposed openstack/nova master: Optimize _create_and_bind_arqs logic in conducor https://review.opendev.org/726564 | |
| 03:10:53 | openstackgerrit | Takashi Natsume proposed openstack/nova master: Remove six.add_metaclass https://review.opendev.org/726565 | |
| #openstack-nova - 2020-05-11 | |||
| 04:44:14 | openstackgerrit | Elod Illes proposed openstack/nova stable/rocky: libvirt: check job status for VIR_DOMAIN_EVENT_SUSPENDED_MIGRATED event https://review.opendev.org/711233 | |
| 06:40:31 | openstackgerrit | Xinran WANG proposed openstack/os-resource-classes master: Add new resource class for QAT card. https://review.opendev.org/726314 | |
| 08:05:23 | gibi | good morning Nova | |
| 08:07:31 | lyarwood | Morning \o | |
| 08:12:03 | openstackgerrit | Kevin Zhao proposed openstack/nova master: [WIP] CI: add tempest-integrated-compute-aarch64 job https://review.opendev.org/714439 | |
| 08:24:09 | openstackgerrit | Kevin Zhao proposed openstack/nova master: [WIP] CI: add tempest-integrated-compute-aarch64 job https://review.opendev.org/714439 | |
| 08:37:13 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Remove 'NovaObjectDictCompat' from 'Migration' https://review.opendev.org/723572 | |
| 08:37:14 | openstackgerrit | Stephen Finucane proposed openstack/nova master: objects: Remove 'NovaObjectDictCompat' from 'InstancePCIRequest' https://review.opendev.org/723573 | |
| 09:07:44 | brinzhang | gibi, bauzas: When I researching the define nova cyborg interaction notification, I found some code logical not suitable, so I | |
| 09:07:44 | brinzhang | submmit a patch to optimize it, would you like to review https://review.opendev.org/#/c/726564/ | |
| 09:21:18 | openstackgerrit | Liang Fang proposed openstack/nova master: [WIP] rbd patch for volume local cache https://review.opendev.org/726762 | |
| 09:38:33 | bauzas | good morning Nova | |
| 10:33:42 | stephenfin | lyarwood, bauzas: would you do me the honours? https://review.opendev.org/#/c/710238/ | |
| 10:34:12 | stephenfin | hahaha | |
| 10:34:18 | bauzas | "would you do me the homous" ? | |
| 10:36:45 | gibi | I got an interesting support case downstream. Does nova calculate the disk usage of its own image cache on the compute? | |
| 10:37:20 | stephenfin | gibi: I don't think nova includes anything except instances in those calculation | |
| 10:37:21 | stephenfin | *s | |
| 10:37:33 | gibi | all the non-nova disk usage should be configured in reserved_host_disk_mb | |
| 10:37:44 | stephenfin | I'd expect image cache to be included in the reserved host config | |
| 10:37:48 | stephenfin | yeah | |
| 10:38:00 | gibi | for that I would need to know the maximum size of the image cache | |
| 10:38:02 | bauzas | stephenfin: I'm not a multi-attach specialist | |
| 10:38:16 | bauzas | but I wonder why we were avoiding QEMU>2.10 | |
| 10:38:26 | gibi | do we have a way to maximize the size of the nova image cache? | |
| 10:38:38 | gibi | I mean limit | |
| 10:38:52 | stephenfin | bauzas: I think kashyap explained that to me at some point. Let me look | |
| 10:38:57 | stephenfin | it's a weird conditional, for sure | |
| 10:39:11 | stephenfin | gibi: I'm not aware of any, but I suspect there must be something. /me looks | |
| 10:39:48 | gibi | I tried to find it but I failed | |
| 10:39:57 | bauzas | stephenfin: yeah I suspect something was borked | |
| 10:40:12 | bauzas | but this whole comment is confusing | |
| 10:40:20 | bauzas | it's an "or" clause | |
| 10:40:36 | bauzas | so in theory, we should only support multiattach if QEMU<2.10 | |
| 10:40:51 | bauzas | but I suspect the wording being incorrect, hence the confusion | |
| 10:42:39 | stephenfin | gibi: Yeah, I can't see anything either. Sounds like a gap :-\ | |
| 10:45:10 | stephenfin | bauzas: okay, the context in in https://bugzilla.redhat.com/show_bug.cgi?id=1378242 | |
| 10:45:10 | openstack | bugzilla.redhat.com bug 1378242 in libvirt "QEMU image file locking (libvirt)" [Unspecified,Closed: errata] - Assigned to pkrempa | |
| 10:45:52 | gibi | stephenfin: thanks for confirming. I will do a problem reproduction and file a bug but I feel this will be considered as a feautre request | |
| 10:45:56 | stephenfin | tl;dr: QEMU added a feature that broke multi-attach, which necessitated a new libvirt feature to fix it again | |
| 10:45:58 | gibi | from upstream perspective | |
| 10:46:33 | bauzas | stephenfin: cool, and the bug is readable without being internal | |
| 10:47:34 | bauzas | stephenfin: okay, so the libvirt version is superseding the QEMU one | |
| 10:47:40 | stephenfin | gibi: Perhaps. A quick look suggests we have documented multiple error codes for the API though, so if it was classified as a bug, it should be a backportable one | |
| 10:48:04 | gibi | stephenfin: which API you are referring to? | |
| 10:48:14 | bauzas | stephenfin: worth respinning a better commit msg explaining this ? | |
| 10:48:21 | stephenfin | bauzas: Yup. You either need to use an older version of QEMU, or you need a newer version of libvirt to workaround the changes in newer QEMU | |
| 10:48:34 | stephenfin | bauzas: Good call. Let me do that | |
| 10:48:45 | bauzas | and the fact we have a recent QEMU isn't a problem since libvirt fixes this | |
| 10:49:00 | bauzas | stephenfin: thanks | |
| 10:49:16 | stephenfin | gibi: The host aggregate image caching API. Commit 339129870692467b703220dbc3905fd8bffe6a83 | |
| 10:50:59 | gibi | stephenfin: ohh. This goes way beyond that. As nova cached images before that API was added. | |
| 10:51:37 | gibi | based on images download for new instance boots | |
| 10:51:43 | stephenfin | Ah, the old just-in-time caching behavior? | |
| 10:51:47 | gibi | jepp | |
| 10:51:55 | gibi | as far as I see that is also not limited in size | |
| 10:52:21 | lyarwood | gibi: is this with the libvirt virt driver? | |
| 10:52:27 | gibi | lyarwood: yes libvirt | |
| 10:52:37 | gibi | lyarwood: the instances dir is on local file system | |
| 10:52:47 | lyarwood | gibi: right then you're correct that isn't limited AFAIK | |
| 10:53:43 | gibi | isn't it even a security concern? Can I will the disk via the cache to prevent nova-compute for booting VMs? | |
| 10:53:56 | gibi | s/will/fill/ | |
| 10:54:19 | lyarwood | gibi: that should be taken into consideration when attempting to schedule instances to the node | |
| 10:54:31 | lyarwood | gibi: the cache is just a way of sharing the base image between instances | |
| 10:54:32 | gibi | lyarwood: but it doesn't as far as I see | |
| 10:55:19 | lyarwood | gibi: are you providing a unique image with every request? | |
| 10:56:11 | gibi | lyarwood: if I have a raw base image and two qcow2 guest image then I potentially use original image.size + instance 1 flavor.disk + instance 2 flavor.disk, but nova only calculate the instance 1 flavor.disk + instance 2 flavor.disk as used | |
| 10:57:25 | openstackgerrit | Stephen Finucane proposed openstack/nova master: libvirt: Remove MIN_LIBVIRT_MULTIATTACH https://review.opendev.org/710238 | |
| 10:57:28 | stephenfin | bauzas: ^ | |
| 10:57:29 | gibi | (I ignore disk_available_least as placement does not use that just he old removed DiskFilter used that) | |
| 10:58:07 | lyarwood | gibi: don't we report the adjusted available space to placement taking that into account? | |
| 10:58:15 | lyarwood | gibi: the size of the RAW base file that is | |
| 10:58:27 | lyarwood | gibi: and the potential size of the two qcow2 instance disks? | |
| 10:59:42 | lyarwood | _get_disk_over_committed_size_total ? | |
| 11:00:15 | lyarwood | ah right | |
| 11:00:21 | lyarwood | we don't actually report that back up sorry | |
| 11:00:27 | gibi | http://paste.openstack.org/show/793375/ I don't see adjustements in placement based on this | |
| 11:01:36 | lyarwood | ewww | |
| 11:02:21 | gibi | lyarwood: for me either the size of the cache should be configurable (and then we can account for that in reserved_host_disk_mb) or nova needs to report cached disk usage as used in placement | |
| 11:02:52 | lyarwood | gibi: yeah I'd say the latter, I honestly thought we did already. | |
| 11:04:25 | gibi | lyarwood: this is a bug in pike for one of our customers so I also have to think about a backportable solution | |
| 11:04:58 | gibi | lyarwood: do you think that determining the size of the image cache is easy? | |
| 11:05:18 | gibi | is it just some file system calls in the _base dir, isn't it? | |
| 11:05:48 | lyarwood | gibi: yes for file based backends | |
| 11:06:27 | gibi | I have close to zero knowledge on non file based backends behavior | |
| 11:07:13 | lyarwood | gibi: we don't cache in rbd iirc | |
| 11:07:33 | gibi | is there a way to turn of the cache? | |
| 11:07:53 | gibi | for file based backend? (that would be a workaround in my downstream issue) | |
| 11:09:48 | lyarwood | gibi: I don't think so, you can disable the manager but I think we still cache things at creation time | |
| 11:10:00 | lyarwood | gibi: the manager just doesn't run to clean things up | |
| 11:10:20 | gibi | lyarwood: thanks | |
| 11:57:19 | openstackgerrit | Sasha Andonov proposed openstack/nova master: rbd_utils: increase _destroy_volume timeout https://review.opendev.org/705764 | |
| 12:07:09 | nightmare_unreal | how can I determine default api version used by osc CLI ? suppose if we don't specify --os-compute-api-version , which version will it take and how it's determined ? | |
| 12:10:14 | lyarwood | nightmare_unreal: https://docs.openstack.org/api-guide/compute/microversions.html#version-discovery - I think there's also an osc command for that | |
| 12:10:36 | nightmare_unreal | Thanks :) | |
| 12:52:10 | openstackgerrit | Stephen Finucane proposed openstack/nova master: docs: Note the ``hw_numa_nodes`` image property https://review.opendev.org/683849 | |
| 13:34:25 | openstackgerrit | Stephen Finucane proposed openstack/nova master: SR-IOV passthrough: Check PF only if VF is enabled https://review.opendev.org/476642 | |
| 13:36:19 | jsuchome | dansmith: Hi, I've updated related patchets about that direct rbd download (including the spec) could you give it another look? | |