Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mc02.d1.tld:/root # chef-client --once
- [2013-08-13T15:51:26+07:00] INFO: Forking chef instance to converge...
- Starting Chef Client, version 11.6.0
- [2013-08-13T15:51:26+07:00] INFO: *** Chef 11.6.0 ***
- [2013-08-13T15:51:28+07:00] INFO: Run List is [role[ceph-mon]]
- [2013-08-13T15:51:28+07:00] INFO: Run List expands to [ceph::repo, ceph::mon]
- [2013-08-13T15:51:28+07:00] INFO: Starting Chef Run for mc02.d1.tld
- [2013-08-13T15:51:28+07:00] INFO: Running start handlers
- [2013-08-13T15:51:28+07:00] INFO: Start handlers complete.
- resolving cookbooks for run list: ["ceph::repo", "ceph::mon"]
- [2013-08-13T15:51:29+07:00] INFO: Loading cookbooks [apt, ceph]
- Synchronizing Cookbooks:
- - apt
- - ceph
- Compiling Cookbooks...
- Converging 19 resources
- Recipe: apt::default
- * execute[apt-get-update] action run[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22)
- (skipped due to not_if)
- * execute[apt-get update] action nothing[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29)
- (skipped due to action :nothing)
- * execute[apt-get autoremove] action nothing[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36)
- (skipped due to action :nothing)
- * execute[apt-get autoclean] action nothing[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42)
- (skipped due to action :nothing)
- * package[update-notifier-common] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[update-notifier-common] action install (apt::default line 48)
- (up to date)
- * execute[apt-get-update-periodic] action run[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52)
- (skipped due to only_if)
- * directory[/var/cache/local] action create[2013-08-13T15:51:29+07:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62)
- (up to date)
- * directory[/var/cache/local/preseeding] action create[2013-08-13T15:51:29+07:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62)
- (up to date)
- Recipe: ceph::apt
- * apt_repository[ceph-stable] action add[2013-08-13T15:51:29+07:00] INFO: Processing apt_repository[ceph-stable] action add (ceph::apt line 5)
- Recipe: <Dynamically Defined Resource>
- * remote_file[/var/cache/chef/key-ceph.asc] action create[2013-08-13T15:51:29+07:00] INFO: Processing remote_file[/var/cache/chef/key-ceph.asc] action create (/var/cache/chef/cookbooks/apt/providers/repository.rb line 53)
- (up to date)
- * execute[install-key key-ceph.asc] action run[2013-08-13T15:51:29+07:00] INFO: Processing execute[install-key key-ceph.asc] action run (/var/cache/chef/cookbooks/apt/providers/repository.rb line 67)
- (skipped due to not_if)
- * file[/var/lib/apt/periodic/update-success-stamp] action nothing[2013-08-13T15:51:29+07:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/var/cache/chef/cookbooks/apt/providers/repository.rb line 100)
- (skipped due to action :nothing)
- * execute[apt-get update] action nothing[2013-08-13T15:51:29+07:00] INFO: Processing execute[apt-get update] action nothing (/var/cache/chef/cookbooks/apt/providers/repository.rb line 104)
- (skipped due to action :nothing)
- * file[/etc/apt/sources.list.d/ceph-stable.list] action create[2013-08-13T15:51:29+07:00] INFO: Processing file[/etc/apt/sources.list.d/ceph-stable.list] action create (/var/cache/chef/cookbooks/apt/providers/repository.rb line 116)
- (up to date)
- - evaluate block and run any associated actions
- Recipe: ceph::default
- * package[ceph] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph] action install (ceph::default line 50)
- (up to date)
- * package[ceph-common] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph-common] action install (ceph::default line 50)
- (up to date)
- * package[ceph-dbg] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph-dbg] action install (ceph::default line 50)
- (up to date)
- * package[ceph-common-dbg] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph-common-dbg] action install (ceph::default line 50)
- (up to date)
- Recipe: ceph::conf
- * template[/etc/ceph/ceph.conf] action create[2013-08-13T15:51:30+07:00] INFO: Processing template[/etc/ceph/ceph.conf] action create (ceph::conf line 11)
- (up to date)
- Recipe: ceph::mon
- * directory[/var/run/ceph] action create[2013-08-13T15:51:30+07:00] INFO: Processing directory[/var/run/ceph] action create (ceph::mon line 22)
- (up to date)
- * directory[/var/lib/ceph/mon/ceph-mc02] action create[2013-08-13T15:51:30+07:00] INFO: Processing directory[/var/lib/ceph/mon/ceph-mc02] action create (ceph::mon line 30)
- (up to date)
- * service[ceph_mon] action enable[2013-08-13T15:51:30+07:00] INFO: Processing service[ceph_mon] action enable (ceph::mon line 74)
- (up to date)
- * service[ceph_mon] action start[2013-08-13T15:51:30+07:00] INFO: Processing service[ceph_mon] action start (ceph::mon line 74)
- (up to date)
- * execute[peer 0.0.0.0:0] action run[2013-08-13T15:51:30+07:00] INFO: Processing execute[peer 0.0.0.0:0] action run (ceph::mon line 87)
- adding peer 0.0.0.0:6789/0 to list: 0.0.0.0:6789/0,10.100.254.102:6789/0,10.100.254.103:6789/0,10.100.254.104:6789/0
- [2013-08-13T15:51:30+07:00] INFO: execute[peer 0.0.0.0:0] ran successfully
- - execute ceph --admin-daemon '/var/run/ceph/ceph-mon.mc02.asok' add_bootstrap_peer_hint 0.0.0.0:0
- * ruby_block[get osd-bootstrap keyring] action run[2013-08-13T15:51:30+07:00] INFO: Processing ruby_block[get osd-bootstrap keyring] action run (ceph::mon line 96)
- ^C[2013-08-13T15:51:34+07:00] FATAL: SIGINT received, stopping
- ================================================================================
- Error executing action `run` on resource 'ruby_block[get osd-bootstrap keyring]'
- ================================================================================
- SystemExit
- ----------
- exit
- Cookbook Trace:
- ---------------
- /var/cache/chef/cookbooks/ceph/recipes/mon.rb:100:in `block (2 levels) in from_file'
- Resource Declaration:
- ---------------------
- # In /var/cache/chef/cookbooks/ceph/recipes/mon.rb
- 96: ruby_block "get osd-bootstrap keyring" do
- 97: block do
- 98: run_out = ""
- 99: while run_out.empty?
- 100: run_out = Mixlib::ShellOut.new("ceph auth get-key client.bootstrap-osd").run_command.stdout.strip
- 101: sleep 2
- 102: end
- 103: node.override['ceph']['bootstrap_osd_key'] = run_out
- 104: node.save
- 105: end
- 106: not_if { node['ceph']['bootstrap_osd_key'] }
- Compiled Resource:
- ------------------
- # Declared in /var/cache/chef/cookbooks/ceph/recipes/mon.rb:96:in `from_file'
- ruby_block("get osd-bootstrap keyring") do
- action "run"
- retries 0
- retry_delay 2
- block_name "get osd-bootstrap keyring"
- cookbook_name "ceph"
- recipe_name "mon"
- block #<Proc:0x00000003248e18@/var/cache/chef/cookbooks/ceph/recipes/mon.rb:97>
- not_if { #code block }
- end
- [2013-08-13T15:51:34+07:00] INFO: Running queued delayed notifications before re-raising exception
- [2013-08-13T15:51:34+07:00] ERROR: Running exception handlers
- [2013-08-13T15:51:34+07:00] ERROR: Exception handlers complete
- [2013-08-13T15:51:34+07:00] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
- Chef Client failed. 2 resources updated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement