Make /etc/xcp if necessary

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Make xapi more resiliant to missing config files

Signed-off-by: Jon Ludlam <jonathan.ludlam@eu.citrix.com>
Avoid calling the mail-alarm script if it doesn't exist.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Remove assert()s which are supposed to trigger and are ignored; actually log when an error occurs.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Log a sensible error message if the pool.conf can't be read.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
Restore compatibility with OCaml 4.00.1

Signed-off-by: David Scott <dave.scott@citrix.com>
Use xcp-inventory rather than built-in inventory parser.

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #1662 from djs55/from-xenserver-core-nobrainers

xenserver-core: Simple robustness improvements