[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [virt-tools-list] virt-manager 0.8.0 wont run



Le jeudi 22 octobre 2009 à 12:36 +0200, Dan Bar Dov a écrit :
> Trying to reboot, I reconnect the cdrom to the iso file,
> the xml file looks like that:
> 
>     <disk type='file' device='cdrom'>
>       <driver name='file'/>
>       <source file='/home/iso/fc11.x86_64.iso'/>
>       <target dev='vdb' bus='virtio'/>
>       <readonly/>
>     </disk>

I see 2 problems here:

- you shouldn't use virtio for cdrom
- I don't know where the <driver name='file'/> comes from

Here's an example of a working CROM device:

    <disk type='file' device='cdrom'>
      <source file='/var/lib/libvirt/iso/Fedora-11-x86_64-DVD.iso'/>
      <target dev='hdc' bus='ide'/>
      <readonly/>
    </disk>

Oh, you should also check security contexts if you have SELinux enabled.
(it may be better to put all your iso under /var/lib/libvirt/)

Regards, Daniel

> 
> But now the VM won;t start with the error
> Error starting domain: internal error unsupported driver name 'file'
> for disk '/home/iso/fc11.x86_64.iso'
> And
> Traceback (most recent call last):
>   File "/usr/local/share/virt-manager/virtManager/engine.py", line
> 567, in run_domain
>     vm.startup()
>   File "/usr/local/share/virt-manager/virtManager/domain.py", line
> 652, in startup
>     self.vm.create()
>   File "/usr/lib64/python2.6/site-packages/libvirt.py", line 293, in
> create
>     if ret == -1: raise libvirtError ('virDomainCreate() failed',
> dom=self)
> libvirtError: internal error unsupported driver name 'file' for disk
> '/home/iso/fc11.x86_64.iso'
> 
> Any ideas?
> Dan
> 
> On Thu, Oct 22, 2009 at 12:31 PM, Dan Bar Dov <bardov gmail com>
> wrote:
>         Install worked, but I fail to create a new VM from ISO file.
>         
>         Once the VM is created, when it boots its console say:
>         "CDROM boot failure code : 0003
>         Boot failed: could not read the boot disk"
>         
>         This used to work fine with the stable version.
>         Dan
>         
>         
>         
>         
>         On Thu, Oct 22, 2009 at 11:54 AM, Dan Bar Dov
>         <bardov gmail com> wrote:
>                 Excellent, that worked for me (the install).
>                 
>                 Dan
>                 
>                 
>                 
>                 On Wed, Oct 21, 2009 at 7:39 PM, Daniel Berteaud
>                 <daniel firewall-services com> wrote:
>                         Le mercredi 21 octobre 2009 à 19:00 +0200, Dan
>                         Bar Dov a écrit :
>                         > I compiled and installed 0.8.0 on FC11.
>                         
>                         
>                         You can use this repo instead of compiling t
>                         yourself:
>                         
>                         http://markmc.fedorapeople.org/virt-preview/f11/
>                         
>                         Regards, Daniel
>                         
>                         
>                         > When I try to run virt-manager I get a
>                         popup:
>                         > Error starting Virtual Machine Manager: No
>                         module named sparkline
>                         >
>                         > I guess these are some python sparkline
>                         package bindings.
>                         > What do I need to get so it'll work?
>                         >
>                         > Traceback (most recent call last):
>                         >   File
>                         "/usr/share/virt-manager/virt-manager.py",
>                         line 368, in
>                         > <module>
>                         >     main()
>                         >   File
>                         "/usr/share/virt-manager/virt-manager.py",
>                         line 309, in main
>                         >     from virtManager.engine import vmmEngine
>                         >   File
>                         "/usr/share/virt-manager/virtManager/engine.py", line 33, in
>                         > <module>
>                         >     from virtManager.manager import
>                         vmmManager
>                         >   File
>                         "/usr/share/virt-manager/virtManager/manager.py", line 27, in
>                         > <module>
>                         >     import sparkline
>                         > ImportError: No module named sparkline
>                         >
>                         >
>                         > Dan
>                         >
>                         
>                         >
>                         _______________________________________________
>                         > virt-tools-list mailing list
>                         > virt-tools-list redhat com
>                         >
>                         https://www.redhat.com/mailman/listinfo/virt-tools-list
>                         --
>                         Daniel Berteaud
>                         FIREWALL-SERVICES SARL.
>                         Société de Services en Logiciels Libres
>                         Technopôle Montesquieu
>                         33650 MARTILLAC
>                         Tel : 05 56 64 15 32
>                         Fax : 05 56 64 15 32
>                         Mail: daniel firewall-services com
>                         Web : http://www.firewall-services.com
>                         
>                 
>                 
>         
>         
> 
> 
-- 
Daniel Berteaud
FIREWALL-SERVICES SARL.
Société de Services en Logiciels Libres
Technopôle Montesquieu
33650 MARTILLAC
Tel : 05 56 64 15 32
Fax : 05 56 64 15 32
Mail: daniel firewall-services com
Web : http://www.firewall-services.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]