Description of problem: The setup.py for the python cartridge has CherryPy in the install_requires. CherryPy is not installed into the app until the first git push, though. This means the initial webserver instance behaves differently than all subsequent starts, which is confusing. Version-Release number of selected component (if applicable): openshift-origin-cartridge-python-0.9.7-1.el6oso.noarch How reproducible: Always Steps to Reproduce: 1. rhc app create py33 python-3.3 2. rhc tail py33 3. visit the app URL 4. modify something in git 5. git push (watch output for cherrypy install) 6. repeat #2 and #3 Actual results: First run: Traceback (most recent call last): File "app.py", line 38, in <module> run_cherrypy_server(zapp.application, ip, port) File "app.py", line 14, in run_cherrypy_server from cherrypy import wsgiserver ImportError: No module named 'cherrypy' Second run: Starting WSGIServer on 127.x.y.z:8080 ... Expected results: Consistency. Additional info: I have not yet tested python 2.6 or 2.7. I just noticed this while doing other 3.3 testing.
There's a complexity with the HA story, passing to Mrunal.
Andy, This is intentional. We debated whether to install cherrypy when the app is created. However, that was considered as an expensive operation and ruled out. Do you think documenting this better helps? Also, this problem will go away as soon as we move to SCL for Python 3.3. - Mrunal
The python 3.3 cartridge is an experimental community cartridge. This issue will be fixed when we move to using SCL for python 3.3 https://trello.com/c/C3gRDVv2/265-python-3-3-cartridge-from-scl-cart-future