Earlier  
Posted Nick Remark
#openstack-nova - 2024-07-31
14:35:52 elodilles jlejeune: looks good, thanks! +2+W'd
16:49:12 opendevreview Merged openstack/nova stable/2024.1: [tools] Ignore bot generated patches https://review.opendev.org/c/openstack/nova/+/925278
16:49:18 opendevreview Merged openstack/nova stable/2024.1: [tools] Backport validator: handle unmaintained https://review.opendev.org/c/openstack/nova/+/925279
18:03:37 opendevreview Merged openstack/nova stable/2023.2: Refactor vf profile for PCI device https://review.opendev.org/c/openstack/nova/+/905135
21:42:06 opendevreview Merged openstack/nova stable/2024.1: cpu: Only check governor type on online cores https://review.opendev.org/c/openstack/nova/+/924514
#openstack-nova - 2024-08-01
07:04:25 opendevreview Julien Le Jeune proposed openstack/nova stable/2023.1: Refactor vf profile for PCI device https://review.opendev.org/c/openstack/nova/+/905137
08:41:11 opendevreview Merged openstack/nova stable/2023.2: [tools] Ignore bot generated patches https://review.opendev.org/c/openstack/nova/+/925280
08:41:17 opendevreview Merged openstack/nova stable/2023.2: [tools] Backport validator: handle unmaintained https://review.opendev.org/c/openstack/nova/+/925281
08:48:51 Taketani_Ryo Hi, I have a question about how to use GPU on OpenStack VM. Can I use Multi-Instance GPU(MIG) on OpenStack VM? I understand that we can use vGPUs on OpenStack. But, if possible, we use MIG instances on VM because the license is necessary for vGPU.
10:13:21 bauzas Taketani_Ryo : Nvidia MIG support relies eventually on VFIO mediated devices that are eventually created above SR-IOV VFs, which themselves are related to MIG GIs.
10:13:43 bauzas Taketani_Ryo: since the vGPUs are actually mdevs, Nova can use them
10:13:52 bauzas so yeah, it would work
10:32:36 opendevreview Merged openstack/nova stable/2023.1: [tools] Ignore bot generated patches https://review.opendev.org/c/openstack/nova/+/925282
10:32:42 opendevreview Merged openstack/nova stable/2023.1: [tools] Backport validator: handle unmaintained https://review.opendev.org/c/openstack/nova/+/925283
12:21:29 opendevreview Merged openstack/nova stable/2023.1: Refactor vf profile for PCI device https://review.opendev.org/c/openstack/nova/+/905137
13:21:51 opendevreview Merged openstack/nova stable/2023.1: Fix exception catch when volume mount fails https://review.opendev.org/c/openstack/nova/+/898954
14:12:43 bauzas elodilles: I guess we can now prepare a 2024.1 release
14:38:23 elodilles bauzas: ACK. i thought we want to release all stable versions at the same time, but you are right, we don't need to wait. let me generate the release patch
14:38:35 bauzas cool
14:38:50 bauzas elodilles: I'll disappear for a long PTO until Aug 25 btw.
14:39:01 bauzas like I said on the upstream meeting
14:41:34 elodilles bauzas: ACK
14:43:01 elodilles i'll ping the release liaisons for the next releases when you'll be on vacation ( <<< auniyal Uggla o:))
14:43:41 elodilles bauzas: have a great & relaxing time off o/
14:43:51 bauzas thanks
14:43:57 bauzas not yet ended for today tho :)
14:47:38 elodilles bauzas: in that case, here is the release patch :D https://review.opendev.org/c/openstack/releases/+/925493
15:04:53 elodilles thanks o:)
17:48:59 opendevreview Ghanshyam proposed openstack/nova master: DNM: testing new RBAC default change in oslo policy https://review.opendev.org/c/openstack/nova/+/925515
18:04:00 opendevreview Ghanshyam proposed openstack/nova master: Remove default override for RBAC config options https://review.opendev.org/c/openstack/nova/+/925519
18:42:16 opendevreview Elod Illes proposed openstack/nova stable/2024.1: [CI] Replace deprecated regex https://review.opendev.org/c/openstack/nova/+/925522
18:42:53 opendevreview Elod Illes proposed openstack/nova stable/2023.2: [CI] Replace deprecated regex https://review.opendev.org/c/openstack/nova/+/925523
18:44:58 opendevreview Elod Illes proposed openstack/nova stable/2023.1: [CI] Replace deprecated regex https://review.opendev.org/c/openstack/nova/+/925524
#openstack-nova - 2024-08-02
04:55:28 auniyal elodilles, sure :)
13:05:19 opendevreview Julien Le Jeune proposed openstack/nova master: nova-condutor put instance in error state https://review.opendev.org/c/openstack/nova/+/901655
13:24:55 opendevreview Julien Le Jeune proposed openstack/nova master: Fix request_specs not updated after failed rebuild https://review.opendev.org/c/openstack/nova/+/899379
13:28:15 jlejeune bauzas: elodilles: what do you think about that https://review.opendev.org/c/openstack/nova/+/899379 ?
13:30:20 opendevreview Merged openstack/nova stable/2023.2: cpu: Only check governor type on online cores https://review.opendev.org/c/openstack/nova/+/924517
15:37:00 opendevreview Balazs Gibizer proposed openstack/nova master: [manila]Lock/Unlock share by the share_mapping https://review.opendev.org/c/openstack/nova/+/925606
15:37:30 opendevreview Balazs Gibizer proposed openstack/nova master: [manila]Lock/Unlock share by the share_mapping https://review.opendev.org/c/openstack/nova/+/925606
15:40:34 elinux hi folks
15:40:40 elinux anyone online yet ?
16:06:10 elinux anyone online ?
16:08:45 clarkb elinux: people generally lurk. If you have a question its often best to just ask and if people are able they can answer
16:11:09 elinux I am trying to a add a new filter to nova scheduler. during that process, I want to execute a db command on nova db along these lines "select uuid from instances where project_id=<blah blah> and vm_state is not 'error'"
16:12:03 elinux i want to execute that command in that filter testing file to make a decission for custom filtering. How do I do it using any predefined nova or db objects ?
16:14:40 elinux my main target is to get the number of rows returned by that query
16:21:12 gibi elinux: the filters are filtering HostState objects and HostState already has an instances field https://github.com/openstack/nova/blob/bb2d7f9cad577f3a32cb9523e2b1d9a6d6db3407/nova/scheduler/host_manager.py#L144 that holds a dict of instance_uuid: Instance ovo pairs. So your custom filter just needs to look at the instances dict in each host state and count the instances is bad state.
16:22:30 elinux gibi: but can I filter out those instances per compute host per tenant or project ?
16:23:12 gibi the hoststate object is per compute 1:1. The Instance object has project_id field
16:24:04 gibi https://github.com/openstack/nova/blob/bb2d7f9cad577f3a32cb9523e2b1d9a6d6db3407/nova/objects/instance.py#L126
16:41:51 elinux gibi: can you show me how to call this instance object for a host under host_pass function in a filter , for a specific project id ?
16:43:19 elinux gibi: unfortunately I am not able to trace the code using pdb for this. it is failing . so I am trying to use eventlet backdoor to attach to nova api wgi process but not able to get any source code loaded at pdb prompt
17:03:43 gibi https://paste.opendev.org/show/bcAOtsWiVKbbiTe94HBh/ something like that but I don't have an env right now where I can hack on this.
17:06:18 elinux gibi: how to trace the nova api service like we do with pdb in python ? but pdb in this case is not working since it is eventlet
17:06:44 gibi honestly I tend to debug by adding extra LOG statement
17:06:56 dansmith yeah, debug with LOG/print :)
17:07:14 elinux dansmith: no other way ?
17:09:01 dansmith elinux: I dunno, a debugger doesn't really lend itself to use in something like an eventlet environment.. we're telling you want nova core developers do, so ...
17:09:37 dansmith best thing is to write a test where you can control the environment and reproduce quickly
17:09:53 gibi ^^ this
17:09:54 dansmith you can't use a debugger with the tests normally either, but if you run them manually then you probably can
17:10:18 dansmith but I'd still recommend debugging with LOG/print and use the test environment to increase the speed at which you can iterate
18:36:02 opendevreview Ghanshyam proposed openstack/nova master: Remove default override for RBAC config options https://review.opendev.org/c/openstack/nova/+/925519
18:36:29 opendevreview Ghanshyam proposed openstack/nova master: DNM: testing new RBAC default change in oslo policy https://review.opendev.org/c/openstack/nova/+/925515
18:37:05 opendevreview Ghanshyam proposed openstack/nova master: DNM: testing new RBAC default change in oslo policy https://review.opendev.org/c/openstack/nova/+/925515
#openstack-nova - 2024-08-03
03:02:40 opendevreview melanie witt proposed openstack/nova master: DNM testing https://review.opendev.org/c/openstack/nova/+/925635
07:48:03 opendevreview melanie witt proposed openstack/nova master: DNM testing https://review.opendev.org/c/openstack/nova/+/925635
08:50:32 opendevreview melanie witt proposed openstack/nova master: DNM testing https://review.opendev.org/c/openstack/nova/+/925635
12:16:46 opendevreview Merged openstack/nova stable/2023.1: cpu: Only check governor type on online cores https://review.opendev.org/c/openstack/nova/+/924518
13:19:15 opendevreview Takashi Kajinami proposed openstack/placement master: Remove Python 3.8 support https://review.opendev.org/c/openstack/placement/+/925648
18:35:54 opendevreview melanie witt proposed openstack/nova master: DNM testing https://review.opendev.org/c/openstack/nova/+/925635
21:25:33 opendevreview melanie witt proposed openstack/nova master: DNM testing https://review.opendev.org/c/openstack/nova/+/925635
#openstack-nova - 2024-08-05
07:48:22 jlejeune bauzas, elodilles: hello, I sent you a message last week about a litte change (https://review.opendev.org/c/openstack/nova/+/899379) I don't know if you had time to review
10:11:18 opendevreview Julien Le Jeune proposed openstack/nova master: nova-condutor put instance in error state https://review.opendev.org/c/openstack/nova/+/901655
11:03:50 opendevreview Takashi Kajinami proposed openstack/nova master: Detect AMD SEV-ES support https://review.opendev.org/c/openstack/nova/+/925685
13:51:39 opendevreview Balazs Gibizer proposed openstack/nova master: [manila]Use client token when talking to manila https://review.opendev.org/c/openstack/nova/+/925277
13:51:40 opendevreview Balazs Gibizer proposed openstack/nova master: [manila]Lock/Unlock share by the share_mapping https://review.opendev.org/c/openstack/nova/+/925606
13:52:11 opendevreview Julien Le Jeune proposed openstack/nova master: nova-condutor put instance in error state https://review.opendev.org/c/openstack/nova/+/901655
13:56:21 opendevreview Julien Le Jeune proposed openstack/nova master: Add mechanism to manage snapshot during nc init https://review.opendev.org/c/openstack/nova/+/873062
14:23:55 opendevreview Takashi Kajinami proposed openstack/nova master: Detect AMD SEV-ES support https://review.opendev.org/c/openstack/nova/+/925685
21:42:23 opendevreview Brian Haley proposed openstack/nova master: Support creating servers with RBAC SGs https://review.opendev.org/c/openstack/nova/+/811521
#openstack-nova - 2024-08-06
08:45:12 songwenping hi team, i have update libvirt-python to lastest version of 10.6.0, but also meet the error: module 'libvirt' has no attribute 'VIR_NODE_DEVICE_CREATE_XML_VALIDATE', any advice?
09:00:01 gibi songwenping: the libvirt api def still documents that flag https://libvirt.org/html/libvirt-libvirt-nodedev.html#virNodeDeviceCreateXMLFlagsh
09:02:14 gibi and I can import it in 10.5.0
09:02:22 gibi bash-5.1$ rpm -qa | grep python3-libvirt
09:02:22 gibi python3-libvirt-10.5.0-1.el9.x86_64
09:02:22 gibi bash-5.1$ python3
09:02:22 gibi Python 3.9.19 (main, Jul 18 2024, 00:00:00)
09:02:22 gibi [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] on linux
09:02:24 gibi Type "help", "copyright", "credits" or "license" for more information.
09:02:27 gibi >>> import libvirt
09:02:29 gibi >>> libvirt.VIR_NODE_DEVICE_CREATE_XML_VALIDATE
09:02:32 gibi 1
09:02:34 gibi >>>
09:03:37 songwenping my OS is ubuntu2204, i will try 10.5.0
09:04:35 gibi hm I pulled 10.6.0 from pypi and I can still import the constant : https://paste.opendev.org/show/b0IJ31RkWUw7MvcqpReb/
09:06:26 frickler should one generally use libvirt-python from the distro to match the installed libvirt? and thus not use it from pypi at all?
09:07:01 songwenping yeah, tried 10.5.0, still has no this attribute.
09:07:55 gibi frickler: I would say, use the matching version

Earlier   Later