Open matelakat opened 7 years ago
This seems to fail due to:
{"error":"Failed to apply the proposal to: d52-54-77-77-01-03.vm1.cloud.suse.de
Most recent logged lines from the Chef run:
23: haproxy_loadbalancer \"horizon\" do
24: address \"0.0.0.0\"
25: port 80
26: use_ssl false
27: servers CrowbarPacemakerHelper.haproxy_servers_for_service(node, \"horizon\", \"horizon-server\", \"plain\")
28\u003e\u003e stick stick_options
29: action :nothing
30: end.run_action(:create)
31:
32: if node[:horizon][:apache][:ssl]
33: stick_options = { expire: \"#{node[:horizon][:session_timeout]}m\" }
34:
35: haproxy_loadbalancer \"horizon-ssl\" do
36: address \"0.0.0.0\"
37: port 443
[2017-06-29T15:20:02+00:00] ERROR: Running exception handlers
[2017-06-29T15:20:02+00:00] ERROR: Report handler Chef::Handler::ErrorReport raised #\u003cEncoding::UndefinedConversionError: \"\\xCD\" from ASCII-8BIT to UTF-8\u003e
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in `encode'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in `to_json'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in `to_json'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in `generate'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in `pretty_generate'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/json_compat.rb:107:in `to_json_pretty'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler/error_report.rb:27:in `report'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:226:in `run_report_unsafe'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:214:in `run_report_safely'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:118:in `block in run_exception_handlers'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in `each'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in `run_exception_handlers'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:127:in `block in \u003cclass:Handler\u003e'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in `call'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in `block in run_failed'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in `each'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in `run_failed'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:446:in `rescue in do_run'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:455:in `do_run'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:184:in `run'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:133:in `run_chef_client'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:306:in `block in run_application'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in `loop'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in `run_application'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:65:in `run'
[2017-06-29T15:20:02+00:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/bin/chef-client:26:in `\u003ctop (required)\u003e'
[2017-06-29T15:20:02+00:00] ERROR: /usr/bin/chef-client:23:in `load'
[2017-06-29T15:20:02+00:00] ERROR: /usr/bin/chef-client:23:in `\u003cmain\u003e'
[2017-06-29T15:20:02+00:00] ERROR: Exception handlers complete
[2017-06-29T15:20:02+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2017-06-29T15:20:02+00:00] FATAL: NoMethodError: undefined method `stick' for Chef::Resource::HaproxyLoadbalancer
That's because we first need to merge the ha change.
This is the backport of crowbar/crowbar-openstack#841