New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qubes trying to get windows VM #3452

Open
Beartooth23 opened this Issue Jan 12, 2018 · 3 comments

Comments

Projects
None yet
5 participants
@Beartooth23

Qubes OS version:

QubesOS version R3.2

Affected TemplateVMs:


Steps to reproduce the behavior:

qvm-start win7 --cdrom=personal:/home/user/downloads/en_windows_7_AIO_sp1_x64_86_dvd.iso

-->Loading the VM (type = HVM)...
Traceback (most recent call last):
   File "/usr/bin/qvm-start", line 136, in  <module>
      main()
   File "/usr/bin/qvm-start", line 120, in main
      xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.tray else
      None)
   File "/usr/li64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 335, in start
      return super(QubesHVm, self).start(*args, **kwargs)
   File "/usr/li64/python2.7/site-packages/qubes/modules/000QubesVm.py", line1979, in start
      self.libvirt_domain.createWithFlags(libvirt.VIR_DOMAIN_START_PAUSED)
   File "/usr/li64/python2.7/site-packages/libvirt.py",line 1059, in createWithFlags
         if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
libvirt.libvirtError: internal error: libxenlight failed to create new domain 'win7'

Expected behavior:

HVM loads ISO for install

Actual behavior:

"Libvirt.error" libxenlight failed to create new domain"

General notes:

I know this looks like other problems and I have checked the error logs. I've looked at all of the other problems I've tried all the solutions of them and none of them work for me.


Related issues:

@tonsimple

This comment has been minimized.

Show comment
Hide comment
@tonsimple

tonsimple Jan 15, 2018

@Beartooth23

Try copying the ISO into dom0 and starting with a full path to ISO "locally"

@Beartooth23

Try copying the ISO into dom0 and starting with a full path to ISO "locally"

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Apr 5, 2018

Member

@Beartooth23 does it still happen?
Are you sure the ISO path is correct? In case of invalid path you'll get this error.
Check also /var/log/libvirt/libxl/libxl-drivers.log.

Member

marmarek commented Apr 5, 2018

@Beartooth23 does it still happen?
Are you sure the ISO path is correct? In case of invalid path you'll get this error.
Check also /var/log/libvirt/libxl/libxl-drivers.log.

@loadcorp

This comment has been minimized.

Show comment
Hide comment
@loadcorp

loadcorp May 20, 2018

I have almost the same problem even with Dom0:

[user@dom0 ~]$ qvm-start win7new --custom-config=/tmp/win7new.conf --cdrom=dom0:/home/user/win7.iso
--> Loading the VM (type = HVM)...
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 136, in
main()
File "/usr/bin/qvm-start", line 120, in main
xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid, notify_function=tray_notify_generic if options.tray else None)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 335, in start
return super(QubesHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1955, in start
self._update_libvirt_domain()
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 767, in _update_libvirt_domain
raise e
libvirt.libvirtError: operation failed: domain 'win7new' already exists with uuid 727dd680-3dd3-4891-8997-2100da932efc

But when i try this command without:
--custom-config=/tmp/win7new.conf

installation process in stuck because of xen instead of cirrus

What I must try?

I have almost the same problem even with Dom0:

[user@dom0 ~]$ qvm-start win7new --custom-config=/tmp/win7new.conf --cdrom=dom0:/home/user/win7.iso
--> Loading the VM (type = HVM)...
Traceback (most recent call last):
File "/usr/bin/qvm-start", line 136, in
main()
File "/usr/bin/qvm-start", line 120, in main
xid = vm.start(verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid, notify_function=tray_notify_generic if options.tray else None)
File "/usr/lib64/python2.7/site-packages/qubes/modules/01QubesHVm.py", line 335, in start
return super(QubesHVm, self).start(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 1955, in start
self._update_libvirt_domain()
File "/usr/lib64/python2.7/site-packages/qubes/modules/000QubesVm.py", line 767, in _update_libvirt_domain
raise e
libvirt.libvirtError: operation failed: domain 'win7new' already exists with uuid 727dd680-3dd3-4891-8997-2100da932efc

But when i try this command without:
--custom-config=/tmp/win7new.conf

installation process in stuck because of xen instead of cirrus

What I must try?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment