[GH-ISSUE #29] 404 returned on clicking VM #19

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

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

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
kerem closed this issue 2026-02-27 16:00:43 +03:00
Author
Owner

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

VM name contains an invalid character "-". Django not support "-" in URL.

Need fix this bug.

<!-- gh-comment-id:14252282 --> @retspen commented on GitHub (Feb 28, 2013): VM name contains an invalid character "-". Django not support "-" in URL. Need fix this bug.
Author
Owner

@ghost commented on GitHub (Feb 28, 2013):

Yup, that did it. I recreated the same VM without a "-" and everything runs perfectly.

Thanks again!!

<!-- gh-comment-id:14254181 --> @ghost commented on GitHub (Feb 28, 2013): Yup, that did it. I recreated the same VM without a "-" and everything runs perfectly. Thanks again!!
Author
Owner

@retspen commented on GitHub (Mar 1, 2013):

Fix this bug

<!-- gh-comment-id:14275263 --> @retspen commented on GitHub (Mar 1, 2013): Fix this bug
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#19
No description provided.