[et-mgmt-tools] virt-manager errors

Daniel P. Berrange berrange at redhat.com
Tue May 15 11:58:44 UTC 2007


On Tue, May 15, 2007 at 04:26:17PM +0530, satyaakam goswami wrote:
> Configuration is as follows
> 
> Hardware Sun X2200
> Xen-unstable
> virt-manager : 0.4.0
> 
> I am able to successfully run RHEL 3.0 update 5 as DomU in fully
> virtualized mode when i try creating a VM using virt-manager in
> paravirtualized mode i get the following errors
> 
> Unable to complete install 'exceptions.OSError [Errno 2] No such file
> or directory: '/var/lib/xen/virtinstmnt.O_oVgK'
> Traceback (most recent call last):
>  File "/usr/local/share/virt-manager/virtManager/create.py", line
> 677, in do_install
>    dom = guest.start_install(False, meter = meter)
>  File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 645,
> in start_install
>    tmpfiles = self._prepare_install_location(meter)
>  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py",
> line 65, in _prepare_install_location
>    (kernelfn,initrdfn,args) =
> DistroManager.acquireKernel(self.location, meter,
> scratchdir=self.scratchdir, type=self.type)
>  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py",
> line 562, in acquireKernel
>    if not fetcher.prepareLocation(progresscb):
>  File "/usr/lib/python2.4/site-packages/virtinst/DistroManager.py",
> line 106, in prepareLocation
>    self.mntdir = tempfile.mkdtemp(prefix="virtinstmnt.", 
>    dir=self.scratchdir)
>  File "/usr/lib64/python2.4/tempfile.py", line 328, in mkdtemp
>    _os.mkdir(file, 0700)
> OSError: [Errno 2] No such file or directory: 
> '/var/lib/xen/virtinstmnt.O_oVgK'
> 
> i checked for directory /var/lib/xen it is missing  i could see
> /var/lib/xend though

Traditionally the directory /var/lib/xen is where pygrub spits out the
boot files it extracts, so we made virt-install/virt-manager point to
the same place. This dir should be created by the Xen makefiles during
the make install process.

Dan.
-- 
|=- Red Hat, Engineering, Emerging Technologies, Boston.  +1 978 392 2496 -=|
|=-           Perl modules: http://search.cpan.org/~danberr/              -=|
|=-               Projects: http://freshmeat.net/~danielpb/               -=|
|=-  GnuPG: 7D3B9505   F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505  -=| 




More information about the et-mgmt-tools mailing list