Issue while installing MOS 7 with contrail-3.0-3.0.0-1

Asked by Gaurav Kaushik

I am trying to install an Openstack environment using FUEL script. The Plugin i am using for the network part is Junpier Contrail(contrail-3.0-3.0.0-1.noarch.rpm).

Step i have taken:-

1)
a]Have a setup- FUEL master node and 3 slave nodes
b] Configure the network properly so as to have Private network on a separate NIC interface.

2) After all the FUEL nodes come up, install contrail(contrail-3.0-3.0.0-1.noarch.rpm) plugin.
   a] ssh <the Fuel Master node ip>
fuel plugins --install contrail-3.0-3.0.0-1.noarch.rpm

  b] scp contrail-install-packages_3.0.0.0-2723~kilo_all.deb \
<Fuel Master node ip>:/var/www/nailgun/plugins/contrail-3.0/
ssh <Fuel Master node ip> /var/www/nailgun/plugins/contrail-3.0/install.sh
from the guide (http://plugins.mirantis.com/docs/c/o/contrail/contrail-3.0-3.0.0-1.pdf)

3) Deploy an Openstack environment from FUEL dashboard
a] Create a new environment
b] Give max disk for contrail Base OS
c] Enable contrail plugin from Settings> Fuel Contrail Plugin

4) Deployment ends with the error message:

Deployment has failed. Method granular_deploy. Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details
---
priority: 400
fail_on_error: true
type: puppet
uids:
- '6'
parameters:
  puppet_modules: puppet/modules:/etc/puppet/modules
  puppet_manifest: puppet/manifests/contrail-compute-provision.pp
  timeout: 720
  cwd: "/etc/fuel/plugins/contrail-3.0/"
.
Inspect Astute logs for the details.

Has anyone seen this problem. Or can someone point to me if something looks wrong here.
Thanks in advance!!!

Question information

Language:
English Edit question
Status:
Expired
For:
Fuel for OpenStack Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Fabrizio Soppelsa (fsoppelsa) said :
#1

Greetings, Gaurav Kaushik

The error you copypasted is very generic. Do you have a chance to grab astute logs and puppet.log from the node in Error state, and attach them to this LP Answer?

Best regards,
Fabrizio
Mirantis Team

Revision history for this message
Gaurav Kaushik (gkaushik-j) said :
#2

Astute log:

2016-04-23 01:46:22 ERR [618] Error running RPC method granular_deploy: Failed to execute hook 'puppet' Puppet run failed. Check puppet logs for details --- priority: 400 fail_on_error: true type: puppet uids: - '6' parameters: puppet_modules: puppet/modules:/etc/puppet/modules puppet_manifest: puppet/manifests/contrail-compute-provision.pp timeout: 720 cwd: "/etc/fuel/plugins/contrail-3.0/" , trace: ["/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/nailgun_hooks.rb:59:in `block in process'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/nailgun_hooks.rb:26:in `each'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/nailgun_hooks.rb:26:in `process'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/deployment_engine/granular_deployment.rb:221:in `post_deployment_actions'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/deployment_engine.rb:75:in `deploy'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/orchestrator.rb:179:in `deploy_cluster'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/orchestrator.rb:45:in `granular_deploy'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/dispatcher.rb:91:in `granular_deploy'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/server.rb:146:in `dispatch_message'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/server.rb:107:in `block in dispatch'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/task_queue.rb:64:in `call'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/task_queue.rb:64:in `block in each'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/task_queue.rb:56:in `each'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/task_queue.rb:56:in `each'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/server.rb:105:in `each_with_index'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/server.rb:105:in `dispatch'", "/usr/lib64/ruby/gems/2.1.0/gems/astute-7.0.0/lib/astute/server/server.rb:89:in `block in perform_main_job'"]

Revision history for this message
Gaurav Kaushik (gkaushik-j) said :
#3

Puppet log:

2016-04-23 01:46:20 ERR (/Stage[main]/Contrail::Provision::Compute/Exec[provision-vrouter]/returns) change from notrun to 0 failed: contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]
2016-04-23 01:46:20 ERR /usr/bin/puppet:4:in `<main>'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block in run'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block (2 levels) in run'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2016-04-23 01:46:20 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
2016-04-23 01:46:20 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/type/exec.rb:142:in `sync'
2016-04-23 01:46:20 ERR /usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:97:in `fail'
2016-04-23 01:46:20 ERR contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]
2016-04-23 01:42:43 ERR (/Stage[main]/Contrail::Provision::Compute/Exec[provision-vrouter]/returns) change from notrun to 0 failed: contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]
2016-04-23 01:42:43 ERR /usr/bin/puppet:4:in `<main>'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block in run'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block (2 levels) in run'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2016-04-23 01:42:43 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
2016-04-23 01:42:43 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/type/exec.rb:142:in `sync'
2016-04-23 01:42:43 ERR /usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:97:in `fail'
2016-04-23 01:42:43 ERR contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]
2016-04-23 01:39:05 ERR (/Stage[main]/Contrail::Provision::Compute/Exec[provision-vrouter]/returns) change from notrun to 0 failed: contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]
2016-04-23 01:39:05 ERR /usr/bin/puppet:4:in `<main>'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:91:in `execute'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util/command_line.rb:137:in `run'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `run'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:478:in `exit_on_fail'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block in run'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:470:in `plugin_hook'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application.rb:364:in `block (2 levels) in run'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:146:in `run_command'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:218:in `main'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/application/apply.rb:268:in `apply_catalog'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:192:in `run'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:124:in `apply_catalog'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:160:in `benchmark'
2016-04-23 01:39:05 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:161:in `block in benchmark'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/configurer.rb:125:in `block in apply_catalog'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:163:in `apply'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/report.rb:108:in `as_logging_destination'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util/log.rb:149:in `with_destination'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/resource/catalog.rb:164:in `block in apply'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:108:in `evaluate'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/graph/relationship_graph.rb:118:in `traverse'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block in evaluate'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:326:in `thinmark'
2016-04-23 01:39:05 ERR /usr/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util.rb:327:in `block in thinmark'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `block (2 levels) in evaluate'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:117:in `call'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:187:in `eval_resource'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction.rb:174:in `apply'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:20:in `evaluate'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `perform_changes'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:88:in `each'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:89:in `block in perform_changes'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:128:in `sync_if_needed'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/transaction/resource_harness.rb:191:in `sync'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/type/exec.rb:142:in `sync'
2016-04-23 01:39:05 ERR /usr/lib/ruby/vendor_ruby/puppet/util/errors.rb:97:in `fail'
2016-04-23 01:39:05 ERR contrail-provision-vrouter --api_server_ip 192.168.2.1 --api_server_port 8082 --openstack_ip 192.168.0.2 --oper add --host_name node-6.domain.tld --host_ip 192.168.2.3 --admin_user neutron --admin_tenant_name services --admin_password 'PRCwQvug' && touch /opt/contrail/provision-vrouter-DONE returned 1 instead of one of [0]

Revision history for this message
Gaurav Kaushik (gkaushik-j) said :
#4

Thanks Fabrizio for the interest. I hope the logs will help you to get an insight of the issue.

Revision history for this message
Oleksandr Martsyniuk (omartsyniuk) said :
#5

Hi Gaurav!

Thanks for adding puppet logs.
Could you please attach a diagnostic snapshot?

Revision history for this message
Launchpad Janitor (janitor) said :
#6

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.