Bug 966466
Summary: | An error occurred executing 'gear postreceive' when git push for binhello/OSQA/redmine/django/ogm/BookMarks/owncloud/reviewboard/liferay quickstarts | ||
---|---|---|---|
Product: | OpenShift Online | Reporter: | Wei Sun <wsun> |
Component: | Containers | Assignee: | Dan McPherson <dmcphers> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | dmace, dmcphers, mpatel, qcong, wjiang, xtian |
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: | 2013-06-11 04:09:30 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
Wei Sun
2013-05-23 10:23:56 UTC
I tried to create a django app on devenv_3277 via web console, got error message as follow: The initial build for the application failed. Last 10 kB of build output: Stopping PYTHON cart httpd (no pid file) not running setup.py found. Setting up virtualenv New python executable in /var/lib/openshift/334578959237506857435136/python//virtenv/bin/python Installing setuptools............done. Installing pip...............done. running develop running egg_info creating YourAppName.egg-info writing requirements to YourAppName.egg-info/requires.txt writing YourAppName.egg-info/PKG-INFO writing top-level names to YourAppName.egg-info/top_level.txt writing dependency_links to YourAppName.egg-info/dependency_links.txt writing requirements to YourAppName.egg-info/requires.txt writing YourAppName.egg-info/PKG-INFO writing top-level names to YourAppName.egg-info/top_level.txt writing dependency_links to YourAppName.egg-info/dependency_links.txt writing manifest file 'YourAppName.egg-info/SOURCES.txt' warning: manifest_maker: standard file 'setup.py' not found reading manifest file 'YourAppName.egg-info/SOURCES.txt' writing manifest file 'YourAppName.egg-info/SOURCES.txt' running build_ext Creating /var/lib/openshift/334578959237506857435136/python/virtenv/lib/python2.6/site-packages/YourAppName.egg-link (link to .) Adding YourAppName 1.0 to easy-install.pth file Installed /var/lib/openshift/334578959237506857435136/python/virtenv Processing dependencies for YourAppName==1.0 Searching for Django<=1.4 Reading http://mirror1.ops.rhcloud.com/mirror/python/web/simple/Django/ Best match: Django 1.4 Downloading http://mirror1.ops.rhcloud.com/mirror/python/web/packages/source/D/Django/Django-1.4.tar.gz#md5=ba8e86198a93c196015df0b363ab1109 Processing Django-1.4.tar.gz Running Django-1.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5yMnEq/Django-1.4/egg-dist-tmp-kGnuOE zip_safe flag not set; analyzing archive contents... django.test._doctest: module references __file__ django.test._doctest: module MAY be using inspect.getsourcefile django.utils.version: module references __path__ django.utils.module_loading: module references __path__ django.utils.autoreload: module references __file__ django.utils.unittest.loader: module references __file__ django.utils.unittest.collector: module references __file__ django.utils.translation.trans_real: module references __file__ django.utils.translation.__init__: module references __file__ django.views.i18n: module references __file__ django.contrib.flatpages.tests.views: module references __file__ django.contrib.flatpages.tests.middleware: module references __file__ django.contrib.flatpages.tests.csrf: module references __file__ django.contrib.flatpages.tests.templatetags: module references __file__ django.contrib.gis.tests.geogapp.tests: module references __file__ django.contrib.gis.tests.layermap.tests: module references __file__ django.contrib.gis.tests.geo3d.tests: module references __file__ django.contrib.gis.geometry.test_data: module references __file__ django.contrib.admindocs.views: module references __file__ django.contrib.auth.tests.context_processors: module references __file__ django.contrib.auth.tests.views: module references __file__ django.contrib.auth.tests.forms: module references __file__ django.contrib.staticfiles.storage: module references __file__ django.contrib.formtools.tests.__init__: module references __file__ django.contrib.formtools.tests.wizard.namedwizardtests.tests: module references __file__ django.contrib.formtools.tests.wizard.wizardtests.tests: module references __file__ django.contrib.sitemaps.tests.base: module references __file__ django.core.management.templates: module references __path__ django.core.management.sql: module references __file__ django.core.management.__init__: module references __file__ django.core.management.__init__: module references __path__ django.core.management.commands.makemessages: module references __file__ django.core.management.commands.loaddata: module references __file__ django.core.management.commands.loaddata: module references __path__ django.core.servers.basehttp: module references __path__ django.db.utils: module references __file__ django.db.models.loading: module references __file__ django.template.loaders.app_directories: module references __file__ Adding Django 1.4 to easy-install.pth file Installing django-admin.py script to /var/lib/openshift/334578959237506857435136/python/virtenv/bin Installed /var/lib/openshift/334578959237506857435136/python/virtenv/lib/python2.6/site-packages/Django-1.4-py2.6.egg Finished processing dependencies for YourAppName==1.0 Script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/activate.csh cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/334578959237506857435136/python/virtenv/bin/python) Making script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/pip-2.6 relative Making script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/easy_install-2.6 relative Script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/activate.fish cannot be made relative (it's not a normal script that starts with #!/var/lib/openshift/334578959237506857435136/python/virtenv/bin/python) Making script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/pip relative Making script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/easy_install relative Making script /var/lib/openshift/334578959237506857435136/python//virtenv/bin/django-admin.py relative New python executable in /var/lib/openshift/334578959237506857435136/python//virtenv/bin/python Installing setuptools.............done. Installing pip...............done. /var/lib/openshift/334578959237506857435136/app-root/runtime/repo/.openshift/action_hooks/deploy: line 8: /var/lib/openshift/334578959237506857435136//python-2.6/virtenv/bin/activate: No such file or directory Copying /var/lib/openshift/334578959237506857435136/app-root/runtime/repo//wsgi/openshift/sqlite3.db to /var/lib/openshift/33457895 9237506857435136/app-root/data/ Django application credentials: user: admin QbZWjcQHAKWa Executing 'python /var/lib/openshift/334578959237506857435136/app-root/runtime/repo//wsgi/openshift/manage.py collectstatic --noinput' Traceback (most recent call last): File "/var/lib/openshift/334578959237506857435136/app-root/runtime/repo/wsgi/openshift/manage.py", line 2, in <module> from django.core.management import execute_manager ImportError: No module named django.core.management An error occurred executing 'gear postreceive' For more details about the problem, try running the command again with the '--trace' option. when I debugged this case "Ruby / Rails Framework Support ruby-1.8" met with "An error occurred executing 'gear postreceive'" as well. when I debugged this case "check jenkins functionality upon failed build [perl]" met with "An error occurred executing 'gear postreceive'" as well. when I debugged this case "rhc-cartridge]check jenkins functionality upon failed build [php]" met with "An error occurred executing 'gear postreceive'" as well. when I debugged this case "rhc-cartridge]check jenkins functionality upon failed build [python]" met with "An error occurred executing 'gear postreceive'" as well I didn't hit an issue with https://github.com/openshift/openshift-diy-binhello-demo Mrunal, I am taking this bug back but you can keep looking at the python ones. Pushed a fix for Django. Pushed fix for https://github.com/openshift/OSQA-openshift-quickstart Pushed fix for https://github.com/openshift/reviewboard-example Pushed fix for https://github.com/openshift/BookMarks-openshift-quickstart Pushed fix for https://github.com/openshift/openshift-ogm-quickstart/ Pushed fix for https://github.com/openshift/owncloud-openshift-quickstart/ I have removed https://github.com/openshift/jbossas7-liferay-quickstart and we will no longer be supporting it. Redmine fixed in: https://github.com/openshift/origin-server/pull/2665 plus changes to the redmine quickstart. Once that request merges everything should be available to test. Verified on devenv_3282 . Check binhello/OSQA/redmine/django/ogm/BookMarks/owncloud/reviewboard quickstarts,can git push successfully. |