SUSE Support

Here When You Need Us

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

SUSE Linux Enterprise Server 12

Situation

After updating to the latest SLES12 patches, virt-manager returns an error when attempting to create a new KVM virtual machine.

"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

The issue has been reported to engineering.

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.