mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-27 08:35:53 +03:00
[GH-ISSUE #146] Internal Server Error 500 #122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ninadshaha on GitHub (Nov 14, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/146
Hi,
I made a git pull. After login to the Dashboard I click on Overview and now I am getting always a screen with OOPS! 500 Internal Server Error and there is some thing misconfiguration.
http error logs are empty.
Then I changed DEBUG = False to DEBUG = True in settings.py and got following
So I request you please guide me to resolve this.
AttributeError at /overview/1/
virConnect instance has no attribute 'getMemoryStats'
Request Method: GET
Request URL: http://dcmonitor.iitb.ac.in/overview/1/
Django Version: 1.5.4
Exception Type: AttributeError
Exception Value:
virConnect instance has no attribute 'getMemoryStats'
Exception Location: /var/www/webvirtmgr/webvirtmgr/server.py in memory_get_usage, line 366
Python Executable: /usr/bin/python
Python Version: 2.7.0
Python Path:
['/var/www/webvirtmgr',
'/usr/lib/python27.zip',
'/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/lib/python2.7/site-packages',
'/usr/lib/python2.7/site-packages/PIL',
'/usr/lib/python2.7/site-packages/gst-0.10',
'/usr/lib/python2.7/site-packages/gtk-2.0',
'/usr/lib/python2.7/site-packages/setuptools-0.6c11-py2.7.egg-info',
'/usr/lib/python2.7/site-packages/webkit-1.0']
Server time: Thu, 14 Nov 2013 08:42:07 +0200
@retspen commented on GitHub (Nov 15, 2013):
libvirt version?
@ninadshaha commented on GitHub (Nov 15, 2013):
Hi,
I am having following versions of libvirt
1.0.2 on ubuntu
1.0.5.5 on fedora 19
1.0.5.6 on fedora 19
Regards,
Ninad
@retspen commented on GitHub (Nov 15, 2013):
This error on all distro?
@ninadshaha commented on GitHub (Nov 15, 2013):
Yes on all distro...
@ninadshaha commented on GitHub (Nov 15, 2013):
Mean while ... the webvirtmgr is installed on fedora14 machine.
@retspen commented on GitHub (Nov 15, 2013):
Need 17 and above where installed panel
@ninadshaha commented on GitHub (Nov 15, 2013):
Can it be installed on ubuntu 13.04 or 13.10
@retspen commented on GitHub (Nov 15, 2013):
Yes of course
@ninadshaha commented on GitHub (Nov 15, 2013):
Thanks...I will install it on ubuntu and let you know
@ninadshaha commented on GitHub (Nov 18, 2013):
HI,
Now I have installed webvirtmgr on ubuntu13.10. Now there is no issue with Overview link. but when i click on any of the virtual machine I am getting following error. This error not comes on each and every vm but I am getting this error on any random vm.
TypeError at /instance/2/iscsi-test/
'NoneType' object is not iterable
Request Method: GET
Request URL: http://virtmgr.iitb.ac.in/instance/2/iscsi-test/
Django Version: 1.5.4
Exception Type: TypeError
Exception Value:
'NoneType' object is not iterable
Exception Location: /var/www/webvirtmgr/instance/views.py in instance, line 123
Python Executable: /usr/bin/python
Python Version: 2.7.4
Python Path:
['/var/www/webvirtmgr',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-i386-linux-gnu',
'/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/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
@retspen commented on GitHub (Nov 18, 2013):
Eject all media and test
@ninadshaha commented on GitHub (Nov 18, 2013):
Hi,
I have checked, media has not been used on any of the machine
@retspen commented on GitHub (Nov 18, 2013):
You create VM in panel WebVirtMgr ???
@ninadshaha commented on GitHub (Nov 18, 2013):
No those Vm are are already been there up and running...
@ninadshaha commented on GitHub (Nov 18, 2013):
But I am getting this error on some vm's only not on all.
@retspen commented on GitHub (Nov 18, 2013):
WebVirtMgr cannot parse XML for this VM. Show your XML file
@ninadshaha commented on GitHub (Nov 18, 2013):
Bellow is the xml file:
License2 ############################# 1048576 1048576 2 /machine hvm SandyBridge Intel destroy restart restart /usr/bin/qemu-kvm
@ninadshaha commented on GitHub (Nov 18, 2013):
License2 ############################# 1048576 1048576 2 /machine hvm SandyBridge Intel destroy restart restart /usr/bin/qemu-kvm
XML for second vm:
mailrly2 ########################### 25165824 25165824 16 /machine hvm SandyBridge Intel destroy restart restart /usr/bin/qemu-kvmOn Monday 18 November 2013 03:03 PM, Anatoliy Guskov wrote:
@retspen commented on GitHub (Nov 18, 2013):
Not have cdrom device in XML. You can delete VM without deleting hdd image and create custom VM with old hdd image.
@gpanula commented on GitHub (Dec 12, 2013):
I encountered a similar issue with network interfaces.
Here is the section of xml that was causing the problem
And here is the patch to server.py that fixed the issue for me.
@retspen commented on GitHub (Dec 15, 2013):
Fix this
bd5f0b639e