diff --git a/microceph/cmd/microceph/cluster_bootstrap.go b/microceph/cmd/microceph/cluster_bootstrap.go index 5129cc18..43affe8d 100644 --- a/microceph/cmd/microceph/cluster_bootstrap.go +++ b/microceph/cmd/microceph/cluster_bootstrap.go @@ -77,6 +77,11 @@ func (c *cmdClusterBootstrap) Run(cmd *cobra.Command, args []string) error { ctx, cancel := context.WithTimeout(context.Background(), time.Second*60) defer cancel() + err = m.Ready(ctx) + if err != nil { + return fmt.Errorf("fault while waiting for App readiness: %w", err) + } + err = m.NewCluster(ctx, hostname, address, common.EncodeBootstrapConfig(data)) if err != nil { return err