How to start SUSe cloud and cluster

Hi
I m new in this matter, so i want to ask how i should start ha using suse cloud 6 . While all configuration is managed bye chef and Crowbar . I cant make significant changes to my nodes.
So what i do i set up administration server with installed Ha extension . I Set up suse cloud 6 too :

-What i want to know is this : I must set up cluster before i install suse cloud 6 component? or i can do it after set up the nodes ?
-How to start i assume i must install it via crowbar module peacemaker but . When i want do one resource per node setup i got error

Failed to apply the proposal to: d08-00-27-65-09-84.cloud.com
Most recent logged lines from the Chef run:
50: hash_string = $1.gsub(/\\([^"])/) { |m| ‘\\’ + m }
51:
52: Shellwords.split(hash_string).each do |kvpair|
53: break if kvpair == “op”
54: unless kvpair =~ /^(.+?)=(.)$/
55>> raise "Couldn’t understand ‘#{kvpair}’ for ‘#{data_type}’ section “\
56: “of #{name} resource (definition was [#{obj_definition}])”
57: end
58: k, v = $1, $2
59: h[k] = v.sub(/^”(.
)"$/, “\1”)
60: end
61: h
62: end
63: end
64: end

[2016-12-13T18:15:55+01:00] ERROR: Running exception handlers
[2016-12-13T18:15:55+01:00] ERROR: Report handler Chef::Handler::ErrorReport raised #
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in encode' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in to_json’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in to_json' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in generate’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in pretty_generate' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/json_compat.rb:107:in to_json_pretty’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler/error_report.rb:27:in report' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:226:in run_report_unsafe’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:214:in run_report_safely' [2016-12-13T18:15:55+01: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’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in each' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in run_exception_handlers’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:127:in block in ' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in call’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in block in run_failed' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in each’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in run_failed' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:446:in rescue in do_run’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:455:in do_run' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:184:in run’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:133:in run_chef_client' [2016-12-13T18:15:55+01: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’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in loop' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in run_application’
[2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:65:in run' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/bin/chef-client:26:in
[2016-12-13T18:15:55+01:00] ERROR: /usr/bin/chef-client:23:in load' [2016-12-13T18:15:55+01:00] ERROR: /usr/bin/chef-client:23:in
[2016-12-13T18:15:55+01:00] ERROR: Exception handlers complete
[2016-12-13T18:15:55+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-12-13T18:15:55+01:00] FATAL: RuntimeError: Couldn’t understand ‘prw4’ for ‘params’ section of Pacemaker::Resource resource (definition was [ params prw4])
d08-00-27-6d-3d-42.cloud.com
Most recent logged lines from the Chef run:
recipe_name “default”
revision 3
timeout 120
fatal true
end

================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/crowbar-pacemaker/recipes/default.rb

RuntimeError

crowbar-pacemaker_sync_mark[wait-pacemaker_setup] (crowbar-pacemaker::default line 42) had an error: RuntimeError: Cluster founder didn’t set pacemaker_setup to 3!

Cookbook Trace:

/var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:86:in rescue in wait_for_mark_from_founder' /var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:68:in wait_for_mark_from_founder’
/var/chef/cache/cookbooks/crowbar-pacemaker/providers/sync_mark.rb:71:in block in class_from_file' /var/chef/cache/cookbooks/crowbar-pacemaker/recipes/default.rb:48:in from_file’

Relevant File Content:

/var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:

79: sleep(5)
80: end # while true
81: end # Timeout
82: rescue Timeout::Error
83: if fatal
84: message = “Cluster founder didn’t set #{mark} to #{revision}!”
85: Chef::Log.fatal(message)
86>> raise message
87: else
88: message = “Cluster founder didn’t set #{mark} to #{revision}! Going on…”
89: Chef::Log.warn(message)
90: end
91: end
92: end
93:
94: # See “Synchronization helpers” documentation
95: def self.set_mark_if_founder(node, mark, revision)

[2016-12-13T18:17:55+01:00] ERROR: Running exception handlers
[2016-12-13T18:17:55+01:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2016-12-13T18:17:55+01:00] ERROR: Exception handlers complete
[2016-12-13T18:17:55+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-12-13T18:17:55+01:00] FATAL: RuntimeError: crowbar-pacemaker_sync_mark[wait-pacemaker_setup] (crowbar-pacemaker::default line 42) had an error: RuntimeError: Cluster founder didn’t set pacemaker_setup to 3!

All my nodes are set up in virtualbox + administration server connected via Add-host only adapter . Any idea what im doing wrong?

naukasuse12 Wrote in message:
[color=blue]

I m new in this matter, so i want to ask how i should start ha using
suse cloud 6 . While all configuration is managed bye chef and Crowbar .
I cant make significant changes to my nodes.
So what i do i set up administration server with installed Ha extension
… I Set up suse cloud 6 too :

-What i want to know is this : I must set up cluster before i install
suse cloud 6 component? or i can do it after set up the nodes ?
-How to start i assume i must install it via crowbar module peacemaker
but . When i want do one resource per node setup i got error

Failed to apply the proposal to: d08-00-27-65-09-84.cloud.com
Most recent logged lines from the Chef run:
50: hash_string = $1.gsub(/\\([^“])/) { |m| ‘\\’ + m }
51:
52: Shellwords.split(hash_string).each do |kvpair|
53: break if kvpair == “op”
54: unless kvpair =~ /^(.+?)=(.)$/
55>> raise "Couldn’t understand ‘#{kvpair}’ for ‘#{data_type}’ section
“\
56: “of #{name} resource (definition was [#{obj_definition}])”
57: end
58: k, v = $1, $2
59: h[k] = v.sub(/^”(.
)”$/, “\1”)
60: end
61: h
62: end
63: end
64: end

[2016-12-13T18:15:55+01:00] ERROR: Running exception handlers
[2016-12-13T18:15:55+01:00] ERROR: Report handler
Chef::Handler::ErrorReport raised #
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in
encode' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in to_json’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/resource.rb:530:in
to_json' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/2.1.0/json/common.rb:285:in generate’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/2.1.0/json/common.rb:285:in pretty_generate' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/json_compat.rb:107:in to_json_pretty’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler/error_report.rb:27:in
report' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:226:in run_report_unsafe’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:214:in
run_report_safely' [2016-12-13T18:15:55+01: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’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in
each' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:117:in run_exception_handlers’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/handler.rb:127:in
block in ' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in call’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:119:in
block in run_failed' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in each’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:118:in
run_failed' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:446:in rescue in do_run’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:455:in
do_run' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/client.rb:184:in run’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:133:in
run_chef_client' [2016-12-13T18:15:55+01: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’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in
loop' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application/client.rb:294:in run_application’
[2016-12-13T18:15:55+01:00] ERROR:
/usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/lib/chef/application.rb:65:in
run' [2016-12-13T18:15:55+01:00] ERROR: /usr/lib64/ruby/gems/2.1.0/gems/chef-10.32.2/bin/chef-client:26:in
[2016-12-13T18:15:55+01:00] ERROR: /usr/bin/chef-client:23:in load' [2016-12-13T18:15:55+01:00] ERROR: /usr/bin/chef-client:23:in
[2016-12-13T18:15:55+01:00] ERROR: Exception handlers complete
[2016-12-13T18:15:55+01:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
[2016-12-13T18:15:55+01:00] FATAL: RuntimeError: Couldn’t understand
‘prw4’ for ‘params’ section of Pacemaker::Resource resource (definition
was [ params prw4])
d08-00-27-6d-3d-42.cloud.com
Most recent logged lines from the Chef run:
recipe_name “default”
revision 3
timeout 120
fatal true
end

================================================================================

Recipe Compile Error in
/var/chef/cache/cookbooks/crowbar-pacemaker/recipes/default.rb

RuntimeError

crowbar-pacemaker_sync_mark[wait-pacemaker_setup]
(crowbar-pacemaker::default line 42) had an error: RuntimeError: Cluster
founder didn’t set pacemaker_setup to 3!

Cookbook Trace:

/var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:86:in
rescue in wait_for_mark_from_founder' /var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:68:in wait_for_mark_from_founder’
/var/chef/cache/cookbooks/crowbar-pacemaker/providers/sync_mark.rb:71:in
block in class_from_file' /var/chef/cache/cookbooks/crowbar-pacemaker/recipes/default.rb:48:in from_file’

Relevant File Content:

/var/chef/cache/cookbooks/crowbar-pacemaker/libraries/synchronization.rb:

79: sleep(5)
80: end # while true
81: end # Timeout
82: rescue Timeout::Error
83: if fatal
84: message = “Cluster founder didn’t set #{mark} to #{revision}!”
85: Chef::Log.fatal(message)
86>> raise message
87: else
88: message = “Cluster founder didn’t set #{mark} to #{revision}! Going
on…”
89: Chef::Log.warn(message)
90: end
91: end
92: end
93:
94: # See “Synchronization helpers” documentation
95: def self.set_mark_if_founder(node, mark, revision)

[2016-12-13T18:17:55+01:00] ERROR: Running exception handlers
[2016-12-13T18:17:55+01:00] FATAL: Saving node information to
/var/chef/cache/failed-run-data.json
[2016-12-13T18:17:55+01:00] ERROR: Exception handlers complete
[2016-12-13T18:17:55+01:00] FATAL: Stacktrace dumped to
/var/chef/cache/chef-stacktrace.out
[2016-12-13T18:17:55+01:00] FATAL: RuntimeError:
crowbar-pacemaker_sync_mark[wait-pacemaker_setup]
(crowbar-pacemaker::default line 42) had an error: RuntimeError: Cluster
founder didn’t set pacemaker_setup to 3!

All my nodes are set up in virtualbox + administration server connected
via Add-host only adapter . Any idea what im doing wrong?[/color]

This is being addressed via your other thread(s) in the SUSE
OpenStack Cloud forum.

HTH.

Simon Flood
SUSE Knowledge Partner

----Android NewsGroup Reader----
http://usenet.sinaapp.com/