Dear ceph-users,

I've started to play with Ceph deployment based on Chef CookBooks
found at https://github.com/ceph/ceph-cookbooks

I tried to follow
http://eu.ceph.com/docs/wip-msgauth/config-cluster/chef/

and now my configuration process hangs at command
ceph auth get-key client.bootstrap-osd

inside block
# The key is going to be automatically
# created,
# We store it when it is created
ruby_block "get osd-bootstrap keyring" do
  block do
    run_out = ""
    while run_out.empty?
run_out = Mixlib::ShellOut.new("ceph auth get-key client.bootstrap-osd").run_command.stdout.strip
      sleep 2
    end
    node.override['ceph']['bootstrap_osd_key'] = run_out
    node.save
  end
  not_if { node['ceph']['bootstrap_osd_key'] }
end

in ceph-cookbooks/recipes/mon.rb

my Chef environment config is
{"defaults":
{"ceph":
{"monitor-secret":"AQBvZc1RUETnHxAAsAukDiFFnuFCKpqmuMhcNA==",
        "config":
{"fsid":"423b1e92-c631-420e-bad7-318a5558c28d",
"mon_initial_members":"{165.225.156.49}"
    }
    }
    },
    "overrides":{}
}

I had to use IP address because we still do not have DNS at our cloud dev servers

And I've added next to the runList of the same host
- recipe[ceph::apt]
- role[ceph-mon]
- role[ceph-osd]
- role[ceph-mds]

I have the same situation if I rerun chef-client. But for a first time deployment failed at prev command ceph --admin-daemon '/var/run/ceph/ceph-mon.#{node['hostname']}.asok' add_bootstrap_peer_hint #{addr}"

Any advices what to check or any advices how to increase logging level to get better understanding ?

Thank you,
Illya
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to