We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdadm is complaining that it has an invalid number of raid devices. Here is the chef stacktrace
Generated at 2012-09-27 22:28:17 +0000 Chef::Exceptions::ShellCommandFailed: mdadm[/dev/md0](volumes::build_raid line 54) had an error: Expected process to exit with [0], but received '2' ---- Begin output of yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 ---- STDOUT: STDERR: mdadm: invalid number of raid devices: 0 ---- End output of yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 ---- Ran yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 returned 2 /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/shell_out.rb:207:in invalid!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/shell_out.rb:193:inerror!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/shell_out.rb:36:in shell_out!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/provider/mdadm.rb:57:inaction_create' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/resource.rb:437:in run_action' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:59:inblock in from_file' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:32:in each' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:32:infrom_file' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in instance_eval' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:infrom_file' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/cookbook_version.rb:578:in load_recipe' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:40:inblock in include_recipe' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in each' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:ininclude_recipe' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:72:in block in load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:69:ineach' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:69:in load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/client.rb:195:insetup_run_context' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/client.rb:159:in run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:239:inblock in run_application' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:229:in loop' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:229:inrun_application' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application.rb:67:in run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/bin/chef-client:26:in<top (required)>' /usr/bin/chef-client:19:in `load'
invalid!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/shell_out.rb:193:in
shell_out!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/provider/mdadm.rb:57:in
run_action' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:59:in
each' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:32:in
instance_eval' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in
load_recipe' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:40:in
each' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in
block in load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:69:in
load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/client.rb:195:in
run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:239:in
loop' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:229:in
run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/bin/chef-client:26:in
I've pushed the tonia cluster definition into infochimps-homebase. commit 2ef44dbb07f9f93bfcbb3bf161d60d954cb6bd9d.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
mdadm is complaining that it has an invalid number of raid devices. Here is the chef stacktrace
Generated at 2012-09-27 22:28:17 +0000
Chef::Exceptions::ShellCommandFailed: mdadm[/dev/md0](volumes::build_raid line 54) had an error: Expected process to exit with [0], but received '2'
---- Begin output of yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 ----
STDOUT:
STDERR: mdadm: invalid number of raid devices: 0
---- End output of yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 ----
Ran yes | mdadm --create /dev/md0 --chunk=16 --level 0 --raid-devices 0 returned 2
/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/shell_out.rb:207:in
invalid!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/shell_out.rb:193:in
error!'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/shell_out.rb:36:in
shell_out!' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/provider/mdadm.rb:57:in
action_create'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/resource.rb:437:in
run_action' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:59:in
block in from_file'/var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:32:in
each' /var/chef/cache/cookbooks/volumes/recipes/build_raid.rb:32:in
from_file'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in
instance_eval' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/from_file.rb:30:in
from_file'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/cookbook_version.rb:578:in
load_recipe' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:40:in
block in include_recipe'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in
each' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/mixin/language_include_recipe.rb:27:in
include_recipe'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:72:in
block in load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:69:in
each'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/run_context.rb:69:in
load' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/client.rb:195:in
setup_run_context'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/client.rb:159:in
run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:239:in
block in run_application'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:229:in
loop' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application/client.rb:229:in
run_application'/usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/lib/chef/application.rb:67:in
run' /usr/lib/ruby/gems/1.9.2-p290/gems/chef-0.10.4/bin/chef-client:26:in
<top (required)>'/usr/bin/chef-client:19:in `load'
I've pushed the tonia cluster definition into infochimps-homebase. commit 2ef44dbb07f9f93bfcbb3bf161d60d954cb6bd9d.
The text was updated successfully, but these errors were encountered: