retspen / webvirtcloud

WebVirtCloud is virtualization web interface for admins and users
1.63k stars 362 forks source link

Can't add an disk image for a new instance after reinstall #626

Open skywind3000 opened 6 months ago

skywind3000 commented 6 months ago

I did a fresh reinstall webvirtcloud after upgrading failure

In the new installation, when I am creating a new instance,

I found the "add image" button is not clickable:

图片

what's that mean ?

One more thing, before that, when I was selecting CPU type, the second dropdown list (chipset) is empty:

图片

Dont know if it matters

Additional information:

skywind3000 commented 6 months ago

I found this:

图片

and:

图片

catborise commented 6 months ago

Did you check pool list with virsh pool-list command. (On host)

skywind3000 commented 6 months ago

It worked fine with a previous version of webvirtcloud.

I've been using it for a long time, this issue only happens from yesterday after upgrading webvirtcloud to the latest version.

toobye commented 6 months ago

Do you have an answer?thx

catborise commented 6 months ago

There is not any problem with webvirtcloud as you specified. Could you please run "virsh pool-list" at command line of host. you may have broken libvirt/qemu config. we can verify settings of libvirt/qemu with virsh commands. is "virsh dom-capabilities", "virsh net-list" etc. commands working as expected?

beside that; did you follow update instructions. with update you should check settings.py.template, may be there are some changes different then your settings.py file.

skywind3000 commented 6 months ago

after reboot somethings, it works again, and I cant find a way to reproduct, no clue.

toobye commented 6 months ago

正如您指定的那样,webvirtcloud 没有任何问题。您能否在主机的命令行中运行“virsh pool-list”。您可能损坏了 libvirt/qemu 配置。我们可以使用 virsh 命令验证 libvirt/qemu 的设置。“virsh dom-capabilities”、“virsh net-list”等命令是否按预期工作?

除此之外;您是否遵循了更新说明。更新后,您应该检查settings.py.template,可能有一些不同于 settings.py 文件的变化。

正如您指定的那样,webvirtcloud 没有任何问题。您能否在主机的命令行中运行“virsh pool-list”。您可能损坏了 libvirt/qemu 配置。我们可以使用 virsh 命令验证 libvirt/qemu 的设置。“virsh dom-capabilities”、“virsh net-list”等命令是否按预期工作?

除此之外;您是否遵循了更新说明。更新后,您应该检查settings.py.template,可能有一些不同于 settings.py 文件的变化。

“virsh net-list” is ok, but“ virsh dom-capabilities” command are not in “virsh help” After checking the settings. py. template and settings. py, there is no significant difference