Bug 42682 - OpenNebula не может создать виртуальную машину
Summary: OpenNebula не может создать виртуальную машину
Status: CLOSED FIXED
Alias: None
Product: Альт Сервер Виртуализации
Classification: Distributions
Component: Ошибки работы (show other bugs)
Version: 10.0
Hardware: x86_64 Linux
: P5 normal
Assignee: Alexey Shabalin
QA Contact: Alexey Shabalin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-05 09:35 MSK by George F. Lotarev
Modified: 2022-08-09 15:20 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George F. Lotarev 2022-05-05 09:35:52 MSK
Добрый день.
Тестируем сервер виртуализации как альтернативу импортным решениям.
Столкнулись с тем, что через OpenNebula невозможно создать виртуальную машину.
в логах libvirt следующее:
2022-05-04 15:21:26.334+0000: starting up libvirt version: 8.0.0, package: alt3, qemu version: 6.1.1qemu-6.1.1-alt1, kernel: 5.10.111-std-def-alt1, hostname: OpenNebula.talmer.lab
LC_ALL=C \
PATH=/sbin:/usr/sbin:/usr/local/sbin:/bin:/usr/bin:/usr/local/bin \
HOME=/var/lib/libvirt/qemu/domain-3-one-28 \
XDG_DATA_HOME=/var/lib/libvirt/qemu/domain-3-one-28/.local/share \
XDG_CACHE_HOME=/var/lib/libvirt/qemu/domain-3-one-28/.cache \
XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain-3-one-28/.config \
/usr/bin/kvm \
-name guest=one-28,debug-threads=on \
-S \
-object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-3-one-28/master-key.aes"}' \
-machine pc-i440fx-6.1,usb=off,dump-guest-core=off,memory-backend=pc.ram \
-accel kvm \
-cpu qemu64 \
-m 1024 \
-object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":1073741824}' \
-overcommit mem-lock=off \
-smp 1,sockets=1,cores=1,threads=1 \
-uuid 464f4020-4f77-4a79-b6ff-8aaca9f6c907 \
-no-user-config \
-nodefaults \
-chardev socket,id=charmonitor,fd=34,server=on,wait=off \
-mon chardev=charmonitor,id=monitor,mode=control \
-rtc base=utc \
-no-shutdown \
-boot strict=on \
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \
-blockdev '{"driver":"file","filename":"/var/lib/one//datastores/0/28/disk.0","node-name":"libvirt-2-storage","cache":{"direct":true,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-2-format","read-only":true,"cache":{"direct":true,"no-flush":false},"driver":"raw","file":"libvirt-2-storage"}' \
-device ide-cd,bus=ide.0,unit=0,drive=libvirt-2-format,id=ide0-0-0,bootindex=1,write-cache=on \
-blockdev '{"driver":"file","filename":"/var/lib/one//datastores/0/28/disk.1","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
-device ide-cd,bus=ide.0,unit=1,drive=libvirt-1-format,id=ide0-0-1 \
-audiodev '{"id":"audio1","driver":"none"}' \
-vnc 0.0.0.0:28,audiodev=audio1 \
-device cirrus-vga,id=video0,bus=pci.0,addr=0x2 \
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 \
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
-msg timestamp=on
2022-05-04T15:21:26.411782Z qemu-system-x86_64: The -accel and "-machine accel=" options are incompatible
2022-05-04 15:21:26.414+0000: shutting down, reason=failed

Подскажите как чинить.
Comment 1 Alexey Shabalin 2022-08-09 15:20:32 MSK
Исправлено:
* Thu Jun 02 2022 Alexey Shabalin <shaba@altlinux.org> 6.2.0-alt3
- Fixed /usr/bin/qemu-kvm script (ALT #42713)