Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 04-29-2016 05:11 PM
trying to bring up singlenode vm on my macbook pro. I am reaching the step of pcap_replay where it fails:
TASK [pcap_replay : Install example pcap file] ********************************* fatal: [node1]: FAILED! => {"failed": true, "msg": "ERROR! error while accessing the file /Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/pcap_replay/files/example.pcap, error was: [Errno 13] Permission denied: u'/Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/pcap_replay/files/example.pcap'"} PLAY RECAP ********************************************************************* node1 : ok=189 changed=108 unreachable=0 failed=1 Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.
I did a quick ls -l on the file:
singlenode-vagrant smanjee$ ls -l /Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/pcap_replay/files/example.pcap
-rw-r--r-- 1 smanjee staff 507865 Apr 23 21:23 /Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/roles/pcap_replay/files/example.pcap
I have also attached log file ansible-copylog.txt
Created 04-29-2016 08:15 PM
Do you have any antivirus software?
Created 04-29-2016 08:15 PM
Do you have any antivirus software?
Created 04-29-2016 08:15 PM
I ask because sometimes antivirus software has some issues with that file and will either remove it or prevent it from being accessed.
Created 04-29-2016 08:18 PM
@cstella no antivirus software.
Created 05-03-2016 10:18 AM
Could you add:
ansible.verbose = "vvv"
to /Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/vagrant/singlenode-vagrant/Vagrantfile between lines 61-62, re-run and re-attach ansible.log?
Also, please run the following from /Users/smanjee/Documents/Hortonworks/Products/incubator-metron-Metron_0.1BETA_rc7/deployment/vagrant/singlenode-vagrant and attach the output.
# is this a git repo? IS_GIT_REPO=`git rev-parse --is-inside-work-tree` if [ "$IS_GIT_REPO" == "true" ]; then # current branch echo "--" git branch | grep "*" # last commit echo "--" git log -n 1 # local changes since last commit echo "--" git diff --stat fi # ansible echo "--" ansible --version # vagrant echo "--" vagrant --version # python echo "--" python --version 2>&1 # maven echo "--" mvn --version # operating system echo "--" uname -a
Thanks!
-David...