Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Metron Ansible deployment failure in metron_pcapservice

avatar
Expert Contributor

TASK [metron_pcapservice : Check for hbase-site] ******************************* ok: [node1]

TASK [metron_pcapservice : include] ******************************************** skipping: [node1]

TASK [metron_pcapservice : include] ******************************************** included: /Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/metron_pcapservice/tasks/pcapservice.yml for node1

TASK [metron_pcapservice : Create Metron streaming directories] **************** ok: [node1] => (item={u'name': u'lib'}) ok: [node1] => (item={u'name': u'config'})

TASK [metron_pcapservice : Copy Metron pcapservice jar] ************************ fatal: [node1]: FAILED! => {"changed": false, "failed": true, "msg": "could not find src=/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"} PLAY RECAP ********************************************************************* node1 : ok=262 changed=140 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

1 ACCEPTED SOLUTION

avatar
Master Guru
@nbalaji-elangovan

Looks like ansible playbook is failing because it could not find "/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"

Can you please double check if this jar file is there with the required permissions?

View solution in original post

3 REPLIES 3

avatar
Master Guru
@nbalaji-elangovan

Looks like ansible playbook is failing because it could not find "/Users/nbalaji-elangovan/Downloads/incubator-metron-Metron_0.1BETA_rc7/metron-streaming/Metron-Pcap_Service/target/Metron-Pcap_Service-0.1BETA-jar-with-dependencies.jar"

Can you please double check if this jar file is there with the required permissions?

avatar
Super Collaborator

@nbalaji-elangovan. This error would indicate that you might not have built all the projects via maven, Can you make sure you ran mvn package -DskipTests from the incubator-metron-Metron_0.1BETA_rc7/metron-streaming directory.

avatar
Explorer

What are the maven commands that need to be run before vagrant up, I use mvn clean compile -DskipTests in the top metron directory