Displaying 6 results from an estimated 6 matches for "wait_for_xapi".
2012 Jul 12
2
Bug#681343: xcp-xapi: wait_for_xapi() function in init.d script does not work
Package: xcp-xapi
Version: 1.3.2-9
Severity: normal
Function wait_for_xapi in /etc/init.d/xcp-xapi does not work as intented.
Symptoms:
(on slave)
/etc/init.d/xcp-xapi restart
[....] Restarting The XenAPI server: xapiThe host toolstack is still initialising. Please wait.
Cause:
Line 'xe pif-scan host-uuid=${INSTALLATION_UUID}' called before xapi is fully synced...
2012 Jan 10
2
Bug#655302: xcp-xapi: init script will slow down boot process
...-xapi
Version: 1.3-15
Severity: wishlist
The current initscript has the possibility of slowing down the boot process by 50 seconds. If this is required, it probably
should be backgrounded.
# Wait for xapi to write its "init complete" cookie: after here it's safe to modify templates.
wait_for_xapi() {
MAX_RETRIES=50
RETRY=0
while [ ${RETRY} -lt ${MAX_RETRIES} ]; do
if [ -e ${XAPI_STARTUP_COOKIE} ]; then
return 0
fi
sleep 1
RETRY=$(( ${RETRY} + 1 ))
done
return 1
}
-- System Information:
Debian Release: wheezy/sid
APT prefer...
2012 Jul 07
1
Bug#680588: xcp-xapi: startup race condition between xcp-xapi and xcp-networkd on slave
...lsb/init-functions
if [ "${TOOLSTACK}" != "xapi" ]; then
log_failure_msg "Xen toolstack is not set to xapi! Exiting."
exit 0
fi
if [ -f /var/run/xend.pid ]; then
log_failure_msg "/var/run/xend.pid exists; ${NAME} conflicts with xend"
exit 1
fi
wait_for_xapi() {
MAX_RETRIES=50
RETRY=0
while [ ${RETRY} -lt ${MAX_RETRIES} ]; do
if [ -e ${XAPI_STARTUP_COOKIE} ]; then
return 0
fi
sleep 1
RETRY=$(( ${RETRY} + 1 ))
done
return 1
}
do_start()
{
# Return
# 0 if daemon has been started
# 1 i...
2012 Jul 06
4
Bug#680528: xcp-xapi: /etc/init.d/xendomains cause xapi to hand during boot
...lsb/init-functions
if [ "${TOOLSTACK}" != "xapi" ]; then
log_failure_msg "Xen toolstack is not set to xapi! Exiting."
exit 0
fi
if [ -f /var/run/xend.pid ]; then
log_failure_msg "/var/run/xend.pid exists; ${NAME} conflicts with xend"
exit 1
fi
wait_for_xapi() {
MAX_RETRIES=50
RETRY=0
while [ ${RETRY} -lt ${MAX_RETRIES} ]; do
if [ -e ${XAPI_STARTUP_COOKIE} ]; then
return 0
fi
sleep 1
RETRY=$(( ${RETRY} + 1 ))
done
return 1
}
do_start()
{
# Return
# 0 if daemon has been started
# 1 i...
2012 Nov 18
0
xen-api_1.3.2-13_amd64.changes ACCEPTED into unstable
...xcp-v6d - Xen Cloud Platform - feature daemon
xcp-xapi - Xen Cloud Platform - XenAPI server
xcp-xapi-debug - Xen Cloud Platform - debugging tools
xcp-xe - Xen Cloud Platform - command-line utilities
Closes: 681343 688961
Changes:
xen-api (1.3.2-13) unstable; urgency=low
.
* Fixes: wait_for_xapi() function in init.d script doesn't work on slave
hosts (Closes: #681343), thanks to George Shuklin <george.shuklin at gmail.com>
for the report and patch.
* Fixes: scripts/set-hostname was designed for CentOS, this has been patched
to fix this (Closes: #688961).
Checksums-Sha...
2012 Nov 04
2
Last round of XCP bug squashing in Debian Wheezy, before the release
...682122, #682120).
After 10 days without new open bug on these issues, I will ask for such
an unblock. I'm particularly happy that #682202 can be closed.
2/ Fixed stuff for future 1.3.2-13
In the mean time, I've been trying to work on version 1.3.2-13. I have
already fixed these:
* Fixes: wait_for_xapi() function in init.d script doesn't work on slave
hosts (Closes: #681343), thanks to George Shuklin
<george.shuklin at gmail.com> for the report and patch.
* Fixes: scripts/set-hostname was designed for CentOS, this has been
patched to fix this (Closes: #688961).
3/ scripts/xe-reset-netw...