2014-03-06 76 views
0

我按照這個教程https://github.com/joskid/openshift-diy-py27-django-jenkins和一切都去了,直到我上傳項目openshift詹金斯生成失敗,當我瀏覽應用程序的URL它顯示服務不可用。我不確定發生了什麼,以及如何解決這個問題。 這是生成日誌Django On Openshift DYI Cartridge

 Started by user Jenkins Admin 
    Building remotely on mysitebldr in workspace /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/repo 
    Checkout:repo//var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/repo - [email protected]:mysitebldr 
    Using strategy: Default 
    Last Built Revision: Revision 31a96e01750490afe87bebc10e9372dcff40100c (origin/HEAD, origin/master) 
    Checkout:repo//var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/repo - [email protected] 
    Wiping out workspace first. 
    Cloning the remote Git repository 
    Cloning repository origin 
    Fetching upstream changes from ssh://[email protected]/~/git/mysite.git 
    Seen branch in repository origin/HEAD 
    Seen branch in repository origin/master 
    Commencing build of Revision 31a96e01750490afe87bebc10e9372dcff40100c (origin/HEAD, origin/master) 
    Checking out Revision 31a96e01750490afe87bebc10e9372dcff40100c (origin/HEAD, origin/master) 
    Warning : There are multiple branch changesets here 
    [repo] $ /bin/sh -xe /tmp/hudson7814626151945851430.sh 
    + source /usr/lib/openshift/cartridge_sdk/bash/sdk 
    ++ '[' false == true ']' 
    ++ OO_BASH_SDK=true 
    + alias 'rsync=rsync --delete-after -az -e '\''/usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh'\''' 
    + [email protected] 
    + rm -f /var/lib/openshift/5317c6ee50044663e000036a//app-deployments/current/metadata.json 
    + marker_present force_clean_build 
    + '[' -f /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/repo//.openshift/markers/force_clean_build ']' 
    + set +e 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh '[email protected]:$OPENSHIFT_BUILD_DEPENDENCIES_DIR' /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/build-dependencies/ 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh '[email protected]:$OPENSHIFT_DEPENDENCIES_DIR' /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/dependencies/ 
    + set -e 
    + gear build 
    Building git ref 'origin/HEAD', commit 31a96e0 
    + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh [email protected] 'gear stop --conditional --exclude-web-proxy --git-ref 31a96e01750490afe87bebc10e9372dcff40100c' 
    Stopping gear... 
    Stopping DIY cartridge 
    ++ /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh [email protected] 'gear create-deployment-dir' 
    + deployment_dir=2014-03-05_20-05-48.837 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/5317c6ee50044663e000036a//app-deployments/current/metadata.json [email protected]:app-deployments/2014-03-05_20-05-48.837/metadata.json 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh --exclude .git /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/repo/ [email protected]:app-root/runtime/repo/ 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/build-dependencies/ [email protected]:app-root/runtime/build-dependencies/ 
    + rsync --delete-after -az -e /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh /var/lib/openshift/5317c6ee50044663e000036a/app-root/runtime/dependencies/ [email protected]:app-root/runtime/dependencies/ 
    + /usr/libexec/openshift/cartridges/jenkins/bin/git_ssh_wrapper.sh [email protected] 'gear remotedeploy --deployment-datetime 2014-03-05_20-05-48.837' 
    Preparing build for deployment 
    Deployment id is ad5722d4 
    Activating deployment 
    Starting DIY cartridge 
    bind(): Permission denied [core/socket.c line 759] 
    Error deploying to gear 
    Build step 'Execute shell' marked build as failure 
    Archiving artifacts 
    Finished: FAILURE 

回答

0

它看起來像它有麻煩綁定到套接字。

bind(): Permission denied [core/socket.c line 759]

我尋找到它多一些,但我建議你通知維護人員,這看起來是與車的錯誤。