Skip to content

Instantly share code, notes, and snippets.

@afiune
Created February 29, 2016 14:02
Show Gist options
  • Select an option

  • Save afiune/b2e5c5c3dca65ca3660e to your computer and use it in GitHub Desktop.

Select an option

Save afiune/b2e5c5c3dca65ca3660e to your computer and use it in GitHub Desktop.
[2016-02-29T13:58:28+00:00] INFO: Forking chef instance to converge...
[2016-02-29T13:58:28+00:00] INFO: *** Chef 12.7.2 ***
[2016-02-29T13:58:28+00:00] INFO: Chef-client pid: 4040
[2016-02-29T13:58:29+00:00] INFO: Run List is [recipe[delivery-base], recipe[awesome_customers]]
[2016-02-29T13:58:29+00:00] INFO: Run List expands to [delivery-base, awesome_customers]
[2016-02-29T13:58:29+00:00] INFO: Starting Chef Run for customers-web-app-delivery-acceptance
[2016-02-29T13:58:29+00:00] INFO: Running start handlers
[2016-02-29T13:58:29+00:00] INFO: Start handlers complete.
[2016-02-29T13:58:29+00:00] INFO: Loading cookbooks [delivery-base@0.2.1, push-jobs@2.6.4, runit@1.7.4, packagecloud@0.1.0, windows@1.38.3, chef_handler@1.2.0, chef-ingredient@0.15.0, apt-chef@0.2.0, apt@2.9.2, yum-chef@0.2.1, yum@3.8.2, awesome_customers@0.1.0, chef-sugar@3.3.0, firewall@2.4.0, httpd@0.3.4, compat_resource@12.7.3]
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property cookbook of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :cookbook, [ String, nil ], default: nil'). Error: Property cookbook must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:4:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property cookbook of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :cookbook, [ String, nil ], default: nil'). Error: Property cookbook must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:4:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property source of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :source, [ String, nil ], default: nil'). Error: Property source must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:7:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property source of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :source, [ String, nil ], default: nil'). Error: Property source must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:7:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property variables of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :variables, [ String, nil ], default: nil'). Error: Property variables must be one of: Hash! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:8:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property variables of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :variables, [ String, nil ], default: nil'). Error: Property variables must be one of: Hash! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_config.rb:8:in `<class:HttpdConfig>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property config of resource ingredient_config. Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :config, [ String, nil ], default: nil'). Error: Property config must be one of: String! You passed nil. at /var/chef/cache/cookbooks/chef-ingredient/resources/ingredient_config.rb:28:in `class_from_file' at /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/event_dispatch/dispatcher.rb:43:in `call'
[2016-02-29T13:58:30+00:00] INFO: ['push_jobs']['package_url'] and ['push_jobs']['package_checksum'] not set. Chef Push client will be installed from CHEF's public repositories.
[2016-02-29T13:58:30+00:00] WARN: An attempt was made to change version from :latest to nil by calling version(nil). In Chef 12, this does a get rather than a set. In Chef 13, this will change to set the value to nil. at /var/chef/cache/cookbooks/push-jobs/recipes/linux.rb:48:in `block in from_file' at /opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.7.2/lib/chef/event_dispatch/dispatcher.rb:43:in `call'
[2016-02-29T13:58:30+00:00] INFO: Processing chef_gem[chef-sugar] action install (chef-sugar::default line 23)
[2016-02-29T13:58:30+00:00] INFO: Processing chef_ingredient[push-client] action install (push-jobs::linux line 47)
[2016-02-29T13:58:30+00:00] INFO: Processing chef_gem[mixlib-install] action install (dynamically defined)
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb:69:in `block in configure_package': property options is declared in both apt_package[push-client] and #<Chef::Provider::ChefIngredient:0x00000004c02890>. Use new_resource.options instead. At /var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb:69:in `block in configure_package'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb:70:in `block in configure_package': property timeout is declared in both apt_package[push-client] and #<Chef::Provider::ChefIngredient:0x00000004c02890>. Use new_resource.timeout instead. At /var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb:70:in `block in configure_package'
[2016-02-29T13:58:30+00:00] INFO: Processing ruby_block[stop chef run] action nothing (/var/chef/cache/cookbooks/chef-ingredient/libraries/helpers.rb line 197)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/apt/sources.list.d/chef_stable_.list] action delete (/var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb line 38)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_repository[chef-stable] action add (apt-chef::stable line 21)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/var/lib/apt/periodic/update-success-stamp] action nothing (/var/chef/cache/cookbooks/apt/providers/repository.rb line 187)
[2016-02-29T13:58:30+00:00] INFO: Processing execute[apt-cache gencaches] action nothing (/var/chef/cache/cookbooks/apt/providers/repository.rb line 191)
[2016-02-29T13:58:30+00:00] INFO: Processing execute[apt-get update] action nothing (/var/chef/cache/cookbooks/apt/providers/repository.rb line 196)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/apt/sources.list.d/chef-stable.list] action create (/var/chef/cache/cookbooks/apt/providers/repository.rb line 226)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_preference[push-jobs-client] action add (/var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb line 60)
[2016-02-29T13:58:30+00:00] WARN: Replacing push-jobs-client.pref with push-jobs-client.pref in /etc/apt/preferences.d/
[2016-02-29T13:58:30+00:00] WARN: Cloning resource attributes for file[/etc/apt/preferences.d/push-jobs-client.pref] from prior resource (CHEF-3694)
[2016-02-29T13:58:30+00:00] WARN: Previous file[/etc/apt/preferences.d/push-jobs-client.pref]: /var/chef/cache/cookbooks/apt/providers/preference.rb:52:in `block in class_from_file'
[2016-02-29T13:58:30+00:00] WARN: Current file[/etc/apt/preferences.d/push-jobs-client.pref]: /var/chef/cache/cookbooks/apt/providers/preference.rb:67:in `block in class_from_file'
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/apt/preferences.d] action create (/var/chef/cache/cookbooks/apt/providers/preference.rb line 42)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/apt/preferences.d/push-jobs-client.pref] action delete (/var/chef/cache/cookbooks/apt/providers/preference.rb line 52)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/apt/preferences.d/push-jobs-client] action delete (/var/chef/cache/cookbooks/apt/providers/preference.rb line 60)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/apt/preferences.d/push-jobs-client.pref] action create (/var/chef/cache/cookbooks/apt/providers/preference.rb line 67)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_package[push-client] action install (/var/chef/cache/cookbooks/chef-ingredient/libraries/debian_handler.rb line 66)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/chef] action create (push-jobs::config line 25)
[2016-02-29T13:58:30+00:00] INFO: Processing template[/etc/chef/push-jobs-client.rb] action create (push-jobs::config line 37)
[2016-02-29T13:58:30+00:00] INFO: Processing service[runit] action nothing (runit::default line 20)
[2016-02-29T13:58:30+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24)
[2016-02-29T13:58:30+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_package[runit] action install (runit::default line 64)
[2016-02-29T13:58:30+00:00] INFO: Processing service[opscode-push-jobs-client] action nothing (dynamically defined)
[2016-02-29T13:58:30+00:00] INFO: Processing runit_service[opscode-push-jobs-client] action enable (push-jobs::service_runit line 28)
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:57:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/etc/sv/opscode-push-jobs-client] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:57:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:58:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/etc/sv/opscode-push-jobs-client] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:58:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:65:in `block (2 levels) in <class:RunitService>': property owner is declared in both template[/etc/sv/opscode-push-jobs-client/run] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:65:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:66:in `block (2 levels) in <class:RunitService>': property group is declared in both template[/etc/sv/opscode-push-jobs-client/run] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:66:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:77:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/etc/sv/opscode-push-jobs-client/log] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:77:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:78:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/etc/sv/opscode-push-jobs-client/log] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:78:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:84:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/etc/sv/opscode-push-jobs-client/log/main] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:84:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:85:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/etc/sv/opscode-push-jobs-client/log/main] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:85:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:92:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/var/log/opscode-push-jobs-client] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:92:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:93:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/var/log/opscode-push-jobs-client] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:93:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:100:in `block (2 levels) in <class:RunitService>': property owner is declared in both template[/etc/sv/opscode-push-jobs-client/log/config] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:100:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:101:in `block (2 levels) in <class:RunitService>': property group is declared in both template[/etc/sv/opscode-push-jobs-client/log/config] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:101:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:116:in `block (2 levels) in <class:RunitService>': property owner is declared in both file[/etc/sv/opscode-push-jobs-client/log/run] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:116:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:117:in `block (2 levels) in <class:RunitService>': property group is declared in both file[/etc/sv/opscode-push-jobs-client/log/run] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:117:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:137:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/etc/sv/opscode-push-jobs-client/env] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:137:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:138:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/etc/sv/opscode-push-jobs-client/env] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:138:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:185:in `block (2 levels) in <class:RunitService>': property owner is declared in both directory[/etc/sv/opscode-push-jobs-client/control] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.owner instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:185:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] WARN: /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:186:in `block (2 levels) in <class:RunitService>': property group is declared in both directory[/etc/sv/opscode-push-jobs-client/control] and #<Chef::Provider::RunitService:0x00000002f9a2c0>. Use new_resource.group instead. At /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:186:in `block (2 levels) in <class:RunitService>'
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/sv/opscode-push-jobs-client] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 56)
[2016-02-29T13:58:30+00:00] INFO: Processing template[/etc/sv/opscode-push-jobs-client/run] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 64)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/sv/opscode-push-jobs-client/log] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 76)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/sv/opscode-push-jobs-client/log/main] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 83)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/var/log/opscode-push-jobs-client] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 91)
[2016-02-29T13:58:30+00:00] INFO: Processing template[/etc/sv/opscode-push-jobs-client/log/config] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 99)
[2016-02-29T13:58:30+00:00] INFO: Processing link[/var/log/opscode-push-jobs-client/config] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 109)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/sv/opscode-push-jobs-client/log/run] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 114)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/sv/opscode-push-jobs-client/env] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 136)
[2016-02-29T13:58:30+00:00] INFO: Processing ruby_block[zap extra env files for opscode-push-jobs-client service] action run (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 153)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/sv/opscode-push-jobs-client/control] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 184)
[2016-02-29T13:58:30+00:00] INFO: Processing link[/etc/init.d/opscode-push-jobs-client] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 224)
[2016-02-29T13:58:30+00:00] INFO: Processing file[/etc/sv/opscode-push-jobs-client/down] action nothing (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 240)
[2016-02-29T13:58:30+00:00] INFO: Processing directory[/etc/service] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 260)
[2016-02-29T13:58:30+00:00] INFO: Processing link[/etc/service/opscode-push-jobs-client] action create (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 262)
[2016-02-29T13:58:30+00:00] INFO: Processing ruby_block[wait for opscode-push-jobs-client service socket] action run (/var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb line 267)
[2016-02-29T13:58:30+00:00] INFO: ruby_block[wait for opscode-push-jobs-client service socket] called
[2016-02-29T13:58:30+00:00] INFO: Processing runit_service[opscode-push-jobs-client] action start (push-jobs::service_runit line 28)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_update[Update the apt cache daily] action periodic (awesome_customers::package_cache line 6)
[2016-02-29T13:58:30+00:00] INFO: Processing chef_gem[chef-sugar] action install (chef-sugar::default line 23)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall[default] action install (firewall::default line 22)
[2016-02-29T13:58:30+00:00] INFO: Processing apt_package[ufw] action install (/var/chef/cache/cookbooks/firewall/libraries/provider_firewall_ufw.rb line 36)
[2016-02-29T13:58:30+00:00] INFO: Processing template[/etc/default/ufw] action create (/var/chef/cache/cookbooks/firewall/libraries/provider_firewall_ufw.rb line 40)
[2016-02-29T13:58:30+00:00] INFO: Processing file[create empty /etc/default/ufw-chef.rules] action create (/var/chef/cache/cookbooks/firewall/libraries/provider_firewall_ufw.rb line 49)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall_rule[allow world to ssh] action create (firewall::default line 30)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall_rule[allow world to winrm] action create (firewall::default line 36)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall_rule[established] action create (firewall::default line 43)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall_rule[ipv6_icmp] action create (firewall::default line 52)
[2016-02-29T13:58:30+00:00] INFO: Processing firewall_rule[open ports [80, 443]] action create (awesome_customers::firewall line 9)
[2016-02-29T13:58:30+00:00] INFO: firewall_rule[open ports [80, 443]] not queuing delayed action restart on firewall[default] (delayed), as it's already been queued
[2016-02-29T13:58:30+00:00] INFO: Processing group[web_admin] action create (awesome_customers::user line 6)
[2016-02-29T13:58:30+00:00] INFO: Processing user[web_admin] action create (awesome_customers::user line 8)
[2016-02-29T13:58:30+00:00] INFO: Processing httpd_service_debian_sysvinit[customers] action create (awesome_customers::web line 7)
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property maxrequestsperchild of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :maxrequestsperchild, [ String, nil ], default: nil'). Error: Property maxrequestsperchild must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:239:in `block (2 levels) in <class:HttpdServiceDebian>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property maxsparethreads of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :maxsparethreads, [ String, nil ], default: nil'). Error: Property maxsparethreads must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:242:in `block (2 levels) in <class:HttpdServiceDebian>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property minsparethreads of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :minsparethreads, [ String, nil ], default: nil'). Error: Property minsparethreads must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:244:in `block (2 levels) in <class:HttpdServiceDebian>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property threadlimit of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :threadlimit, [ String, nil ], default: nil'). Error: Property threadlimit must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:247:in `block (2 levels) in <class:HttpdServiceDebian>'
[2016-02-29T13:58:30+00:00] WARN: Default value nil is invalid for property threadsperchild of resource . Possible fixes: 1. Remove 'default: nil' if nil means 'undefined'. 2. Set a valid default value if there is a reasonable one. 3. Allow nil as a valid value of your property (for example, 'property :threadsperchild, [ String, nil ], default: nil'). Error: Property threadsperchild must be one of: String! You passed nil. at /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:248:in `block (2 levels) in <class:HttpdServiceDebian>'
[2016-02-29T13:58:30+00:00] INFO: Processing apt_package[apache2] action install (/var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb line 8)
================================================================================
Error executing action `install` on resource 'apt_package[apache2]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1088 kB/1285 kB of archives.
After this operation, 5348 kB of additional disk space will be used.
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
STDERR: E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-bin_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-data_2.4.7-1ubuntu4.8_all.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
Ran apt-get -q -y install apache2=2.4.7-1ubuntu4.8 returned 100
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb:123:in `compile_and_converge_action'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb
8: package "#{package_name}" do
9: action :install
10: end
11:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb:8:in `block in <class:HttpdServiceDebian>'
apt_package("apache2") do
package_name "apache2"
action [:install]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :package
cookbook_name "awesome_customers"
end
[2016-02-29T13:58:31+00:00] INFO: Running queued delayed notifications before re-raising exception
================================================================================
Error executing action `create` on resource 'httpd_service_debian_sysvinit[customers]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
apt_package[apache2] (/var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb line 8) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1088 kB/1285 kB of archives.
After this operation, 5348 kB of additional disk space will be used.
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
STDERR: E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-bin_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-data_2.4.7-1ubuntu4.8_all.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
Ran apt-get -q -y install apache2=2.4.7-1ubuntu4.8 returned 100
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb:123:in `compile_and_converge_action'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/awesome_customers/recipes/web.rb
7: httpd_service 'customers' do
8: mpm 'prefork'
9: action [:create, :start]
10: end
11:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/awesome_customers/recipes/web.rb:7:in `from_file'
httpd_service_debian_sysvinit("customers") do
action [:create, :start]
retries 0
retry_delay 2
default_guard_interpreter :default
declared_type :httpd_service
cookbook_name "awesome_customers"
recipe_name "web"
mpm "prefork"
version "2.4"
package_name "apache2"
instance "customers"
run_user "www-data"
run_group "www-data"
servername "ip-10-0-0-15"
maxclients "0"
maxconnectionsperchild "0"
maxrequestworkers "150"
maxspareservers "10"
minspareservers "5"
startservers "5"
modules ["authz_core", "authz_host", "authn_core", "auth_basic", "access_compat", "authn_file", "authz_user", "alias", "dir", "autoindex", "env", "mime", "negotiation", "setenvif", "filter", "deflate", "status"]
end
[2016-02-29T13:58:31+00:00] INFO: Running queued delayed notifications before re-raising exception
[2016-02-29T13:58:31+00:00] INFO: firewall_rule[allow world to ssh] sending restart action to firewall[default] (delayed)
[2016-02-29T13:58:31+00:00] INFO: Processing firewall[default] action restart (firewall::default line 22)
[2016-02-29T13:58:31+00:00] INFO: allow world to ssh apply_rule allow
[2016-02-29T13:58:31+00:00] INFO: open ports [80, 443] apply_rule allow
[2016-02-29T13:58:31+00:00] INFO: Processing file[/etc/default/ufw-chef.rules] action create (/var/chef/cache/cookbooks/firewall/libraries/provider_firewall_ufw.rb line 83)
[2016-02-29T13:58:31+00:00] ERROR: Running exception handlers
[2016-02-29T13:58:31+00:00] ERROR: Exception handlers complete
[2016-02-29T13:58:31+00:00] INFO: Sending resource update report (run-id: 167a863e-a1a2-4d2a-9c05-3a5bcc79a61c)
[2016-02-29T13:58:31+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-02-29T13:58:31+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-02-29T13:58:31+00:00] ERROR: httpd_service_debian_sysvinit[customers] (awesome_customers::web line 7) had an error: Mixlib::ShellOut::ShellCommandFailed: apt_package[apache2] (/var/chef/cache/cookbooks/httpd/libraries/httpd_service_debian.rb line 8) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
---- Begin output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
STDOUT: Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
Suggested packages:
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils
openssl-blacklist
The following NEW packages will be installed:
apache2 apache2-bin apache2-data libapr1 libaprutil1 libaprutil1-dbd-sqlite3
libaprutil1-ldap ssl-cert
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1088 kB/1285 kB of archives.
After this operation, 5348 kB of additional disk space will be used.
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-bin amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2-data all 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
Err http://us-west-2.ec2.archive.ubuntu.com/ubuntu/ trusty-updates/main apache2 amd64 2.4.7-1ubuntu4.8
404 Not Found [IP: 54.184.254.88 80]
STDERR: E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-bin_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2-data_2.4.7-1ubuntu4.8_all.deb 404 Not Found [IP: 54.184.254.88 80]
E: Failed to fetch http://us-west-2.ec2.archive.ubuntu.com/ubuntu/pool/main/a/apache2/apache2_2.4.7-1ubuntu4.8_amd64.deb 404 Not Found [IP: 54.184.254.88 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
---- End output of apt-get -q -y install apache2=2.4.7-1ubuntu4.8 ----
Ran apt-get -q -y install apache2=2.4.7-1ubuntu4.8 returned 100
[2016-02-29T13:58:31+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[ec2-user@ip-10-0-0-10 ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment