mirror of
https://github.com/retspen/webvirtmgr.git
synced 2026-04-25 15:45:51 +03:00
[GH-ISSUE #29] 404 returned on clicking VM #19
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 @ghost on GitHub (Feb 28, 2013).
Original GitHub issue: https://github.com/retspen/webvirtmgr/issues/29
I can see the overview of the host just fine. And on some of the VMs, I can log in and see details about that VM, but 3 of 4 show me a 404 message. Here's the output from the web server:
Fails with 404:
administrator@qp-kvm-ibm:~/webvirtmgr$ ./manage.py runserver 10.20.5.1:8000
Validating models...
0 errors found
Django version 1.3.1, using settings 'webvirtmgr.settings'
Development server is running at http://10.20.5.1:8000/
Quit the server with CONTROL-C.
[28/Feb/2013 20:59:45] "GET / HTTP/1.1" 302 0
[28/Feb/2013 20:59:45] "GET /dashboard/ HTTP/1.1" 200 5552
[28/Feb/2013 21:00:01] "GET /overview/1/ HTTP/1.1" 200 9551
[28/Feb/2013 21:00:07] "GET /vm/1/qp-IntuitChat/ HTTP/1.1" 404 1838
[28/Feb/2013 21:00:07] "GET /vm/1/static/css/bootstrap.css HTTP/1.1" 404 1838
[28/Feb/2013 21:00:07] "GET /vm/1/static/css/bootstrap-responsive.css HTTP/1.1" 404 1838
[28/Feb/2013 21:00:07] "GET /vm/1/static/js/jquery.js HTTP/1.1" 404 1838
[28/Feb/2013 21:00:07] "GET /vm/1/static/js/bootstrap.js HTTP/1.1" 404 1838
[28/Feb/2013 21:00:07] "GET /vm/1/static/js/bootstrap.js HTTP/1.1" 404 1838
^Cadministrator@qp-kvm-ibm:~/webvirtmgr$
Works fine:
administrator@qp-kvm-ibm:~/webvirtmgr$ ./manage.py runserver 10.20.5.1:8000
Validating models...
0 errors found
Django version 1.3.1, using settings 'webvirtmgr.settings'
Development server is running at http://10.20.5.1:8000/
Quit the server with CONTROL-C.
[28/Feb/2013 21:04:26] "GET / HTTP/1.1" 302 0
[28/Feb/2013 21:04:27] "GET /dashboard/ HTTP/1.1" 200 5552
[28/Feb/2013 21:04:32] "GET /overview/1/ HTTP/1.1" 200 9551
[28/Feb/2013 21:04:37] "GET /vm/1/winApache/ HTTP/1.1" 200 9012
^Cadministrator@qp-kvm-ibm:~/webvirtmgr
All files are stored in the same locations and have the same permissions and ownership.
Ubuntu Server 12.04 x64
Any ideas of what's different? Thanks
@retspen commented on GitHub (Feb 28, 2013):
VM name contains an invalid character "-". Django not support "-" in URL.
Need fix this bug.
@ghost commented on GitHub (Feb 28, 2013):
Yup, that did it. I recreated the same VM without a "-" and everything runs perfectly.
Thanks again!!
@retspen commented on GitHub (Mar 1, 2013):
Fix this bug