UPC / ravada

Remote Virtual Desktops Manager
https://ravada.upc.edu/
GNU Affero General Public License v3.0
537 stars 176 forks source link

add video none fails #2036

Closed frankiejol closed 1 month ago

frankiejol commented 3 months ago

request: add_hardware args: "data":{"type":"none"},"name":"video"

Error: Attribute (domain) does not pass the type constraint because: Validation failed for 'Sys::Virt::Domain' with value undef at accessor Ravada::Domain::KVM::domain (defined at /usr/share/perl5/Ravada/Domain/KVM.pm line 31) line 4 Ravada::Domain::KVM::domain('Ravada::Domain::KVM=HASH(0x55939de366f8)', undef) called at /usr/share/perl5/Ravada/Domain/KVM.pm line 3664 Ravada::Domain::KVM::reload_config('Ravada::Domain::KVM=HASH(0x55939de366f8)', 'XML::LibXML::Document=SCALAR(0x55939dea0748)') called at /usr/share/perl5/Ravada/Domain/KVM.pm line 2465 Ravada::Domain::KVM::_set_controller_video('Ravada::Domain::KVM=HASH(0x55939de366f8)', undef, 'HASH(0x55939de99590)') called at /usr/share/perl5/Ravada/Domain/KVM.pm line 2279

frankiejol commented 3 months ago

libvirt error code: 67, message: unsupported configuration: a 'none' video type must be the only video device defined for the domain