CA-56957: Make synchronising bonds on startup more synchronous
CA-56957: Make synchronising bonds on startup more synchronous

A Bond.create call that may be part of the "Synchronising bonds
on slave with master" startup task could continue even when the
task itself thought it stopped with an exception. We are now using
Xapi_bond.create directly rather than using an API call,
so that everything happens in the same thread.

Signed-off-by: Rob Hoes <8783b3376fb07d39edffc8d7da68a6de3874a7e6@citrix.com>

koushikcgit/xen-api,salvocambria/xen-api,guard163/xen-api,djs55/xen-api,cheng--zhang/xen-api,djs55/xen-api,ravippandey/xen-api,salvocambria/xen-api,Frezzle/xen-api,Frezzle/xen-api,cheng--zhang/xen-api,srowe/xen-api,guard163/xen-api,thomassa/xen-api,cheng-z/xen-api,vasilenkomike/xen-api,jjd27/xen-api,ravippandey/xen-api,agimofcarmen/xen-api,ravippandey/xen-api,guard163/xen-api,cheng--zhang/xen-api,koushikcgit/xen-api,euanh/xen-api,ravippandey/xen-api,koushikcgit/xen-api,rafalmiel/xen-api,djs55/xen-api,huizh/xen-api,anoobs/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,huizh/xen-api,salvocambria/xen-api,rafalmiel/xen-api,vasilenkomike/xen-api,rafalmiel/xen-api,guard163/xen-api,agimofcarmen/xen-api,rafalmiel/xen-api,cheng-z/xen-api,huizh/xen-api,euanh/xen-api,anoobs/xen-api,Frezzle/xen-api,guard163/xen-api,srowe/xen-api,rafalmiel/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,thomassa/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,vasilenkomike/xen-api,robertbreker/xen-api,ravippandey/xen-api,euanh/xen-api,cheng-z/xen-api,jjd27/xen-api,robertbreker/xen-api,simonjbeaumont/xen-api,cheng--zhang/xen-api,djs55/xen-api,vasilenkomike/xen-api,koushikcgit/xen-api,euanh/xen-api,srowe/xen-api,salvocambria/xen-api,anoobs/xen-api,koushikcgit/xen-api,agimofcarmen/xen-api,jjd27/xen-api,guard163/xen-api,huizh/xen-api,jjd27/xen-api,euanh/xen-api,agimofcarmen/xen-api,anoobs/xen-api,simonjbeaumont/xen-api,salvocambria/xen-api,rafalmiel/xen-api,cheng-z/xen-api,djs55/xen-api,koushikcgit/xen-api,huizh/xen-api,euanh/xen-api,anoobs/xen-api,cheng--zhang/xen-api,jjd27/xen-api,simonjbeaumont/xen-api,thomassa/xen-api,agimofcarmen/xen-api,srowe/xen-api,Frezzle/xen-api,robertbreker/xen-api,robertbreker/xen-api,ravippandey/xen-api,robertbreker/xen-api,djs55/xen-api,cheng--zhang/xen-api,salvocambria/xen-api,jjd27/xen-api,cheng-z/xen-api,srowe/xen-api,vasilenkomike/xen-api,cheng-z/xen-api,cheng-z/xen-api,thomassa/xen-api,cheng--zhang/xen-api,thomassa/xen-api,huizh/xen-api,vasilenkomike/xen-api