Steps to reproduce:
1. Log into the Fuel web UI and press “New OpenStack Environment”
2. Specify Environment name as test, set QEMU
3. Select 'Neutron with GRE segmentation' as a network configuration
4. Set “default” glance and cinder and do not use any additional services
5. Press “Create”
6. Open the Settings tab of the Fuel web UI
7. Select the Contrail plugin checkbox and configure plugin settings
8. Configure network
9. Use VLAN tagging for storage and management section
10. Add 3 nodes with “Operating system” role
11. Rename these nodes in the template “contrail-[1-3]”
12. Add 1 node with “Controller”
13. Start deploy
Actual result:
2015-08-10T14:53:13 debug: [661] Data received by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"11", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}, {"uid"=>"12", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}, {"uid"=>"13", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}, {"uid"=>"14", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}]}
2015-08-10T14:53:13 debug: [661] Data send by DeploymentProxyReporter to report it up: {"nodes"=>[{"uid"=>"14", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}]}
2015-08-10T14:53:13 err: [661] Error running RPC method granular_deploy: Failed to execute hook 'contrail-1.0.1' Puppet run failed. Check puppet logs for details
---
uids:
- '11'
- '13'
- '12'
parameters:
puppet_modules: puppet/modules:/etc/puppet/modules
puppet_manifest: puppet/manifests/site-contrail-post4.pp
timeout: 720
cwd: "/etc/fuel/plugins/contrail-1.0/"
priority: 1400
fail_on_error: true
type: puppet
diagnostic_name: contrail-1.0.1
, trace:
["/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:58:in `block in process'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:26:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/nailgun_hooks.rb:26:in `process'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/deployment_engine/granular_deployment.rb:221:in `post_deployment_actions'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/deployment_engine.rb:75:in `deploy'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:179:in `deploy_cluster'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/orchestrator.rb:56:in `granular_deploy'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/dispatcher.rb:111:in `granular_deploy'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:142:in `dispatch_message'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:103:in `block in dispatch'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `call'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:64:in `block in each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/task_queue.rb:56:in `each'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `each_with_index'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:101:in `dispatch'",
"/usr/lib64/ruby/gems/2.1.0/gems/astute-6.1.0/lib/astute/server/server.rb:85:in `block in perform_main_job'"]
2015-08-10T14:53:13 info: [661] Casting message to Nailgun: {"method"=>"deploy_resp", "args"=>{"task_uuid"=>"5f9c5da6-a276-4ecf-b78e-4e17cfab1e74", "nodes"=>[{"uid"=>"11", "status"=>"error", "error_type"=>"deploy", "role"=>"hook", "hook"=>"contrail-1.0.1", "error_msg"=>"Puppet run failed. Check puppet logs for details"}, {"uid"=>"13", "status"=>"error", "error_type"=>"deploy", "role"=>"hook", "hook"=>"contrail-1.0.1", "error_msg"=>"Puppet run failed. Check puppet logs for details"}, {"uid"=>"12", "status"=>"error", "error_type"=>"deploy", "role"=>"hook", "hook"=>"contrail-1.0.1", "error_msg"=>"Puppet run failed. Check puppet logs for details"}], "error"=>"Failed to execute hook 'contrail-1.0.1' Puppet run failed. Check puppet logs for details"}}
2015-08-10T14:53:13 info: [661] Casting message to Nailgun: {"method"=>"deploy_resp", "args"=>{"task_uuid"=>"5f9c5da6-a276-4ecf-b78e-4e17cfab1e74", "nodes"=>[{"uid"=>"14", "status"=>"error", "role"=>"hook", "error_type"=>"deploy"}]}}
Verified with the Juniper package v2 - passed.