Bug 962627
Summary: | Can't git push python-2.7 application successfully after migrate it from v1 to v2 | ||
---|---|---|---|
Product: | OKD | Reporter: | Rony Gong 🔥 <qgong> |
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: | chunchen |
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 03:56:56 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
Rony Gong 🔥
2013-05-14 05:32:48 UTC
Fixed in devenv_3228+ reassigned on migration to devenv_3232 [root@dhcp-8-119 qpython27]# gitpush [master 5876d9a] update Committer: root <root.redhat.com> Your name and email address were configured automatically based on your username and hostname. Please check that they are accurate. You can suppress this message by setting them explicitly: git config --global user.name "Your Name" git config --global user.email you If the identity used for this commit is wrong, you can fix it with: git commit --amend --author='Your Name <you>' 1 files changed, 1 insertions(+), 1 deletions(-) Counting objects: 7, done. Delta compression using up to 8 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 374 bytes, done. Total 4 (delta 2), reused 0 (delta 0) remote: /var/lib/openshift/51943db507b36a0a3f000001/10gen-mms-agent/bin/control: line 54: kill: (3008) - No such process remote: An error occured executing the 'prereceive' command. For more details about the problem, try running the command again with the '--trace' option. To ssh://51943db507b36a0a3f000001.rhcloud.com/~/git/qpython27.git/ ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'ssh://51943db507b36a0a3f000001.rhcloud.com/~/git/qpython27.git/' Commet2 issue is only happened for non_scalable python-2.7 application, scalable application works well for git push after migration. Looks like the failure was in stopping 10gen-mms-agent. Was that embedded into the python app before migration? Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/8ee69d4d1f89bf38b016577a956979274c8fe500 Bug 962627 (In reply to comment #4) > Looks like the failure was in stopping 10gen-mms-agent. Was that embedded > into the python app before migration? Yes, 10gen-mms-agent was embed into the python app before migration. It's fixed, verified on upgrading devenv-stage_353 to devenv_3235, please refer to the following results: [root test]# rhc git-clone cpython27cronmms Cloning into 'cpython27cronmms'... Warning: Permanently added 'cpython27cronmms-cdmm.dev.rhcloud.com' (RSA) to the list of known hosts. Your application code is now in 'cpython27cronmms' [root test]# cd cpython27cronmms [root cpython27cronmms]# echo testdata>ctest.txt [root cpython27cronmms]# git add .; git commit -amp ; git push [master 81778e2] p 1 file changed, 1 insertion(+) create mode 100644 ctest.txt Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 272 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: CLIENT_RESULT: Stopping CRON cart remote: [Fri May 17 03:06:15 2013] [warn] module php5_module is already loaded, skipping remote: Waiting for stop to finish remote: /var/lib/openshift/5195b81e196c200884000004/10gen-mms-agent/bin/control: line 54: kill: (4352) - No such process remote: The 10-gen-mms-agent is already stopped! remote: python-2.7 application is already stopped! remote: CLIENT_RESULT: Stopping CRON cart remote: CLIENT_RESULT: cron scheduling service is already disabled remote: [Fri May 17 03:06:20 2013] [warn] module php5_module is already loaded, skipping remote: httpd (no pid file) not running remote: CLIENT_RESULT: MongoDB already stopped remote: [Fri May 17 03:06:34 2013] [warn] module php5_module is already loaded, skipping remote: Starting WSGIServer on 127.0.253.129:8080 ... remote: python-2.7 application is already running remote: [Fri May 17 03:06:44 2013] [warn] module php5_module is already loaded, skipping remote: httpd (pid 31527) already running remote: CLIENT_RESULT: MongoDB already running remote: CLIENT_RESULT: Starting CRON cart remote: CLIENT_RESULT: Starting CRON cart remote: CLIENT_RESULT: cron scheduling service is already enabled To ssh://5195b81e196c200884000004.rhcloud.com/~/git/cpython27cronmms.git/ 4a6d463..81778e2 master -> master [root cpython27cronmms]# rhc app ssh Connecting to 5195b81e196c200884000004.rhcloud.com ... bash: export: `repo"': not a valid identifier bash: export: `"node_modules"': not a valid identifier bash: export: `"../.m2"': not a valid identifier bash: export: `".openshift"': not a valid identifier bash: export: `"deployments"': not a valid identifier bash: export: `"perl5lib"': not a valid identifier bash: export: `"phplib"': not a valid identifier bash: export: `)': not a valid identifier ********************************************************************* You are accessing a service that is for use only by authorized users. If you do not have authorization, discontinue use at once. Any use of the services is subject to the applicable terms of the agreement which can be found at: https://www.openshift.com/legal ********************************************************************* Welcome to OpenShift shell This shell will assist you in managing OpenShift applications. !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Shell access is quite powerful and it is possible for you to accidentally damage your application. Proceed with care! If worse comes to worst, destroy your application with 'rhc app delete' and recreate it !!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!! Type "help" for more info. Note: Your application supports version 2 cartridges. [cpython27cronmms-cdmm.dev.rhcloud.com 5195b81e196c200884000004]\> ls -l app-root/runtime/repo/ctest.txt -rw-r--r--. 1 5195b81e196c200884000004 5195b81e196c200884000004 9 May 17 03:04 app-root/runtime/repo/ctest.txt |