Environment: Icehouse on Ubuntu 14.04
For some reason astute thinks that puppet agent on the (controller) node has hung:
2014-10-23T11:59:15 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'uploadfile', method 'upload', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:msg=>"File was uploaded!"}}
2014-10-23T11:59:15 info: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: Required attrs/metadata passed via facts extension. Starting deployment.
2014-10-23T11:59:15 debug: [429] Waiting for puppet to finish deployment on all
nodes (timeout = 5400 sec)...
2014-10-23T11:59:16 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414061955, :output=>"Currently idling; last completed run 1414061955 seconds ago"}}
2014-10-23T11:59:16 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414061956, :output=>"Currently idling; last completed run 1414061956 seconds ago"}}
2014-10-23T11:59:46 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414061986, :output=>"Currently idling; last completed run 1414061986 seconds ago"}}
2014-10-23T12:00:16 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414062016, :output=>"Currently idling; last completed run 1414062016 seconds ago"}}
2014-10-23T12:00:46 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414062046, :output=>"Currently idling; last completed run 1414062046 seconds ago"}}
2014-10-23T12:01:16 debug: [429] puppetd_runonce completed within 120 seconds.
2014-10-23T12:01:16 warning: [429] Following nodes have puppet hung: '3'
2014-10-23T12:01:16 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414062076, :output=>"Currently idling; last completed run 1414062076 seconds ago"}}
2014-10-23T12:01:16 debug: [429] Nodes statuses: {"succeed"=>[], "error"=>["3"], "running"=>[]}
2014-10-23T12:01:16 debug: [429] Puppet on node "3" will be restarted. 1 retries remained.
After several attempts astute aborts the deployment:
2014-10-23T12:04:48 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414062288, :output=>"Currently idling; last completed run 1414062288 seconds ago"}}
2014-10-23T12:05:18 debug: [429] puppetd_runonce completed within 120 seconds.
2014-10-23T12:05:18 warning: [429] Following nodes have puppet hung: '3'
2014-10-23T12:05:20 debug: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: MC agent 'puppetd', method 'last_run_summary', results: {:sender=>"3", :statuscode=>0, :statusmsg=>"OK", :data=>{:time=>{"last_run"=>0}, :resources=>{"failed"=>1, "changed"=>0, "total"=>0, "restarted"=>0, "out_of_sync"=>0}, :changes=>nil, :events=>nil, :version=>nil, :status=>"idling", :running=>0, :enabled=>1, :idling=>1, :stopped=>0, :lastrun=>0, :runtime=>1414062320, :output=>"Currently idling; last completed run 1414062320 seconds ago"}}
2014-10-23T12:05:20 debug: [429] Nodes statuses: {"succeed"=>[], "error"=>["3"], "running"=>[]}
2014-10-23T12:05:20 debug: [429] Node "3" has failed to deploy. There is no more retries for puppet run.
2014-10-23T12:05:20 debug: [429] Data received by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"3", "status"=>"error", "error_type"=>"deploy", "role"=>"controller"}]}
2014-10-23T12:05:20 debug: [429] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"3", "status"=>"error", "error_type"=>"deploy", "role"=>"controller"}]}
2014-10-23T12:05:20 info: [429] Casting message to Nailgun: {"method"=>"deploy_resp", "args"=>{"task_uuid"=>"ce4d0357-a19b-4aff-9d13-43b2ef37008d", "nodes"=>[{"uid"=>"3", "status"=>"error", "error_type"=>"deploy", "role"=>"controller"}]}}
2014-10-23T12:05:20 info: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: Spent 364.952956756 seconds on puppet run for following nodes(uids): 3
2014-10-23T12:05:20 info: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: Finished deployment of nodes => roles: [{"3"=>"controller"}]
2014-10-23T12:05:20 warning: [429] ce4d0357-a19b-4aff-9d13-43b2ef37008d: Critical nodes with uids: 3 fail to deploy. Stop deployment
However logging into the node and running
LC_ALL=C puppet apply --verbose --debug /etc/puppet/manifests/site.pp
yields no errors.
The code to build Fuel 5.1.1 ISO with Ubuntu 14.04 is available here:
https:/ /github. com/asheplyakov /fuel-main /github. com/asheplyakov /fuel-library /github. com/asheplyakov /fuel-astute /github. com/asheplyakov /fuel-web
https:/
https:/
https:/
Use the `ubuntu14_5.1' branch.
The ready to use ISO is being uploaded to public storage, I'll post the link as soon as the upload completes.
The test environment (fuel master node + 2 nodes) is available upon a request.