Bug 933242 - virt-manager: summary=Error launching manager: list index out of range
Summary: virt-manager: summary=Error launching manager: list index out of range
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Virtualization:Tools (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Charles Arnold
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-02 10:51 UTC by Martin Pluskal
Modified: 2015-07-13 10:11 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
virt-manager --debug (12.83 KB, text/x-log)
2015-06-02 10:51 UTC, Martin Pluskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Pluskal 2015-06-02 10:51:48 UTC
Created attachment 636341 [details]
virt-manager --debug

when launching virt-manager --debug on kvm machine, following occurs:
...
summary=Error launching manager: list index out of range
details=Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/engine.py", line 907, in _do_show_create
    self._get_create_dialog().show(src.topwin, uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 162, in show
    self.reset_state(uri)
  File "/usr/share/virt-manager/virtManager/create.py", line 377, in reset_state
    (index, inst_repos) = util.getInstallRepos()
  File "/usr/share/virt-manager/virtinst/util.py", line 538, in getInstallRepos
    str = locations[index]
IndexError: list index out of range
Comment 1 Martin Pluskal 2015-06-02 10:53:51 UTC
I wonder if it could be related to new output of zypper:
# zypper lr -d
# | Alias                            | Name                       | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                      | Service
--+----------------------------------+----------------------------+---------+-----------+---------+----------+--------+----------------------------------------------------------+--------
1 | download.opensuse.org-non-oss    | Main Repository (NON-OSS)  | Yes     | ( p) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/non-oss/    |        
2 | download.opensuse.org-oss        | Main Repository (DEBUG)    | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/debug/tumbleweed/repo/oss/  |        
3 | download.opensuse.org-oss_1      | Main Repository (OSS)      | Yes     | (r ) Yes  | Yes     |   99     | yast2  | http://download.opensuse.org/tumbleweed/repo/oss/        |        
4 | download.opensuse.org-tumbleweed | Main Update Repository     | Yes     | ( p) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/update/tumbleweed/          |        
5 | repo-source                      | openSUSE-Tumbleweed-Source | No      | ----      | Yes     |   99     | yast2  | http://download.opensuse.org/source/tumbleweed/repo/oss/ |
Comment 2 Martin Pluskal 2015-06-02 15:51:30 UTC
"zypper mr --disable --all" seems to be suitable workaround
Comment 3 Charles Arnold 2015-06-02 20:15:45 UTC
Martin,
I've update the Virtualization/virt-manager repo with a fix for this.
Could you please grab the RPMs from there and try it out?
Thanks.
Comment 4 Martin Pluskal 2015-06-02 20:34:06 UTC
(In reply to Charles Arnold from comment #3)
> Martin,
> I've update the Virtualization/virt-manager repo with a fix for this.
> Could you please grab the RPMs from there and try it out?
> Thanks.

Works fine with latest zypper, thanks a lot.
Comment 5 Charles Arnold 2015-06-02 20:52:22 UTC
(In reply to Martin Pluskal from comment #4)
> (In reply to Charles Arnold from comment #3)
> > Martin,
> > I've update the Virtualization/virt-manager repo with a fix for this.
> > Could you please grab the RPMs from there and try it out?
> > Thanks.
> 
> Works fine with latest zypper, thanks a lot.

Thanks for the quick response.
Comment 7 Deleted Name 2015-07-08 16:14:23 UTC
It is now an issue in 13.2 too since the recent zypper update.

Please refer to this thread for more info:

https://forums.opensuse.org/showthread.php/508510-virt-manager-throws-an-error-after-downgrade-from-Tumbleweed-to-13-2?p=2718828#post2718828
Comment 8 Charles Arnold 2015-07-08 16:53:57 UTC
(In reply to Name Deleted from comment #7)
> It is now an issue in 13.2 too since the recent zypper update.
> 
> Please refer to this thread for more info:
> 
> https://forums.opensuse.org/showthread.php/508510-virt-manager-throws-an-
> error-after-downgrade-from-Tumbleweed-to-13-2?p=2718828#post2718828

This was fixed for 13.2 and submitted with MR#314416 back on June 29.
I haven't seen it released so I just submitted again with MR#315615.

We'll see if anything happens.  In the meantime, you can manually pull
down and test the RPMs from here,

https://build.opensuse.org/package/show/Virtualization:openSUSE13.2/virt-manager
Comment 9 Deleted Name 2015-07-08 17:09:07 UTC
(In reply to Charles Arnold from comment #8)
> (In reply to Name Deleted from comment #7)
> > It is now an issue in 13.2 too since the recent zypper update.
> > 
> > Please refer to this thread for more info:
> > 
> > https://forums.opensuse.org/showthread.php/508510-virt-manager-throws-an-
> > error-after-downgrade-from-Tumbleweed-to-13-2?p=2718828#post2718828
> 
> This was fixed for 13.2 and submitted with MR#314416 back on June 29.
> I haven't seen it released so I just submitted again with MR#315615.
> 
> We'll see if anything happens.  In the meantime, you can manually pull
> down and test the RPMs from here,
> 
> https://build.opensuse.org/package/show/Virtualization:openSUSE13.2/virt-
> manager

Thank you Charles!
Comment 10 Swamp Workflow Management 2015-07-13 10:11:15 UTC
openSUSE-RU-2015:1234-1: An update that has four recommended fixes can now be installed.

Category: recommended (moderate)
Bug References: 909602,910929,933242,934270
CVE References: 
Sources used:
openSUSE 13.2 (src):    virt-manager-1.0.1-14.14.1