Hello all

I am trying to bring a DevCloud setup which has an XCP Kronos based XAPI 
daemon. I had changed the underlying network implementation (it is not a 
bridge, but an openvswitch-like network implementation) and the XAPI daemon 
crashes during bootup. Please find the XAPI logs below. 


starting up database engine D:72969b3eaf8e|redo_log] Flushing database to all 
active redo-logs
starting up database engine D:72969b3eaf8e|xapi] About to flush database: 
/var/lib/xcp/state.db
starting up database engine D:72969b3eaf8e|redo_log] Flushing database to all 
active redo-logs
starting up database engine D:72969b3eaf8e|xapi] Performing initial DB GC
thread_zero|dbsync (update_env) D:fd0aec7399c9|dbsync] Sync: 
sync_create_localhost
dbsync (update_env) D:fd0aec7399c9|dbsync] creating localhost

dmesg logs seem to suggest that xapi is crashing during startup.

[    9.092377] xapi[2813]: segfault at 0 ip 085bc286 sp bf80ae30 error 4 in 
xapi[8048000+59f000]
[    9.869971] xapi[2943]: segfault at 0 ip 085bc286 sp bf8ec450 error 4 in 
xapi[8048000+59f000]

I looked the XAPI code to see where it fails and I don't see any logs after the 
following code point in ocaml / xapi / dbsync_slave.ml

let create_localhost ~__context info =
  let ip = get_my_ip_addr ~__context in

I confirmed to see that "ifconfig xenbr0" has a valid management IP address and 
should not fail. 

How do I debug this crash further. Are there any ways to look at the stack 
trace where XAPI crashed. Any pointers to debug this further will be very 
helpful.

-Ranjeet


_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to