On my local obs server, the 1.7b2. have above 'problem' also, but when i add a echo debug in the /etc/init.d/obsworker as following: ---------------------------- 131 pushd "$workerbootdir" 132 echo "curl -q "${OBS_WORKER_PARM}"/getworkercode | cpio --extract" 133 curl -q "${OBS_WORKER_PARM}"/getworkercode | cpio -- extract 134 ln -s . XML ================================== after exec curl command manually, I've found that the curl have a mistake. because the /etc/sysconfig/obs-worker have a differant configure: ----------------------------------- # grep -v ^# /etc/sysconfig/obs-worker|sed -e '/^$/d' OBS_SRC_SERVER="172.16.70.33:5352" OBS_REPO_SERVERS="172.16.70.33:5252" OBS_WORKER_INSTANCES="6" OBS_WORKER_DIRECTORY="/data/abuild" OBS_WORKER_PORTBASE="0" OBS_WORKER_JOBS="1" OBS_WORKER_TEST_MODE="" OBS_RUN_DIR="" OBS_LOG_DIR="" OBS_USE_SLP="yes" OBS_CACHE_DIR="" OBS_CACHE_SIZE="" =================== 5352 and 5252, not 6362 and 6262! because the BSConfig.pm: ----------------------- # grep '^[^#].*$.*server' /usr/lib/obs/server/BSConfig.pm our $srcserver = "http://$hostname:5352"; our $reposerver = "http://$hostname:5252"; ========================================== Maybe it could help you! ;-) Jon Nelson <jnelson-suse@jamponi.net> write:
Yay! on 1.7b3
Unfortunately, I ran into some issues. The obsworker no longer starts:
rcobsworker start
Run 2 obsworker using /srv/obs/tmp/build /var/run/obs/worker/boot ~ cpio: premature end of archive chmod: cannot access `bs_worker': No such file or directory ~ /var/run/obs/worker/boot ~
When I use "bash -x /etc/init.d/obsworker start" to see what's going on:
+ '[' -d /var/run/obs/worker/boot ']' + pushd /var/run/obs/worker/boot /var/run/obs/worker/boot ~ + curl -s /getworkercode + cpio --quiet --extract cpio: premature end of archive + ln -s . XML + chmod 755 bs_worker chmod: cannot access `bs_worker': No such file or directory + popd ~
The script looks like it could use some error checking, too (or set -e).
I don't see where WORKER_CODE is ever set.
---- Jian Lee [ http://jianlee.ylinux.org ] -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org