Bug 820581 - Sysprep disk remains on file system after VM is stopped
Sysprep disk remains on file system after VM is stopped
Status: CLOSED WONTFIX
Product: oVirt
Classification: Community
Component: vdsm (Show other bugs)
unspecified
x86_64 Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Dan Kenigsberg
infra virt
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-10 08:20 EDT by Moti Asayag
Modified: 2013-01-30 17:51 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-30 17:51:06 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Moti Asayag 2012-05-10 08:20:42 EDT
Description of problem:
* The problem occurs only for running VM with Sysprep for cluster 3.0 and below. Running VM with Sysprep provided as a VM Payload works fine.

The file created by VDSM for sysprep is located under 
/var/run/vdsm/VM_GUID.vfd

It serves any running of that VM with sysprep. 

When the VM is brought down - the file is deleted.

However, if the VDSM is restarted, when the VM is running, the file will remain on the system after the VM is stopped. This will cause the next run with sysprep file to fail with the following messages from log:

Thread-509::DEBUG::2012-05-09 16:30:34,167::__init__::1164::Storage.Misc.excCmd::(_log) '/usr/bin/sudo -n /usr/share/vdsm/mk_sysprep_floppy /var/run/vdsm/0fde3df3-fe4f-4212-b3a1-d1485383594
8.vfd' (cwd None)
Thread-509::DEBUG::2012-05-09 16:30:34,185::__init__::1164::Storage.Misc.excCmd::(_log) FAILED: <err> = 'mkfs.msdos: unable to create /var/run/vdsm/0fde3df3-fe4f-4212-b3a1-d14853835948.vfd\
n'; <rc> = 1
Thread-509::DEBUG::2012-05-09 16:30:34,186::BindingXMLRPC::870::vds::(wrapper) return vmCreate with {'status': {'message': 'Failed to create sysprep floppy image. No space on /tmp?', 'code': 9}}

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
Comment 1 Moti Asayag 2012-05-10 08:32:02 EDT
VDSM Version: vdsm-4.9.6-0.173.gitea68143.el6.x86_64
Comment 2 Itamar Heim 2013-01-30 17:51:06 EST
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.

Note You need to log in before you can comment on or make changes to this bug.