Advertisement
Guest User

Untitled

a guest
Oct 7th, 2015
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.67 KB | None | 0 0
  1. INFO: INPOS: Загрузка ассортимента и справочников...
  2.  
  3.  
  4. * execute[import-catalogues] action run[2015-10-07T17:32:09+05:00] INFO: Processing execute[import-catalogues] action run (client::bootstrap line 9)
  5. /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval': the scheme http does not accept registry part: :80 (or bad hostname?) (URI::InvalidURIError)
  6. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
  7. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
  8. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
  9. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
  10. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
  11. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
  12. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
  13. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
  14. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
  15. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
  16. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:206:in `transmit'
  17. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute'
  18. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute'
  19. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/resource.rb:51:in `get'
  20. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
  21. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
  22. from (eval):1:in `<top (required)>'
  23. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval'
  24. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `<top (required)>'
  25. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `require'
  26. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `<top (required)>'
  27. from script/rails:6:in `require'
  28. from script/rails:6:in `<main>'
  29.  
  30.  
  31. ================================================================================
  32. Error executing action `run` on resource 'execute[import-catalogues]'
  33. ================================================================================
  34.  
  35. Mixlib::ShellOut::ShellCommandFailed
  36. ------------------------------------
  37. Expected process to exit with [0], but received '1'
  38. ---- Begin output of script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' ----
  39. STDOUT:
  40. STDERR: /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval': the scheme http does not accept registry part: :80 (or bad hostname?) (URI::InvalidURIError)
  41. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
  42. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
  43. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
  44. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
  45. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
  46. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
  47. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
  48. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
  49. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
  50. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
  51. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:206:in `transmit'
  52. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute'
  53. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute'
  54. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/resource.rb:51:in `get'
  55. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
  56. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
  57. from (eval):1:in `<top (required)>'
  58. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval'
  59. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `<top (required)>'
  60. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `require'
  61. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `<top (required)>'
  62. from script/rails:6:in `require'
  63. from script/rails:6:in `<main>'
  64. ---- End output of script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' ----
  65. Ran script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' returned 1
  66.  
  67. Resource Declaration:
  68. ---------------------
  69. # In /var/chef/cache/cookbooks/client/recipes/bootstrap.rb
  70.  
  71. 9: execute "import-catalogues" do
  72. 10: user node[:system][:user][:username]
  73. 11: group node[:system][:user][:group]
  74. 12: environment 'PATH' => path, 'HOME' => "/home/#{node[:system][:user][:username]}", 'RAILS_ENV' => 'production'
  75. 13: command "script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform'"
  76. 14: cwd "#{node[:app][:deploy_to]}/current"
  77. 15: notifies :create, "ruby_block[remove-bootstrap-recipe]", :immediately
  78. 16: end
  79. 17:
  80.  
  81. Compiled Resource:
  82. ------------------
  83. # Declared in /var/chef/cache/cookbooks/client/recipes/bootstrap.rb:9:in `from_file'
  84.  
  85. execute("import-catalogues") do
  86. action "run"
  87. retries 0
  88. retry_delay 2
  89. default_guard_interpreter :execute
  90. command "script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform'"
  91. backup 5
  92. cwd "/home/inpos/public_html/inpos/current"
  93. environment {"PATH"=>"/home/inpos/.rbenv/shims:/home/inpos/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/chef/embedded/bin", "HOME"=>"/home/inpos", "RAILS_ENV"=>"production"}
  94. group "inpos"
  95. returns 0
  96. user "inpos"
  97. cookbook_name "client"
  98. recipe_name "bootstrap"
  99. end
  100.  
  101. [2015-10-07T17:32:13+05:00] INFO: Running queued delayed notifications before re-raising exception
  102.  
  103. Running handlers:
  104. [2015-10-07T17:32:13+05:00] ERROR: Running exception handlers
  105. Running handlers complete
  106. [2015-10-07T17:32:13+05:00] ERROR: Exception handlers complete
  107. [2015-10-07T17:32:13+05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
  108. Chef Client failed. 25 resources updated in 31.152960113 seconds
  109. [2015-10-07T17:32:13+05:00] ERROR: execute[import-catalogues] (client::bootstrap line 9) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
  110. ---- Begin output of script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' ----
  111. STDOUT:
  112. STDERR: /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval': the scheme http does not accept registry part: :80 (or bad hostname?) (URI::InvalidURIError)
  113. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
  114. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
  115. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
  116. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
  117. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
  118. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
  119. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
  120. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
  121. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
  122. from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
  123. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:206:in `transmit'
  124. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:68:in `execute'
  125. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/request.rb:35:in `execute'
  126. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/rest-client-1.6.8/lib/restclient/resource.rb:51:in `get'
  127. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
  128. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
  129. from (eval):1:in `<top (required)>'
  130. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `eval'
  131. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands/runner.rb:54:in `<top (required)>'
  132. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `require'
  133. from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/vendor/bundle/ruby/2.1.0/gems/railties-3.2.17/lib/rails/commands.rb:64:in `<top (required)>'
  134. from script/rails:6:in `require'
  135. from script/rails:6:in `<main>'
  136. ---- End output of script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' ----
  137. Ran script/rails runner 'ImportPharmacyChainsAndPharmaciesJob.new.perform;ImportCataloguesJob.new.perform;BuildJournalBalanceJob.new.perform;ImportProductBarcodesJob.new.perform;ImportUsersJob.new.perform;ImportInvoicesJob.new.perform;ImportPromotionsJob.new.perform;ImportDiscountCardRangesJob.new.perform;ImportCertificateCardRangesJob.new.perform;ImportDiscountCardsJob.new.perform;ImportStockMovementsJob.new.perform;ImportPriceAdjustmentsJob.new.perform;ImportSuggestedProductLinksJob.new.perform;ImportChangeProductsJob.new.perform' returned 1
  138. [2015-10-07T17:32:13+05:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement