| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2021-01-26 | |||
| 00:30:53 | brinzhang | gmann: From the test case, I found the show or index os-simple-projectt-usage APIs cannot be valid for 2.90 | |
| 00:51:31 | openstackgerrit | Brin Zhang proposed openstack/nova master: Fix ForbiddenWithAccelerators to HTTPForbidden for shelve API https://review.opendev.org/c/openstack/nova/+/770007 | |
| 08:01:36 | openstackgerrit | Wenping Song proposed openstack/nova master: Replaces tenant_id with project_id from List/Update Servers APIs https://review.opendev.org/c/openstack/nova/+/764292 | |
| 08:01:37 | openstackgerrit | Wenping Song proposed openstack/nova master: Replace all_tenants with all_projects in List Server APIs https://review.opendev.org/c/openstack/nova/+/765311 | |
| 08:01:38 | openstackgerrit | Wenping Song proposed openstack/nova master: Replaces tenant_id with project_id from Rebuild Server API https://review.opendev.org/c/openstack/nova/+/766380 | |
| 08:01:39 | openstackgerrit | Wenping Song proposed openstack/nova master: Replaces tenant_id with project_id from List SG API https://review.opendev.org/c/openstack/nova/+/766726 | |
| 08:55:15 | openstackgerrit | MIKI Nobuhiro proposed openstack/nova master: libvirt: add IP address to libvirt guest metadata https://review.opendev.org/c/openstack/nova/+/750552 | |
| 09:01:08 | openstackgerrit | Wenping Song proposed openstack/nova master: Replaces tenant_id with project_id from List/Update Servers APIs https://review.opendev.org/c/openstack/nova/+/764292 | |
| 09:15:19 | lyarwood | \o morning | |
| 09:18:29 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/victoria: api: Log os-resetState as an instance action https://review.opendev.org/c/openstack/nova/+/772480 | |
| 09:19:04 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/ussuri: api: Log os-resetState as an instance action https://review.opendev.org/c/openstack/nova/+/772481 | |
| 09:19:23 | openstackgerrit | Lee Yarwood proposed openstack/nova stable/train: api: Log os-resetState as an instance action https://review.opendev.org/c/openstack/nova/+/772482 | |
| 09:30:56 | lyarwood | elod / melwitt / bauzas ; https://review.opendev.org/c/openstack/nova/+/758730 would you mind taking a look at this (and the cherry picks) this week? | |
| 09:36:15 | alexe9191 | Good day everyone, I was wondering if someone could help me with a question related to novaclient? | |
| 09:36:31 | alexe9191 | In order to reach the API endpoint I need to set a specific header | |
| 09:36:50 | alexe9191 | I can do this if I am writing my own python code, but I'd like to use the OpenStack cli. | |
| 09:37:31 | alexe9191 | There is sadly no -H option in the OpenStack cli. I was wondering where can I set curl options in the code of novaclient so that I can enforce passing the header? | |
| 09:42:47 | swp20 | moring gibi, please review noVNC https://review.opendev.org/c/openstack/nova/+/622336/28 ,thanks. | |
| 09:50:15 | bauzas | lyarwood: sorry was in a meeting | |
| 09:50:30 | bauzas | but sure, I can take a look | |
| 10:18:32 | sapd1 | Hello everyone, I would like to use vGPU feature with Nova and KVM(QEMU). Which model should I choose? As I know If we use this feature, we need to pay license for it (NVDIA for example). Is it true? | |
| 10:19:21 | lyarwood | alexe9191: use openstacksdk, it should handle everything for you | |
| 10:20:04 | bauzas | sapd1: correct, you need a license if you want to use nvidia GPUs | |
| 10:20:31 | bauzas | for the models, sec. | |
| 10:20:34 | sapd1 | bauzas, Thanks, There is no other options for it? | |
| 10:22:13 | bauzas | sapd1: for the models : https://docs.nvidia.com/grid/latest/grid-vgpu-user-guide/index.html#supported-gpus-grid-vgpu | |
| 10:22:28 | alexe9191 | @lyar | |
| 10:23:50 | bauzas | sapd1: some folks use nvidia T4s for testing | |
| 10:23:53 | alexe9191 | @lyarwood: Thank you, I was looking for a way to hack the code locally so that I can use the openstack command line tools. But that does not seem to be the smartest course of action here. | |
| 10:23:58 | elod | lyarwood: the patch looks ok to me! | |
| 10:24:04 | elod | +2'd | |
| 10:26:21 | sapd1 | bauzas, Thanks, I will check it. | |
| 10:27:03 | bauzas | sapd1: fwiw, Intel gvt-g cards also work :p | |
| 10:27:24 | MrClayPole | requested operation. (HTTP 500) (Request-ID: |
|
| 10:27:24 | MrClayPole | admin0: "virsh list" shows no instances. I can boot the VM, run "dumpxml instance-" it shows http://paste.openstack.org/raw/801977/ and as it boots the 2 shared storage disks so they should be OK? The migration fails with "Error: Failed to perform requested operation on instance " |
|
| 10:27:31 | bauzas | sapd1: but.... what I can say ? :) | |
| 10:27:39 | sapd1 | bauzas, could you give some recommendations? Is it required license ? | |
| 10:28:03 | bauzas | sapd1: which usecase would you like to do for vGPUs ? | |
| 10:28:05 | admin0 | virsh list --all | |
| 10:28:13 | admin0 | to also show stopped instances | |
| 10:29:45 | bauzas | sapd1: if you want to see my face... https://www.youtube.com/watch?v=sQCgyo2BRe4 | |
| 10:30:29 | bauzas | and for the cards, well... as I said, that depends on which kind of use case you'd like to have | |
| 10:30:38 | bauzas | t4s are cheap | |
| 10:31:10 | sapd1 | bauzas, some workloads such as ML, video transcode.. | |
| 10:31:27 | MrClayPole | Well don't I feel stupid, Thanks for pointing out the --all. This is the output when powered off http://paste.openstack.org/raw/801982/ I've taken a look and can't see anything that would block the migration | |
| 10:31:37 | bauzas | sapd1: then, test with a T4 | |
| 10:33:02 | sapd1 | bauzas, haha. Is it required license for testing ? | |
| 10:33:18 | bauzas | again, there are nvidia docs for this :p | |
| 10:33:40 | lyarwood | MrClayPole: look for req-3fc432cf-4d5c-4d9b-b16e-d06d912e93e7 in your cinder-api / cinder-volume logs | |
| 10:34:30 | lyarwood | MrClayPole: and yeah if all of your data is in these volumes it might be easier to recreate the instance | |
| 10:34:33 | bauzas | sapd1: https://docs.nvidia.com/grid/latest/grid-licensing-user-guide/index.html#license-editions-nvidia-grid | |
| 10:34:47 | lyarwood | MrClayPole: I'm assuming this is the first attempt to cold migrate that failed? | |
| 10:34:54 | lyarwood | MrClayPole: resize sorry | |
| 10:35:47 | bauzas | sapd1: and https://docs.nvidia.com/grid/latest/grid-vgpu-user-guide/index.html#virtual-gpu-types-grid | |
| 10:36:12 | bauzas | and for a T4 https://docs.nvidia.com/grid/latest/grid-vgpu-user-guide/index.html#vgpu-types-tesla-t4 | |
| 10:36:47 | MrClayPole | lyarwood: Yeah, running a cold migration. I'm temped to see this one through rather than go for the recreate as this'll be a good chance for me to start learning the internals of openstack. | |
| 10:37:33 | bauzas | sapd1: if it's just transcoding, a vApps license with a T4-1A vGPU type seems reasonable to me | |
| 10:38:00 | lyarwood | MrClayPole: cool well if you can trace that request-id in the cinder logs and pastebin them I can take a look and walk you through this | |
| 10:38:01 | bauzas | for ML, well, good luck, that highly depends on your training needs | |
| 10:39:08 | lyarwood | elod: do you know if anyone has capped get-pip.py given py27 support has now been dropped? Borked stable/queens AFAICT at least. | |
| 10:40:01 | bauzas | sapd1: but you can run for a short period of time a server without a licensed vGPU https://docs.nvidia.com/grid/latest/grid-licensing-user-guide/index.html#software-enforcement-grid-licensing | |
| 10:45:01 | sapd1 | bauzas, nice. I will request for buying it and try later. :D | |
| 10:45:22 | bauzas | sapd1: ask maybe first a nvidia rep | |
| 10:45:32 | bauzas | I'm not a sales person :) | |
| 10:45:47 | bauzas | and see which kind of license matches your need | |
| 10:46:18 | sapd1 | bauzas, yep. I need time to research on it. If I have any issues, I will ping you. thanks :D | |
| 10:46:21 | frickler | lyarwood: elod: there's some patches up for devstack about get-pip | |
| 10:46:48 | frickler | most of them pushed by elod in fact ;) | |
| 10:47:24 | bauzas | sapd1: again, neither working for nvidia, nor a sales person, but if I can help... | |
| 10:47:35 | sapd1 | bauzas, yeah :D | |
| 10:48:17 | lyarwood | frickler: I had a feeling :D | |
| 10:48:44 | lyarwood | elod++ | |
| 10:48:57 | elod | lyarwood: frickler: yes, I noticed that amotoki had a fix for that and backported it till pike :] | |
| 10:50:09 | lyarwood | do we need a bug? I just wrote https://bugs.launchpad.net/devstack/+bug/1913283 before finding this | |
| 10:50:11 | openstack | Launchpad bug 1913283 in devstack "get-pip.py no longer supports py27" [Undecided,New] | |
| 10:50:12 | elod | it will need merging in reverse order for some patches (where there's grenade) | |
| 10:51:12 | elod | these are the patches btw: https://review.opendev.org/q/topic:%22get-pip-py27%22 | |
| 10:53:30 | lyarwood | seems a little over the top, can't we just set PIP_GET_PIP_URL on the py27 jobs? | |
| 10:59:51 | frickler | lyarwood: then people will complain that their local stuff fails. I personally am all for dropping py2 support completely, but it doesn't seem to be possible to get consensus on that yet | |
| 11:00:28 | lyarwood | frickler: ah fair | |
| 11:33:26 | gibi | stephenfin: hi! if you need me to look at the placement test isolation issue then could you summarize what is the problem? is there a simple reproduction of the problem I can do locally to start with? | |
| 11:40:44 | khomesh24 | #openstack-nova Hello, can someone check the bug https://bugs.launchpad.net/nova/+bug/1913016? | |
| 11:40:45 | openstack | Launchpad bug 1913016 in OpenStack Compute (nova) "nova api os-resetState should not reset the state when VM is shelved_offloaded" [Undecided,New] - Assigned to Khomesh Thakre (khomesh24) | |
| 11:42:28 | sean-k-mooney | gibi: i think the issue is each of the gabby test files are written such that they need to be run indepently | |
| 11:42:47 | lyarwood | khomesh24: that looks valid to me, did you have a patch? | |
| 11:43:53 | sean-k-mooney | for example https://github.com/openstack/placement/blob/master/placement/tests/functional/gabbits/shared-resources.yaml | |
| 11:44:08 | sean-k-mooney | needs to be run with its own placment instance | |
| 11:46:18 | sean-k-mooney | although that is proably not the best example since it wont conflict with others since other dont create inventoies of CUSTOM_MAGIC | |
| 11:47:27 | stephenfin | gibi: I just figured it out | |
| 11:47:31 | stephenfin | https://storyboard.openstack.org/#!/story/2008556 | |
| 11:48:01 | stephenfin | pushing a fix shortly | |
| 11:50:27 | gibi | sean-k-mooney, stephenfin: thanks, then I will not dig into it | |
| 11:51:26 | sean-k-mooney | stephenfin: i assume that is because we are using a global object at some point and not mockign it propertly in the tests | |
| 11:52:26 | stephenfin | yes, the RuleDefault objects provided in placement.policies.* | |
| 11:59:24 | gibi | sean-k-mooney: replied in https://review.opendev.org/c/openstack/nova/+/757109 I think you missed the @retries decorator | |
| 12:00:00 | khomesh24 | lyarwood, no i wanted to valid first | |
| 12:07:08 | lyarwood | khomesh24: kk for me it's valid, I've marked the bug as confirmed | |
| 12:07:22 | lyarwood | khomesh24: it doesn't make sense to allow an admin to reset to active if the instance is offloaded | |
| 12:08:56 | khomesh24 | lyarwood, ack, i will start working on the patch then, thank you | |
| 12:12:21 | gibi | lyarwood, khomesh24: do we then make os-resetState smart for other non valid reality-db state combinations too? | |