Re: PHP Warning: libvirt_domain_new(): Cannot get installation XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On 3/24/22 21:48, Benjamin Smith wrote:
> Despite great success at using php-libvirt with other functions, I have
> been entirely unsuccessful in getting it to create a new domain/machine.
> Any time I do, and with virtually anything I try, I get the above error
> message. 
> Running PHP 7.4 (remi) on otherwise stock AlmaLinux.
> *[root@sb4 html]# cat /etc/redhat-release
> AlmaLinux release 8.5 (Arctic Sphynx
> *
> *[root@sb4 html]# rpm -qa php php-fpm php-libvirt nginx
> php-7.4.28-1.el8.remi.x86_64
> nginx-1.14.1-9.module_el8.3.0+2165+af250afe.alma.x86_64
> php-fpm-7.4.28-1.el8.remi.x86_64
> php-libvirt-0.5.5-1.el8.remi.7.4.x86_64
> 12 XEON E312xx cores, 24 w/HT, 192GB RAM, etc. *


so libvirt-php is not really that well maintained. The original author
moved to different project and I used to do at least very basic
maintenance but also got side tracked too often.

Looking into the code, which lives at:

it's the installation_get_xml() function that's failing:

and honestly, I don't have any clue why. Do you think you could attach a
debugger and step through the function to find out which line is failing?


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux