Advertisement
Guest User

Untitled

a guest
Aug 13th, 2013
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.44 KB | None | 0 0
  1. mc02.d1.tld:/root # chef-client --once
  2. [2013-08-13T15:51:26+07:00] INFO: Forking chef instance to converge...
  3. Starting Chef Client, version 11.6.0
  4. [2013-08-13T15:51:26+07:00] INFO: *** Chef 11.6.0 ***
  5. [2013-08-13T15:51:28+07:00] INFO: Run List is [role[ceph-mon]]
  6. [2013-08-13T15:51:28+07:00] INFO: Run List expands to [ceph::repo, ceph::mon]
  7. [2013-08-13T15:51:28+07:00] INFO: Starting Chef Run for mc02.d1.tld
  8. [2013-08-13T15:51:28+07:00] INFO: Running start handlers
  9. [2013-08-13T15:51:28+07:00] INFO: Start handlers complete.
  10. resolving cookbooks for run list: ["ceph::repo", "ceph::mon"]
  11. [2013-08-13T15:51:29+07:00] INFO: Loading cookbooks [apt, ceph]
  12. Synchronizing Cookbooks:
  13. - apt
  14. - ceph
  15. Compiling Cookbooks...
  16. Converging 19 resources
  17. Recipe: apt::default
  18. * 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)
  19. (skipped due to not_if)
  20. * 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)
  21. (skipped due to action :nothing)
  22. * 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)
  23. (skipped due to action :nothing)
  24. * 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)
  25. (skipped due to action :nothing)
  26. * 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)
  27. (up to date)
  28. * 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)
  29. (skipped due to only_if)
  30. * 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)
  31. (up to date)
  32. * 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)
  33. (up to date)
  34. Recipe: ceph::apt
  35. * 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)
  36. Recipe: <Dynamically Defined Resource>
  37. * 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)
  38. (up to date)
  39. * 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)
  40. (skipped due to not_if)
  41. * 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)
  42. (skipped due to action :nothing)
  43. * 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)
  44. (skipped due to action :nothing)
  45. * 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)
  46. (up to date)
  47.  
  48. - evaluate block and run any associated actions
  49.  
  50. Recipe: ceph::default
  51. * package[ceph] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph] action install (ceph::default line 50)
  52. (up to date)
  53. * package[ceph-common] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph-common] action install (ceph::default line 50)
  54. (up to date)
  55. * package[ceph-dbg] action install[2013-08-13T15:51:29+07:00] INFO: Processing package[ceph-dbg] action install (ceph::default line 50)
  56. (up to date)
  57. * 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)
  58. (up to date)
  59. Recipe: ceph::conf
  60. * 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)
  61. (up to date)
  62. Recipe: ceph::mon
  63. * 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)
  64. (up to date)
  65. * 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)
  66. (up to date)
  67. * service[ceph_mon] action enable[2013-08-13T15:51:30+07:00] INFO: Processing service[ceph_mon] action enable (ceph::mon line 74)
  68. (up to date)
  69. * service[ceph_mon] action start[2013-08-13T15:51:30+07:00] INFO: Processing service[ceph_mon] action start (ceph::mon line 74)
  70. (up to date)
  71. * 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)
  72. 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
  73.  
  74. [2013-08-13T15:51:30+07:00] INFO: execute[peer 0.0.0.0:0] ran successfully
  75.  
  76. - execute ceph --admin-daemon '/var/run/ceph/ceph-mon.mc02.asok' add_bootstrap_peer_hint 0.0.0.0:0
  77.  
  78. * 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)
  79. ^C[2013-08-13T15:51:34+07:00] FATAL: SIGINT received, stopping
  80.  
  81. ================================================================================
  82. Error executing action `run` on resource 'ruby_block[get osd-bootstrap keyring]'
  83. ================================================================================
  84.  
  85.  
  86. SystemExit
  87. ----------
  88. exit
  89.  
  90.  
  91. Cookbook Trace:
  92. ---------------
  93. /var/cache/chef/cookbooks/ceph/recipes/mon.rb:100:in `block (2 levels) in from_file'
  94.  
  95.  
  96. Resource Declaration:
  97. ---------------------
  98. # In /var/cache/chef/cookbooks/ceph/recipes/mon.rb
  99.  
  100. 96: ruby_block "get osd-bootstrap keyring" do
  101. 97: block do
  102. 98: run_out = ""
  103. 99: while run_out.empty?
  104. 100: run_out = Mixlib::ShellOut.new("ceph auth get-key client.bootstrap-osd").run_command.stdout.strip
  105. 101: sleep 2
  106. 102: end
  107. 103: node.override['ceph']['bootstrap_osd_key'] = run_out
  108. 104: node.save
  109. 105: end
  110. 106: not_if { node['ceph']['bootstrap_osd_key'] }
  111.  
  112.  
  113.  
  114. Compiled Resource:
  115. ------------------
  116. # Declared in /var/cache/chef/cookbooks/ceph/recipes/mon.rb:96:in `from_file'
  117.  
  118. ruby_block("get osd-bootstrap keyring") do
  119. action "run"
  120. retries 0
  121. retry_delay 2
  122. block_name "get osd-bootstrap keyring"
  123. cookbook_name "ceph"
  124. recipe_name "mon"
  125. block #<Proc:0x00000003248e18@/var/cache/chef/cookbooks/ceph/recipes/mon.rb:97>
  126. not_if { #code block }
  127. end
  128.  
  129.  
  130.  
  131. [2013-08-13T15:51:34+07:00] INFO: Running queued delayed notifications before re-raising exception
  132. [2013-08-13T15:51:34+07:00] ERROR: Running exception handlers
  133. [2013-08-13T15:51:34+07:00] ERROR: Exception handlers complete
  134. [2013-08-13T15:51:34+07:00] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out
  135. Chef Client failed. 2 resources updated
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement