[ovirt-users] Problem starting up new VM created from a template.

Jiri Belka jbelka at redhat.com
Fri Oct 30 17:05:50 UTC 2015


> Hello,
> 
> I'm having troubles with a new VM created from a template. I did run sysprep
> in the windows 2008R2 machine before creating a template from it. I have
> already used this template multiple times and even this time it initially
> started up just fine but not a second time.
> 
> This is what I see that is troublesome in the vdsm.log file when I try to
> start up the VM.
> 
> Thread-105499::ERROR::2015-10-28
> 10:45:31,899::vm::2344::vm.Vm::(_startUnderlyingVm)
> vmId=`20dfe9dc-74c7-46c0-9708-19200de8e958`::The vm start process failed
> Traceback (most recent call last):
> File "/usr/share/vdsm/virt/vm.py", line 2284, in _startUnderlyingVm
> self._run()
> File "/usr/share/vdsm/virt/vm.py", line 3279, in _run
> self.preparePaths(devices[DISK_DEVICES])
> File "/usr/share/vdsm/virt/vm.py", line 2366, in preparePaths
> drive['path'] = self.cif.prepareVolumePath(drive, self.id )
> File "/usr/share/vdsm/clientIF.py", line 309, in prepareVolumePath
> vmId, device, params['vmPayload'])
> File "/usr/share/vdsm/clientIF.py", line 353, in
> _prepareVolumePathFromPayload
> return func(vmId, payload['file'], payload.get('volId'))
> File "/usr/share/vdsm/supervdsm.py", line 50, in __call__
> return callMethod()
> File "/usr/share/vdsm/supervdsm.py", line 48, in <lambda>
> **kwargs)
> File "<string>", line 2, in mkFloppyFs
> File "/usr/lib64/python2.6/multiprocessing/managers.py", line 740, in
> _callmethod
> raise convert_to_error(kind, result)
> OSError: [Errno 5] could not create floppy file: code 1, out mkfs.msdos 3.0.9
> (31 Jan 2010)
> 
> err mkfs.msdos: unable to create
> /var/run/vdsm/payload/20dfe9dc-74c7-46c0-9708-19200de8e958.b490e14021f685d85d57d325b7f66520.img
> 
> Thread-105499::DEBUG::2015-10-28
> 10:45:31,901::vm::2799::vm.Vm::(setDownStatus)
> vmId=`20dfe9dc-74c7-46c0-9708-19200de8e958`::Changed state to Down: [Errno
> 5] could not create floppy file: code 1, out mkfs.msdos 3.0.9 (31 Jan 2010)
> 
> err mkfs.msdos: unable to create
> /var/run/vdsm/payload/20dfe9dc-74c7-46c0-9708-19200de8e958.b490e14021f685d85d57d325b7f66520.img
> (code=1)
> Thread-90::DEBUG::2015-10-28
> 10:45:32,271::libvirtconnection::143::root::(wrapper) Unknown libvirterror:
> ecode: 80 edom: 20 level: 2 message: metadata not found: Requested metadata
> element is not present
> JsonRpc (StompReactor)::DEBUG::2015-10-28
> 10:45:34,264::stompReactor::98::Broker.StompAdapter::(handle_frame) Handling
> message <StompFrame command='SEND'>
> JsonRpcServer::DEBUG::2015-10-28
> 10:45:34,265::__init__::530::jsonrpc.JsonRpcServer::(serve_requests) Waiting
> for request
> Thread-105501::DEBUG::2015-10-28
> 10:45:34,271::stompReactor::163::yajsonrpc.StompServer::(send) Sending
> response

Selinux or ownership on that path?

j.



More information about the Users mailing list