[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Openshift Origin cant create a django project via quickstart





Hi all,
when I want to create a django project via quickstart, it spends more than three minutes and finally the app create fail.
In web-console or REST, it will return "Unable to complete the requested operation due to: The server node.example.com that your application is running on failed to respond in time. This may be due to a system restart.. Reference ID: 301b86091eebca4495f0cc70cf6ea814"

and I can see some ERROR message in /var/log/mcollective.log:
##############################################################
 :action="">  :args=>
  {"--with-app-uuid"=>"531872eb6892df5fc30000e0",
   "--with-app-name"=>"py",
   "--with-container-uuid"=>"531872eb6892df5fc30000e0",
   "--with-container-name"=>"py",
   "--with-namespace"=>"test",
   "--with-request-id"=>"301b86091eebca4495f0cc70cf6ea814",
   "--cart-name"=>"openshift-origin-node"},
 :process_results=>true}

I, [2014-03-06T21:10:18.119773 #5982]  INFO -- : openshift.rb:93:in `cartridge_do_action' cartridge_do_action validation = openshift-origin-node app-destroy {"--with-app-uuid"=>"531872eb6892df5fc30000e0", "--with-app-name"=>"py", "--with-container-uuid"=>"531872eb6892df5fc30000e0", "--with-container-name"=>"py", "--with-namespace"=>"test", "--with-request-id"=>"301b86091eebca4495f0cc70cf6ea814", "--cart-name"=>"openshift-origin-node"}
I, [2014-03-06T21:10:18.120014 #5982]  INFO -- : openshift.rb:134:in `execute_action' Executing action [app-destroy] using method oo_app_destroy with args [{"--with-app-uuid"=>"531872eb6892df5fc30000e0", "--with-app-name"=>"py", "--with-container-uuid"=>"531872eb6892df5fc30000e0", "--with-container-name"=>"py", "--with-namespace"=>"test", "--with-request-id"=>"301b86091eebca4495f0cc70cf6ea814", "--cart-name"=>"openshift-origin-node"}]
E, [2014-03-06T21:10:18.235093 #5982] ERROR -- : openshift.rb:313:in `rescue in with_container_from_args' CLIENT_ERROR: The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 531872eb6892df5fc30000e0 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1001' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=137
CLIENT_ERROR:
CLIENT_ERROR: .Last 10 kB of build output:
CLIENT_ERROR: Stopping PYTHON cart
CLIENT_ERROR: Repairing links for 1 deployments
CLIENT_ERROR: Building git ref 'master', commit 510926c
CLIENT_ERROR: running develop
CLIENT_ERROR: running egg_info
CLIENT_ERROR: creating YourAppName.egg-info
CLIENT_ERROR: writing requirements to YourAppName.egg-info/requires.txt
CLIENT_ERROR: writing YourAppName.egg-info/PKG-INFO
CLIENT_ERROR: writing top-level names to YourAppName.egg-info/top_level.txt
CLIENT_ERROR: writing dependency_links to YourAppName.egg-info/dependency_links.txt
CLIENT_ERROR: writing requirements to YourAppName.egg-info/requires.txt
CLIENT_ERROR: writing YourAppName.egg-info/PKG-INFO
CLIENT_ERROR: writing top-level names to YourAppName.egg-info/top_level.txt
CLIENT_ERROR: writing dependency_links to YourAppName.egg-info/dependency_links.txt
CLIENT_ERROR: writing manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: reading manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: writing manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: running build_ext
CLIENT_ERROR: Creating /var/lib/openshift/531872eb6892df5fc30000e0/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages/YourAppName.egg-link (link to .)
CLIENT_ERROR: Adding YourAppName 1.0 to easy-install.pth file
CLIENT_ERROR:
CLIENT_ERROR: Installed /var/lib/openshift/531872eb6892df5fc30000e0/app-root/runtime/repo
CLIENT_ERROR: Processing dependencies for YourAppName==1.0
CLIENT_ERROR: Searching for Django<=1.4
CLIENT_ERROR: Reading https://pypi.python.org/simple/Django/
CLIENT_ERROR: Best match: Django 1.4
CLIENT_ERROR: Downloading https://pypi.python.org/packages/source/D/Django/Django-1.4.tar.gz#md5=ba8e86198a93c196015df0b363ab1109
E, [2014-03-06T21:10:18.235332 #5982] ERROR -- : openshift.rb:314:in `rescue in with_container_from_args' /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.18.0.1/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:70:in `rescue in post_configure'
/opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.18.0.1/lib/openshift-origin-node/model/application_container_ext/cartridge_actions.rb:41:in `post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:869:in `block in oo_post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:302:in `with_container_from_args'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:868:in `oo_post_configure'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:139:in `execute_action'
/opt/rh/ruby193/root/usr/libexec/mcollective/mcollective/agent/openshift.rb:104:in `cartridge_do_action'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/rpc/agent.rb:86:in `handlemsg'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:126:in `block (2 levels) in dispatch'
/opt/rh/ruby193/root/usr/share/ruby/timeout.rb:69:in `timeout'
/opt/rh/ruby193/root/usr/share/ruby/mcollective/agents.rb:125:in `block in dispatch'
I, [2014-03-06T21:10:18.235509 #5982]  INFO -- : openshift.rb:150:in `execute_action' Finished executing action [post-configure] (1)
I, [2014-03-06T21:10:18.245781 #5982]  INFO -- : openshift.rb:114:in `cartridge_do_action' cartridge_do_action failed (1)
------
CLIENT_ERROR: The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 531872eb6892df5fc30000e0 -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c1001' /bin/sh -c \"gear postreceive --init >> /tmp/initial-build.log 2>&1\""' returned an error. rc=137
CLIENT_ERROR:
CLIENT_ERROR: .Last 10 kB of build output:
CLIENT_ERROR: Stopping PYTHON cart
CLIENT_ERROR: Repairing links for 1 deployments
CLIENT_ERROR: Building git ref 'master', commit 510926c
CLIENT_ERROR: running develop
CLIENT_ERROR: running egg_info
CLIENT_ERROR: creating YourAppName.egg-info
CLIENT_ERROR: writing requirements to YourAppName.egg-info/requires.txt
CLIENT_ERROR: writing YourAppName.egg-info/PKG-INFO
CLIENT_ERROR: writing top-level names to YourAppName.egg-info/top_level.txt
CLIENT_ERROR: writing dependency_links to YourAppName.egg-info/dependency_links.txt
CLIENT_ERROR: writing requirements to YourAppName.egg-info/requires.txt
CLIENT_ERROR: writing YourAppName.egg-info/PKG-INFO
CLIENT_ERROR: writing top-level names to YourAppName.egg-info/top_level.txt
CLIENT_ERROR: writing dependency_links to YourAppName.egg-info/dependency_links.txt
CLIENT_ERROR: writing manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: reading manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: writing manifest file 'YourAppName.egg-info/SOURCES.txt'
CLIENT_ERROR: running build_ext
CLIENT_ERROR: Creating /var/lib/openshift/531872eb6892df5fc30000e0/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages/YourAppName.egg-link (link to .)
CLIENT_ERROR: Adding YourAppName 1.0 to easy-install.pth file
CLIENT_ERROR:
CLIENT_ERROR: Installed /var/lib/openshift/531872eb6892df5fc30000e0/app-root/runtime/repo
CLIENT_ERROR: Processing dependencies for YourAppName==1.0
CLIENT_ERROR: Searching for Django<=1.4
CLIENT_ERROR: Reading https://pypi.python.org/simple/Django/
CLIENT_ERROR: Best match: Django 1.4
CLIENT_ERROR: Downloading https://pypi.python.org/packages/source/D/Django/Django-1.4.tar.gz#md5=ba8e86198a93c196015df0b363ab1109
------)

#######################################################################

Is there some hints to my problem?
Actually, when I first create it succeed. But when I want to create again, I occur these messages all the time.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]