[GH-ISSUE #21] Can not view network pools #15

Closed
opened 2026-02-27 16:00:41 +03:00 by kerem · 7 comments
Owner

Originally created by @WhiteWind on GitHub (Feb 7, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/21

When I click "Network pool" I see Error 500
Logs are not informative:

 [07/Feb/2013 11:11:15] "GET /network/1/ HTTP/1.1" 302 0
 [07/Feb/2013 11:11:16] "GET /network/1/int5/ HTTP/1.1" 500 1801

XML of first network:

<network>
  <name>int5</name>
  <uuid>680a2146-a723-193f-0c6f-f8435421be36</uuid>
  <forward mode='bridge'/>
  <bridge name='br5' />
</network>

Does webvirtmgr support more than one network pool?

Originally created by @WhiteWind on GitHub (Feb 7, 2013). Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/21 When I click "Network pool" I see Error 500 Logs are not informative: ``` [07/Feb/2013 11:11:15] "GET /network/1/ HTTP/1.1" 302 0 [07/Feb/2013 11:11:16] "GET /network/1/int5/ HTTP/1.1" 500 1801 ``` XML of first network: ``` <network> <name>int5</name> <uuid>680a2146-a723-193f-0c6f-f8435421be36</uuid> <forward mode='bridge'/> <bridge name='br5' /> </network> ``` Does webvirtmgr support more than one network pool?
kerem 2026-02-27 16:00:41 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@retspen commented on GitHub (Feb 7, 2013):

Надо влючить DEBUG в файле settings.py и посмотреть вывод:
DEBUG = False на DEBUG = True

<!-- gh-comment-id:13228060 --> @retspen commented on GitHub (Feb 7, 2013): Надо влючить DEBUG в файле settings.py и посмотреть вывод: DEBUG = False на DEBUG = True
Author
Owner

@WhiteWind commented on GitHub (Feb 7, 2013):

Похоже, оно требует задания IP адресов для пула? У меня сетевые пулы все бриджевые, DHCP внешний

AttributeError at /network/1/int5/
'NoneType' object has no attribute 'split'
Request Method: GET
Request URL:    http://127.0.0.1/network/1/int5/
Django Version: 1.3.1
Exception Type: AttributeError
Exception Value:    'NoneType' object has no attribute 'split'
Exception Location: /root/webvirtmgr/polls/IPy.py in __init__, line 143
Python Executable:  /usr/bin/python
Python Version: 2.7.3
Python Path:    ['/root/webvirtmgr',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages/gtk-2.0']
/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response 
                        response = callback(request, *callback_args, **callback_kwargs) ...
▶ Local vars 
/root/webvirtmgr/polls/views.py in network 
                ipv4_net = ipv4_net() ...
▶ Local vars 
/root/webvirtmgr/polls/views.py in ipv4_net 
        netmask = IP(netmaskStr) ...
▶ Local vars 
/root/webvirtmgr/polls/IPy.py in __init__ 
            x = data.split('-') ...
▶ Local vars
<!-- gh-comment-id:13228282 --> @WhiteWind commented on GitHub (Feb 7, 2013): Похоже, оно требует задания IP адресов для пула? У меня сетевые пулы все бриджевые, DHCP внешний ``` AttributeError at /network/1/int5/ 'NoneType' object has no attribute 'split' Request Method: GET Request URL: http://127.0.0.1/network/1/int5/ Django Version: 1.3.1 Exception Type: AttributeError Exception Value: 'NoneType' object has no attribute 'split' Exception Location: /root/webvirtmgr/polls/IPy.py in __init__, line 143 Python Executable: /usr/bin/python Python Version: 2.7.3 Python Path: ['/root/webvirtmgr', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/gtk-2.0'] ``` ``` /usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response response = callback(request, *callback_args, **callback_kwargs) ... ▶ Local vars /root/webvirtmgr/polls/views.py in network ipv4_net = ipv4_net() ... ▶ Local vars /root/webvirtmgr/polls/views.py in ipv4_net netmask = IP(netmaskStr) ... ▶ Local vars /root/webvirtmgr/polls/IPy.py in __init__ x = data.split('-') ... ▶ Local vars ```
Author
Owner

@retspen commented on GitHub (Feb 7, 2013):

Сделал обновление.
$ git checkout polls/view.py
$ git pull

<!-- gh-comment-id:13228636 --> @retspen commented on GitHub (Feb 7, 2013): Сделал обновление. $ git checkout polls/view.py $ git pull
Author
Owner

@WhiteWind commented on GitHub (Feb 7, 2013):

Да, сети теперь отображаются. Появился небольшой косяк в интерфейсе:
snapshot14
Непонятно, к чему относятся None и Off

<!-- gh-comment-id:13229447 --> @WhiteWind commented on GitHub (Feb 7, 2013): Да, сети теперь отображаются. Появился небольшой косяк в интерфейсе: ![snapshot14](https://f.cloud.github.com/assets/1281277/135123/39389fe4-710f-11e2-9da2-a05549cb9bad.png) Непонятно, к чему относятся None и Off
Author
Owner

@WhiteWind commented on GitHub (Feb 7, 2013):

Сюда же, пожалуй:
snapshot15

<!-- gh-comment-id:13229534 --> @WhiteWind commented on GitHub (Feb 7, 2013): Сюда же, пожалуй: ![snapshot15](https://f.cloud.github.com/assets/1281277/135131/9b469ba0-710f-11e2-8149-6a7182fb6258.png)
Author
Owner

@retspen commented on GitHub (Feb 7, 2013):

Ок попавим, предыдущее поменял

<!-- gh-comment-id:13229686 --> @retspen commented on GitHub (Feb 7, 2013): Ок попавим, предыдущее поменял
Author
Owner

@retspen commented on GitHub (Feb 24, 2013):

Fix

<!-- gh-comment-id:14007070 --> @retspen commented on GitHub (Feb 24, 2013): Fix
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#15
No description provided.