koolkhel/vitastor:cli-osd-tree-etcd-error
master
load_osd_tree() stored the etcd error, but loop() still called format_tree() which dereferenced the placement tree that was never built, so osd-tree and ls-osd died with SIGSEGV. Return the error instead.