F1ash / qt-virt-manager

Qt Virtual machines manager
http://f1ash.github.io/qt-virt-manager
GNU General Public License v2.0
233 stars 71 forks source link

Configurations read only #24

Open SergeyDjam opened 7 years ago

SergeyDjam commented 7 years ago

Hello. Actual version 0.43.70.2. Don't write configuration.

  1. I open virtual machine edit
  2. I make changes
  3. I save and close
  4. I open editing again and I see that nothing changed

what? what this fix?

Server virtual machines: ROSA Enterprise Linux Server 6.6 (CentOS 6.6) cat /etc/redhat-release ROSA Enterprise Linux Server release 6.6 (Helium)

QEMU: rpm -qa | grep qemu qemu-kvm-rhev-0.12.1.2-2.448.res6.4.x86_64 qemu-kvm-rhev-tools-0.12.1.2-2.448.res6.4.x86_64 gpxe-roms-qemu-0.9.7-6.11.res6.noarch qemu-img-rhev-0.12.1.2-2.448.res6.4.x86_64

LibVirt rpm -qa | grep libvirt libvirt-client-0.10.2-46.res6.4.x86_64 libvirt-0.10.2-46.res6.4.x86_64

Kernel: uname -a Linux srv2 2.6.32-504.30.3.el6.x86_64 #1 SMP Fri Jul 17 12:21:37 EDT 2015 x86_64 x86_64 x86_64 GNU/Linux

Clinet machine: cat /etc/release ROSA Desktop Fresh R8.1 release 2014.1 for x86_64

uname -a Linux nb 4.9.20-nrj-desktop-1rosa-x86_64 #1 SMP PREEMPT Sat Apr 1 22:43:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

rpm -qa | grep qemu ipxe-roms-qemu-20150803-1.git989fe14c-rosa2014.1.noarch qemu-img-2.9.0-1-rosa2014.1.x86_64 qemu-2.9.0-1-rosa2014.1.x86_64 lib64virt-qemu0-3.3.0-1-rosa2014.1.x86_64

rpm -qa | grep libvirt libvirt-utils-3.3.0-1-rosa2014.1.x86_64 python3-libvirt-3.3.0-1-rosa2014.1.x86_64

rpm -qa | grep virt-manager qt5-virt-manager-0.43.70.2-1-rosa2014.1.x86_64

connect for server qemu+unix://root@myservervms qemu+ssh://root@myservervms

F1ash commented 7 years ago

at first, need to see Log about error edit action. usually libvirt send error about occured errors. maybe configuration is not correct.

SergeyDjam commented 7 years ago

No errors. Virt-manager edit this vm

F1ash commented 7 years ago

Which parameter not changing? What is state of VM (running, shutoff, etc.)?

SergeyDjam commented 7 years ago

All parameters don't change. Status VM off, no hibernate

F1ash commented 7 years ago

I'm fixed send error messages at edit VM configuration in new version. If you can build it and run, then you can see occured errors. I can't reproduce this bug. But if you make some changes with changed name or UUID, then you get error same: ✻ 11:34:28 Connection '{Local1_QEMU}': ACTION: VirtError(9) : ошибка операции: домену «QEmu-F20-KDE-min1» уже присвоен UUID e63451fc-3fe5-4e1b-b73f-7e930d4506e3

or same: ✻ 11:36:27 Connection '{Local1_QEMU}': ACTION: VirtError(9) : ошибка операции: домен «QEmu-F20-KDE-min1» уже существует (UUID: e63451fc-3fe5-4e1b-b73f-7e930d4506e3)

SergeyDjam commented 7 years ago

Problem not in local placement of the virtual machines, and it is exceptional on remote servers

Важно, что серверы под управлением CentOS 6.6 (RELS 6.6)

F1ash commented 7 years ago

Strangly... Because, as i can see, API virDomainDefineXML not changed since 0.2.0 libvirt version.

SergeyDjam commented 7 years ago

Version 0.43.72. This problem too.

F1ash commented 7 years ago

Any errors in Log after probe to edit VM config?

SergeyDjam commented 7 years ago

Nothing shows errors. Where to me to look at these errors?

F1ash commented 7 years ago

Enable Log if disabled. Show Log about messages with your connection name.

P.S. если удобней общаться на русском, то я обычно сижу на fedora@conference.jabber.ru, там можно пообщаться в личке более детально.

SergeyDjam commented 7 years ago

✻ 17:35:35 Connection '10.4.1.167': ACTION: 'virt_srv5' Domain don't shutdown. VirtError(8) : flags for acpi power button and guest agent are mutually exclusive

✻ 17:35:50 Connection '10.4.1.167': ACTION: 'virt_srv5' Domain Destroyed.

✻ 17:35:50 Connection '10.4.1.167': EVENT: 'virt_srv5' Domain Stopped: Forced poweroff from host

✻ 17:35:59 Connection '10.4.1.167': ACTION: 'virt_srv5' Domain XML'ed

✻ 17:36:22 Connection '10.4.1.167': EVENT: New Domain XML'ed to /tmp/XML_Desc-M22560.xml

✻ 17:36:22 Connection '10.4.1.167': EVENT: 'virt_srv5' domain editor closed.

✻ 17:36:22 Connection '10.4.1.167': EVENT: 'virt_srv5' Domain Defined: Changed config file

✻ 17:36:22 Connection '10.4.1.167': ACTION: 'virt_srv5' Domain from "/tmp/XML_Desc-M22560.xml" is defined.

Ох, да, на русском проще...