Hi,
I finally have a fc12 node partially working.
I still have to override the kargs runtime_mode in ovirt-early (I want
"ovirt"
runtime mode):
368 runtime_mode*)
369 OVIRT_RUNTIME_MODE=${i#runtime_mode=}
370 #runtime_mode=${i#runtime_mode=}
371 ;;
And I have to set manually the the broker for qpid :
service libvirt-qpid stop
(export QPID_TRACE=1)
libvirt-qpid --broker "ovirt_url"
The problem seems to come from /etc/init.d/ovirt :
/etc/krb5.conf, /etc/sysconfig/matahari are missing and /etc/sysconfig/libvirt-
qpid is not configured.
--
Arthur CLEMENT
Linagora Paris
I think I found the source of the missing conf. The find_srv function from
ovirt-funtions does not find the server (and the bug is already ack in comments
!)
The dig command doesn't return anything when I tested it on my node.
find_srv()
{
local dnsreply
local domain=$(dnsdomainname 2>/dev/null)
if [ "$domain" = "localdomain" ]; then
domain=""
fi
# FIXME dig +search does not seem to work with -t srv
# dnsreply=$(dig +short +search -t srv _$1._$2)
# This is workaround:
local search=$(grep search /etc/resolv.conf)
search=${search#search }
for d in $domain $search; do
dnsreply=$(dig +short -t srv _$1._$2.$d)
rc=$?
if [ $rc -eq 0 ]; then
set _ $dnsreply; shift
SRV_HOST=$4; SRV_PORT=$3
return 0
fi
done
SRV_HOST=; SRV_PORT return 1
}
--
Arthur CLEMENT
Linagora Paris
Reasonably Related Threads
- [PATCH node] Add support for automatic remote logging on PXE ovirt-node
- [PATCH node] correctly use collectd udp dns entry
- RFC: First pass at making the node generic...
- [PATCH: node 0/3] replace ovirt-identify-node with matahari
- [PATCH: ovirt-identify-node replacement 0/4] ovirt node patch to replace ovirt-identify-node with matahari qmf agent