ivveh | hey 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 PciPassthroughFilter | 11:42 |
---|---|---|
ivveh | deploying the same vm from horizon returns 0 hosts and via cli doesn't | 11:43 |
jjasek | Hello @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 |
jjasek | I 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 |
ivveh | yeah horizon wraps the pcipassthrough:alias twice | 12:34 |
ivveh | trying to find a working pastebin | 12:37 |
ivveh | all 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-audi | 12:37 |
ivveh | but it seems that the pci_passthrough:alias part is sent twice if done via horizon, via cli it works great | 12:38 |
ivveh | i tried adding " or ' but that didn't work at all, my browser debug skills are horrible | 12:39 |
ivveh | requests=[InstancePCIRequest,InstancePCIRequest] | 12:49 |
ivveh | and 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 |
ivveh | az is default and i can see the only one in horizon, its selected, same in cli | 12:50 |
jjasek | Could you please report a bug here with all the info and logs: https://bugs.launchpad.net/horizon | 13:09 |
jjasek | So all the information from you are recorded somewhere and someone could jump on it when have a time. | 13:09 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Switch default session serializer https://review.opendev.org/c/openstack/horizon/+/958222 | 15:30 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2 https://review.opendev.org/c/openstack/horizon/+/954194 | 15:30 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Switch default session serializer https://review.opendev.org/c/openstack/horizon/+/958222 | 15:31 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2 https://review.opendev.org/c/openstack/horizon/+/954194 | 15:31 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Switch default session serializer https://review.opendev.org/c/openstack/horizon/+/958222 | 15:32 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2 https://review.opendev.org/c/openstack/horizon/+/954194 | 15:32 |
opendevreview | Takashi Kajinami proposed openstack/horizon master: Add non-voting job to test Django 5.2 https://review.opendev.org/c/openstack/horizon/+/954194 | 15:33 |
*** gmaan_ is now known as gmaan | 20:55 |
Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!