Thursday, 2025-08-21

ivvehhey guys. i have a really weird thing happening and wondering if horizon adds any metadata that a normal api call wouldn't? specifically problems with PciPassthroughFilter11:42
ivvehdeploying the same vm from horizon returns 0 hosts and via cli doesn't11:43
jjasekHello @ivveh, could you please be more specific? Are there any specific parameters that you are using? Maybe you have set wrong default Availability Zone in Horizon (in Launch Instance form) when you create your instance? Or do you use Image with some specific metadata?12:27
jjasekI am pretty sure the answer will be in "/var/log/nova/nova-scheduler.log". I would try to check the logs from creating VM using CLI and compare it with a log from creating VM using Horizon UI.12:29
ivvehyeah horizon wraps the pcipassthrough:alias twice12:34
ivvehtrying to find a working pastebin12:37
ivvehall the meta is in the flavor, no meta in the image and it looks like this:12:37
ivveh# openstack flavor show c12-m64-1rtx4090 -c properties -f json {   "properties": {     "hw:cpu_policy": "dedicated",     "hw:cpu_thread_policy": "prefer",     "hw:pci_numa_affinity_policy": "preferred",     "hw:vif_multiqueue_enabled": "true",     "hw_disk_bus": "virtio",     "hw_qemu_guest_agent": "yes",     "hw_scsi_model": "virtio-scsi",     "os_require_quisce": "yes",     "pci_passthrough:alias": "rtx4090:1,rtx4090-audi12:37
ivvehbut it seems that the pci_passthrough:alias part is sent twice if done via horizon, via cli it works great12:38
ivvehi tried adding " or ' but that didn't work at all, my browser debug skills are horrible12:39
ivvehrequests=[InstancePCIRequest,InstancePCIRequest] 12:49
ivvehand you can't add this metadata twice, they need to be a list. and they must be passed together.. maybe there is another method that is more correct?12:49
ivvehaz is default and i can see the only one in horizon, its selected, same in cli12:50
jjasekCould you please report a bug here with all the info and logs: https://bugs.launchpad.net/horizon13:09
jjasekSo all the information from you are recorded somewhere and someone could jump on it when have a time.13:09
opendevreviewTakashi Kajinami proposed openstack/horizon master: Switch default session serializer  https://review.opendev.org/c/openstack/horizon/+/95822215:30
opendevreviewTakashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2  https://review.opendev.org/c/openstack/horizon/+/95419415:30
opendevreviewTakashi Kajinami proposed openstack/horizon master: Switch default session serializer  https://review.opendev.org/c/openstack/horizon/+/95822215:31
opendevreviewTakashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2  https://review.opendev.org/c/openstack/horizon/+/95419415:31
opendevreviewTakashi Kajinami proposed openstack/horizon master: Switch default session serializer  https://review.opendev.org/c/openstack/horizon/+/95822215:32
opendevreviewTakashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2  https://review.opendev.org/c/openstack/horizon/+/95419415:32
opendevreviewTakashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2  https://review.opendev.org/c/openstack/horizon/+/95419415:33
*** gmaan_ is now known as gmaan20:55

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