Virt Manager returns Error launching manager: list index out of range creating new KVM VM
This document (7016700) is provided subject to the disclaimer at the end of this document.
Environment
Situation
"Error launching manager: list index out of range"
Details
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/engine.py", line 927, in _do_show_create
self._get_create_dialog().show(src.topwin, uri)
File "/usr/share/virt-manager/virtManager/create.py", line 174, in show
self.reset_state(uri)
File "/usr/share/virt-manager/virtManager/create.py", line 382, in reset_state
(index, inst_repos) = util.getInstallRepos()
File "/usr/share/virt-manager/virtinst/util.py", line 607, in getInstallRepos
str = locations[index]
IndexError: list index out of range
Resolution
As a work around, a virtual machine can be created from the command line with a command similar to:
virt-install \
--name test \
--disk path=/var/lib/libvirt/images/test.qcow2,format=qcow2,bus=virtio,cache=none,size=15 \
--vnc \
--noautoconsole \
--vcpus=2 \
--ram=1024 \
--network bridge=br0 \
--location=http://network.installation.server.com/install/sles11-sp3/x86_64/
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7016700
- Creation Date: 22-Jul-2015
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com