Bug 1265112

Summary: Can't access django quickstart with python-3.3/python2.7
Product: OpenShift Online Reporter: XiuJuan Wang <xiuwang>
Component: TemplatesAssignee: Timothy Williams <tiwillia>
Status: CLOSED NOTABUG QA Contact: XiuJuan Wang <xiuwang>
Severity: medium Docs Contact:
Priority: medium    
Version: 2.xCC: aos-bugs, jokerman, mmccomas, vdinh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-05 15:26:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description XiuJuan Wang 2015-09-22 07:27:35 UTC
Description of problem:
When access django33, met ‘The requested URL / was not found on this server.’ 404 error.

Version-Release number of selected component (if applicable):
INT(devenv-5642)

How reproducible:
always

Steps to Reproduce:
1.Create django33 quickstart
rhc app create django33 python-3.3 --from-code=https://github.com/openshift/django-example  
2.Access app.

3.

Actual results:
# curl http://django33-xiuwang.int.rhcloud.com/ 
<h1>Not Found</h1><p>The requested URL / was not found on this server.</p>

Expected results:
Could access django33 app.

Additional info:

Comment 1 Vu Dinh 2015-10-22 20:18:41 UTC
Tested on the INT 5674 and the bug appears to be fixed already.

Comment 2 XiuJuan Wang 2015-10-27 09:45:54 UTC
Test in STG(devenv-stage_1188)and INT, still could reproduce this bug.
Are you using this quickstart https://github.com/openshift/django-example?

Comment 3 Vu Dinh 2015-11-05 15:23:09 UTC
Hi,

I have just verified with the owner of django-example repo and confirmed that this is not a bug. The django-example repo is an empty one which means it only has an empty Django application and it will not show anything when you access the URL of the application as it doesn't have any html files. This is intentional as you have to create your own application (as go through the Django tutorial). However, if you go through the create user account step on the read me file, the /admin is functional as it's the only thing accessible when an empty application is created.