Hey All,
Having a crack at installing Ceph with Chef. Running into an issue after
following the guides.
Get the following error when I run the initial sudo chef-client on the nodes.
[2013-11-14T10:02:55+08:00] ERROR: Running exception handlers
[2013-11-14T10:02:55+08:00] ERROR: Exception handlers complete
[2013-11-14T10:02:55+08:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
Chef Client failed. 1 resources updated
[2013-11-14T10:02:55+08:00] ERROR: execute[ceph-mon mkfs] (ceph::mon line 56)
had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit
with [0], but received '10'
---- Begin output of ceph-mon --mkfs -i s1osd1 --keyring
'/var/chef/cache/ceph-s1osd1.mon.keyring' ----
STDOUT: ceph-mon: renaming mon.noname-a 192.168.70.102:6789/0 to mon.s1osd1
STDERR: ceph-mon: generated monmap has no fsid; use '--fsid <uuid>'
---- End output of ceph-mon --mkfs -i s1osd1 --keyring
'/var/chef/cache/ceph-s1osd1.mon.keyring' ----
Ran ceph-mon --mkfs -i s1osd1 --keyring
'/var/chef/cache/ceph-s1osd1.mon.keyring' returned 10
[2013-11-14T10:02:55+08:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef
run process exited unsuccessfully (exit code 1)
Here's my Chef Environment JSON
{
"name": "Ceph",
"description": "Cnidus' Test Ceph Lab",
"cookbook_versions": {
},
"json_class": "Chef::Environment",
"chef_type": "environment",
"default_attributes": {
"ceph": {
"monitor-secret": "{QCcAoRScGibGBAAacaZfPuwSIaGDMrdk8d/Ng==}",
"config": {
"fsid": "{5e3cccba-7da2-42a4-887b-a026a3809dfe}",
"mon_initial_members": "{s1osd1,s1osd2,s1osd3}",
"global": {
"public network": "192.168.70.0/24",
"cluster network": "192.168.70.0/24"
},
"osd": {
"osd journal size": "1000"
}
}
}
},
"override_attributes": {
}
Any ideas?
Cheers,
Doug Youd
________________________________
ZettaServe Disclaimer: This email and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately if you have received this email by mistake and delete this email
from your system. Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
ZettaServe Pty Ltd accepts no liability for any damage caused by any virus
transmitted by this email.
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com