Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- INFO: INPOS: Загрузка ассортимента и справочников...
- * execute[import-catalogues] action run[2015-10-07T17:32:09+05:00] INFO: Processing execute[import-catalogues] action run (client::bootstrap line 9)
- /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)
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
- 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'
- 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'
- 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'
- 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'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
- from (eval):1:in `<top (required)>'
- 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'
- 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)>'
- 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'
- 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)>'
- from script/rails:6:in `require'
- from script/rails:6:in `<main>'
- ================================================================================
- Error executing action `run` on resource 'execute[import-catalogues]'
- ================================================================================
- Mixlib::ShellOut::ShellCommandFailed
- ------------------------------------
- Expected process to exit with [0], but received '1'
- ---- 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' ----
- STDOUT:
- 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)
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
- 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'
- 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'
- 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'
- 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'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
- from (eval):1:in `<top (required)>'
- 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'
- 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)>'
- 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'
- 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)>'
- from script/rails:6:in `require'
- from script/rails:6:in `<main>'
- ---- 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' ----
- 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
- Resource Declaration:
- ---------------------
- # In /var/chef/cache/cookbooks/client/recipes/bootstrap.rb
- 9: execute "import-catalogues" do
- 10: user node[:system][:user][:username]
- 11: group node[:system][:user][:group]
- 12: environment 'PATH' => path, 'HOME' => "/home/#{node[:system][:user][:username]}", 'RAILS_ENV' => 'production'
- 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'"
- 14: cwd "#{node[:app][:deploy_to]}/current"
- 15: notifies :create, "ruby_block[remove-bootstrap-recipe]", :immediately
- 16: end
- 17:
- Compiled Resource:
- ------------------
- # Declared in /var/chef/cache/cookbooks/client/recipes/bootstrap.rb:9:in `from_file'
- execute("import-catalogues") do
- action "run"
- retries 0
- retry_delay 2
- default_guard_interpreter :execute
- 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'"
- backup 5
- cwd "/home/inpos/public_html/inpos/current"
- 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"}
- group "inpos"
- returns 0
- user "inpos"
- cookbook_name "client"
- recipe_name "bootstrap"
- end
- [2015-10-07T17:32:13+05:00] INFO: Running queued delayed notifications before re-raising exception
- Running handlers:
- [2015-10-07T17:32:13+05:00] ERROR: Running exception handlers
- Running handlers complete
- [2015-10-07T17:32:13+05:00] ERROR: Exception handlers complete
- [2015-10-07T17:32:13+05:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
- Chef Client failed. 25 resources updated in 31.152960113 seconds
- [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'
- ---- 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' ----
- STDOUT:
- 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)
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/http.rb:84:in `initialize'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `new'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:214:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:747:in `parse'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/uri/common.rb:1232:in `URI'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1029:in `proxy_uri'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:1016:in `proxy?'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:869:in `connect'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:863:in `do_start'
- from /home/inpos/.rbenv/versions/2.1.2/lib/ruby/2.1.0/net/http.rb:852:in `start'
- 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'
- 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'
- 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'
- 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'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/app/helpers/jobs_helper.rb:40:in `get_records_from_server'
- from /home/inpos/public_html/inpos/releases/123d87e3e59c19e0d94e7c004577f6335e98d12d/lib/jobs/import_pharmacy_chains_and_pharmacies_job.rb:7:in `perform'
- from (eval):1:in `<top (required)>'
- 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'
- 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)>'
- 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'
- 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)>'
- from script/rails:6:in `require'
- from script/rails:6:in `<main>'
- ---- 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' ----
- 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
- [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