Comment 3 for bug 1454325

Revision history for this message
Vladimir Sharshov (vsharshov) wrote :

In case of multiroles all roles weight of role the same. 2 roles, both have 50%, 3 roles - 33%.

2015-05-12T15:41:57 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "status"=>"deploying", "role"=>"base-os", "progress"=>50, "task"=>{"priority"=>200, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/globals/globals.pp", "timeout"=>3600, "cwd"=>"/"}}}, {"uid"=>"6", "status"=>"deploying", "role"=>"base-os", "progress"=>50, "task"=>{"priority"=>200, "type"=>"puppet", "uids"=>["6"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/globals/globals.pp", "timeout"=>3600, "cwd"=>"/"}}}]}

After it both compute and primary-controller have progress, but we have here some anomaly. Progress bar raise too fast.

Controller:

2015-05-12T15:42:51 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "progress"=>50, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>300, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/globals/globals.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T15:42:59 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "progress"=>50, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>400, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/logging/logging.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T15:43:12 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "progress"=>57, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>500, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/tools/tools.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T15:43:14 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "progress"=>97, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>500, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/tools/tools.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T15:43:16 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"5", "progress"=>100, "status"=>"deploying", "role"=>"primary-controller", "task"=>{"priority"=>500, "type"=>"puppet", "uids"=>["5"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/tools/tools.pp", "timeout"=>3600, "cwd"=>"/"}}}]}

Compute:

2015-05-12T16:14:31 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"6", "progress"=>50, "status"=>"deploying", "role"=>"compute", "task"=>{"priority"=>400, "type"=>"puppet", "uids"=>["6"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/logging/logging.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T16:14:42 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"6", "progress"=>57, "status"=>"deploying", "role"=>"compute", "task"=>{"priority"=>500, "type"=>"puppet", "uids"=>["6"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/tools/tools.pp", "timeout"=>3600, "cwd"=>"/"}}}]}
2015-05-12T16:14:44 debug: [682] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"6", "progress"=>100, "status"=>"deploying", "role"=>"compute", "task"=>{"priority"=>500, "type"=>"puppet", "uids"=>["6"], "parameters"=>{"puppet_modules"=>"/etc/puppet/modules", "puppet_manifest"=>"/etc/puppet/modules/osnailyfacter/modular/tools/tools.pp", "timeout"=>3600, "cwd"=>"/"}}}]}