Hello, I have a CentOS 7 VM. I make a snaphost at 16:40 with memory included. Then at 17:05 shutdown VM and preview of the snapshot. VM starts ok and initialy is at 16:40 (no ntp at the moment and no ovrti-guest=-agent inside VM, only spice-vdagent and qemu-guest-agent)
When I try to open a spice console (that before preview worked ok) I get an error window Error while executing action SetVmTicket: Unexpected exception and in webadmin gui: user admin failed to initiate a console session for VM c7 in vdsm.log I get the error below. I think it could depend on time set at VM level... Thread-19::DEBUG::2014-11-23 17:09:00,213::fileSD::261::Storage.Misc.excCmd::(getReadDelay) SUCCESS: <err> = '0+1 records in\n0+1 records out\n371 bytes (371 B) copied, 0.000149527 s, 2.5 MB/s\n'; <rc> = 0 ioprocess communication (15319)::DEBUG::2014-11-23 17:09:00,214::__init__::375::IOProcess::(_processLogs) Extracting request informationDEBUG|(null)|Receiving request... ioprocess communication (15319)::DEBUG::2014-11-23 17:09:00,215::__init__::375::IOProcess::(_processLogs) Queuing request in the thread pool... ioprocess communication (15319)::DEBUG::2014-11-23 17:09:00,215::__init__::375::IOProcess::(_processLogs) Extracting request information... ioprocess communication (15319)::DEBUG::2014-11-23 17:09:00,215::__init__::375::IOProcess::(_processLogs) (6408) Got request for method 'statvfs' ioprocess communication (15319)::DEBUG::2014-11-23 17:09:00,216::__init__::375::IOProcess::(_processLogs) Extracting request informationDEBUG|(null)|(6408) Queuing response Thread-63::DEBUG::2014-11-23 17:09:01,392::BindingXMLRPC::1132::vds::(wrapper) client [192.168.1.101]::call vmSetTicket with ('0ba6a56b-542c-480e-8bab-88aea9195302', 'MZrfeNtj6de5', '120', 'disconnect', {'userName': 'admin', 'userId': 'fdfc627c-d875-11e0-90f0-83df133b58cc'}) {} flowID [2dc35f69] Thread-63::DEBUG::2014-11-23 17:09:01,405::libvirtconnection::143::root::(wrapper) Unknown libvirterror: ecode: 1 edom: 10 level: 2 message: internal error: unable to execute QEMU command 'set_password': Could not set password Thread-63::ERROR::2014-11-23 17:09:01,405::BindingXMLRPC::1142::vds::(wrapper) libvirt error Traceback (most recent call last): File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 1135, in wrapper res = f(*args, **kwargs) File "/usr/share/vdsm/rpc/BindingXMLRPC.py", line 383, in vmSetTicket return vm.setTicket(password, ttl, existingConnAction, params) File "/usr/share/vdsm/API.py", line 633, in setTicket return v.setTicket(password, ttl, existingConnAction, params) File "/usr/share/vdsm/virt/vm.py", line 4724, in setTicket graphics, otp, seconds, connAct, params) File "/usr/share/vdsm/virt/vm.py", line 4736, in _setTicketForGraphicDev self._dom.updateDeviceFlags(graphics.toxml(), 0) File "/usr/share/vdsm/virt/vm.py", line 670, in f ret = attr(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 111, in wrapper ret = f(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 2618, in updateDeviceFlags if ret == -1: raise libvirtError ('virDomainUpdateDeviceFlags() failed', dom=self) libvirtError: internal error: unable to execute QEMU command 'set_password': Could not set password Thread-63::DEBUG::2014-11-23 17:09:01,521::BindingXMLRPC::318::vds::(wrapper) client [192.168.1.101] Actually even if I set the correct time inside VM I get the same error.. Note that I'm using qemu from virt-preview qemu-2.1.2-6.fc20.x86_64 but when I was using the Active VM before the preview spice console worked ok... Is this expected to not being able to open spice console in a snapshot preview? Gianluca
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users