fix extra decl of ceph in cluster_simple
fix primary_mon var