[GH-ISSUE #461] Instances page not work after upgrade. #344

Open
opened 2026-02-27 16:38:57 +03:00 by kerem · 4 comments
Owner

Originally created by @pavel-trubitsyn on GitHub (Oct 16, 2014).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/461

libvirt: Network Driver error : Network not found: no network with matching name 'br5'
ERROR:django.request:Internal Server Error: /instance/2/openvpn/
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
response = callback(request, _callback_args, *_callback_kwargs)
File "/var/www/webvirtmgr/instance/views.py", line 472, in instance
clone_disks = show_clone_disk(disks)
File "/var/www/webvirtmgr/instance/views.py", line 422, in show_clone_disk
if disk['image'].count(".") and len(disk['image'].rsplit(".", 1)[1]) <= 7:
AttributeError: 'NoneType' object has no attribute 'count'

Originally created by @pavel-trubitsyn on GitHub (Oct 16, 2014). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/461 libvirt: Network Driver error : Network not found: no network with matching name 'br5' ERROR:django.request:Internal Server Error: /instance/2/openvpn/ Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response response = callback(request, _callback_args, *_callback_kwargs) File "/var/www/webvirtmgr/instance/views.py", line 472, in instance clone_disks = show_clone_disk(disks) File "/var/www/webvirtmgr/instance/views.py", line 422, in show_clone_disk if disk['image'].count(".") and len(disk['image'].rsplit(".", 1)[1]) <= 7: AttributeError: 'NoneType' object has no attribute 'count'
Author
Owner

@pavel-trubitsyn commented on GitHub (Oct 16, 2014):

Also I tried clear install, the same error.

<!-- gh-comment-id:59412948 --> @pavel-trubitsyn commented on GitHub (Oct 16, 2014): Also I tried clear install, the same error.
Author
Owner

@retspen commented on GitHub (Oct 17, 2014):

What is volume name?

<!-- gh-comment-id:59467344 --> @retspen commented on GitHub (Oct 17, 2014): What is volume name?
Author
Owner

@pavel-trubitsyn commented on GitHub (Oct 17, 2014):

Ceph rbd disk

<!-- gh-comment-id:59467790 --> @pavel-trubitsyn commented on GitHub (Oct 17, 2014): Ceph rbd disk
Author
Owner

@retspen commented on GitHub (Oct 17, 2014):

Can add line and show output? After line 421 add print disk:

        for disk in disks:
            print disk
            if disk['image'].count(".") and len(disk['image'].rsplit(".", 1)[1]) <= 7:
<!-- gh-comment-id:59482707 --> @retspen commented on GitHub (Oct 17, 2014): Can add line and show output? After line 421 add `print disk`: ``` for disk in disks: print disk if disk['image'].count(".") and len(disk['image'].rsplit(".", 1)[1]) <= 7: ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtmgr#344
No description provided.