Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sh-4.1# chef-solo -c soloconf.rb -j runlist.json
- [2015-10-22T14:09:11+00:00] INFO: *** Chef 10.34.6 ***
- [2015-10-22T14:09:11+00:00] INFO: Setting the run_list to "role[cumulocity-dev-singlenode]" from JSON
- [2015-10-22T14:09:11+00:00] INFO: Run List is [role[cumulocity-dev-singlenode]]
- [2015-10-22T14:09:11+00:00] INFO: Run List expands to [swap::swapfile, ulimit, el-sysctl, yum::config, sudo, pam::login,yum::repositories, tools, openssh, cumulocity-postgres, bigcouch, cumulocity-core, cumulocity-external-lb]
- [2015-10-22T14:09:11+00:00] INFO: Starting Chef Run for 0bf0062061ee
- [2015-10-22T14:09:11+00:00] INFO: Running start handlers
- [2015-10-22T14:09:11+00:00] INFO: Start handlers complete.
- [2015-10-22T14:09:11+00:00] INFO: Processing chef_gem[treetop] action install (dynamically defined)/var/chef-solo/cookbooks/chef-solo-search/libraries/search.rb:57: warning: already initialized constant PARSER_LOADED
- [2015-10-22T14:09:11+00:00] WARN: Missing gem 'right_aws'curl: (7) couldn't connect to host
- [2015-10-22T14:11:19+00:00] WARN: Cloning resource attributes for service[bigcouch] from prior resource (CHEF-3694)
- [2015-10-22T14:11:19+00:00] WARN: Previous service[bigcouch]: /var/chef-solo/cookbooks/bigcouch/recipes/default.rb:21:in `from_file'
- [2015-10-22T14:11:19+00:00] WARN: Current service[bigcouch]: /var/chef-solo/cookbooks/bigcouch/recipes/default.rb:57:in `from_file'
- [2015-10-22T14:11:19+00:00] WARN: Cloning resource attributes for service[postfix] from prior resource (CHEF-3694)
- [2015-10-22T14:11:19+00:00] WARN: Previous service[postfix]: /var/chef-solo/cookbooks/cumulocity-karaf/recipes/notification.rb:10:in `from_file'
- [2015-10-22T14:11:19+00:00] WARN: Current service[postfix]: /var/chef-solo/cookbooks/cumulocity-karaf/recipes/default.rb:136:in `from_file'
- [2015-10-22T14:11:19+00:00] INFO: Processing bash[create_swap_file] action run (swap::swapfile line 10)Setting up swapspace version 1, size = 1048572 KiBno label, UUID=a064bf8d-6704-4043-a1f8-bf9c01b1a0e1
- [2015-10-22T14:11:21+00:00] INFO: bash[create_swap_file] ran successfully
- [2015-10-22T14:11:21+00:00] INFO: Processing template[/etc/security/limits.d/limits.conf] action create (ulimit::default line 10)
- [2015-10-22T14:11:21+00:00] INFO: Processing execute[/sbin/sysctl -p] action nothing (el-sysctl::default line 20)
- [2015-10-22T14:11:21+00:00] INFO: Processing template[/etc/sysctl.conf] action create (el-sysctl::default line 24)
- [2015-10-22T14:11:21+00:00] INFO: Processing template[/etc/yum.conf] action create (yum::config line 26)
- [2015-10-22T14:11:21+00:00] WARN: Setting attributes without specifying a precedence is deprecated and will beremoved in Chef 11.0. To set attributes at normal precedence, change code like:`node["key"] = "value"` # Not thisto:`node.set["key"] = "value"` # ThisCalled from: /usr/lib/ruby/gems/1.8/gems/chef-10.34.6/bin/../lib/chef/node/attribute.rb:449:in `method_missing' (erubis):14:in `evaluate' /usr/lib/ruby/gems/1.8/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
- [2015-10-22T14:11:21+00:00] WARN: Setting attributes without specifying a precedence is deprecated and will beremoved in Chef 11.0. To set attributes at normal precedence, change code like:`node["key"] = "value"` # Not thisto:`node.set["key"] = "value"` # ThisCalled from: /usr/lib/ruby/gems/1.8/gems/chef-10.34.6/bin/../lib/chef/node/attribute.rb:449:in `method_missing' (erubis):17:in `evaluate' /usr/lib/ruby/gems/1.8/gems/erubis-2.7.0/lib/erubis/evaluator.rb:74:in `instance_eval'
- [2015-10-22T14:11:21+00:00] INFO: Processing package[sudo] action install (sudo::default line 20)
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/sudoers] action create (sudo::default line 22)
- [2015-10-22T14:11:23+00:00] INFO: Processing bash[enable_limits] action run (pam::login line 10)session required pam_limits.so
- [2015-10-22T14:11:23+00:00] INFO: bash[enable_limits] ran successfully
- [2015-10-22T14:11:23+00:00] INFO: Processing yum_repository[pgdg91] action add (yum::repositories line 7)
- [2015-10-22T14:11:23+00:00] INFO: Adding pgdg91 repository to /etc/yum.repos.d/pgdg91.repo
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/pgdg91.repo] action create (/var/chef-solo/cookbooks/yum/providers/repository.rb line 38)
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/pgdg91.repo] action nothing (/var/chef-solo/cookbooks/yum/providers/repository.rb line 38)
- [2015-10-22T14:11:23+00:00] INFO: Processing yum_repository[cumulocity] action add (yum::repositories line 7)
- [2015-10-22T14:11:23+00:00] INFO: Adding cumulocity repository to /etc/yum.repos.d/cumulocity.repo
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/cumulocity.repo] action create (/var/chef-solo/cookbooks/yum/providers/repository.rb line 38)
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/cumulocity.repo] action nothing (/var/chef-solo/cookbooks/yum/providers/repository.rb line 38)
- [2015-10-22T14:11:23+00:00] INFO: Processing cookbook_file[/etc/pki/tls/certs/gd_bundle.crt] action create (yum::repositories line 16)
- [2015-10-22T14:11:23+00:00] INFO: Processing yum_repository[cloudant] action add (yum::repositories line 7)
- [2015-10-22T14:11:23+00:00] INFO: Adding cloudant repository to /etc/yum.repos.d/cloudant.repo
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/cloudant.repo] action create (/var/chef-solo/cookbooks/yum/providers/repository.rb line 38)
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/yum.repos.d/cloudant.repo] action nothing (/var/chef-solo/cookbooks/yum/providers/repository.rb line38)
- [2015-10-22T14:11:23+00:00] INFO: Processing package[htop] action install (tools::default line 10)
- [2015-10-22T14:11:23+00:00] INFO: Processing package[mc] action install (tools::default line 10)
- [2015-10-22T14:11:23+00:00] INFO: Processing package[openssh] action install (openssh::default line 11)
- [2015-10-22T14:11:23+00:00] INFO: Processing package[openssh-clients] action install (openssh::default line 11)
- [2015-10-22T14:11:23+00:00] INFO: Processing file[/etc/ssh/banner] action create (openssh::default line 14)
- [2015-10-22T14:11:23+00:00] INFO: Processing template[/etc/ssh/sshd_config] action create (openssh::default line 21)
- [2015-10-22T14:11:23+00:00] INFO: Processing service[ssh] action enable (openssh::default line 29)
- ================================================================================
- Error executing action `enable` on resource 'service[ssh]'
- ================================================================================
- Chef::Exceptions::Service
- -------------------------
- service[ssh]: unable to locate the init.d script!
- Resource Declaration:
- ---------------------
- # In /var/chef-solo/cookbooks/openssh/recipes/default.rb
- 29: service "ssh" do
- 30: service_name node['openssh']['service']
- 31: supports :restart => true, :reload => true
- 32: action [:enable, :start]
- 33: end
- 34:
- Compiled Resource:
- ------------------
- # Declared in /var/chef-solo/cookbooks/openssh/recipes/default.rb:29:in `from_file'
- service("ssh")
- do pattern "ssh"
- supports {:status=>true, :restart=>true, :reload=>true}
- recipe_name "default"
- retry_delay 2
- action [:enable, :start]
- cookbook_name :openssh
- startup_type :automatic
- retries 0
- service_name "sshd"
- end
- [2015-10-22T14:11:23+00:00] ERROR: Running exception handlers
- [2015-10-22T14:11:23+00:00] ERROR: Exception handlers complete
- [2015-10-22T14:11:23+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
- [2015-10-22T14:11:23+00:00] FATAL: Chef::Exceptions::Service: service[ssh] (openssh::default line 29) had an error: Chef::Exceptions::Service: service[ssh]: unable to locate the init.d script!sh-4.1#
- [2015-10-22T14:00:26+00:00] FATAL: Chef::Exceptions::Service: service[ssh] (opend an error: Chef::Exceptions::Service: service[ssh]: unable to locate the init.d script!sh: syntax error near unexpected token `('sh-4.1# ssh::default line 29) had an error: Chef::Exceptions::Service: service[ssh]: unash: syntax error near unexpected token `)'
Advertisement
Add Comment
Please, Sign In to add comment