{"action":"created","issue":{"url":"https://api.github.com/repos/metacloud/molecule/issues/1432","repository_url":"https://api.github.com/repos/metacloud/molecule","labels_url":"https://api.github.com/repos/metacloud/molecule/issues/1432/labels{/name}","comments_url":"https://api.github.com/repos/metacloud/molecule/issues/1432/comments","events_url":"https://api.github.com/repos/metacloud/molecule/issues/1432/events","html_url":"https://github.com/metacloud/molecule/issues/1432","id":350036708,"node_id":"MDU6SXNzdWUzNTAwMzY3MDg=","number":1432,"title":"Wrong directory for Vagrant/VirtualBox console logs","user":{"login":"sparunakian","id":3016217,"node_id":"MDQ6VXNlcjMwMTYyMTc=","avatar_url":"https://avatars2.githubusercontent.com/u/3016217?v=4","gravatar_id":"","url":"https://api.github.com/users/sparunakian","html_url":"https://github.com/sparunakian","followers_url":"https://api.github.com/users/sparunakian/followers","following_url":"https://api.github.com/users/sparunakian/following{/other_user}","gists_url":"https://api.github.com/users/sparunakian/gists{/gist_id}","starred_url":"https://api.github.com/users/sparunakian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparunakian/subscriptions","organizations_url":"https://api.github.com/users/sparunakian/orgs","repos_url":"https://api.github.com/users/sparunakian/repos","events_url":"https://api.github.com/users/sparunakian/events{/privacy}","received_events_url":"https://api.github.com/users/sparunakian/received_events","type":"User","site_admin":false},"labels":[{"id":288133125,"node_id":"MDU6TGFiZWwyODgxMzMxMjU=","url":"https://api.github.com/repos/metacloud/molecule/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-13T13:46:17Z","updated_at":"2018-08-16T16:35:06Z","closed_at":null,"author_association":"NONE","body":"# Issue Type\r\n\r\n- Bug report\r\n\r\n# Molecule and Ansible details\r\n\r\n```\r\nansible --version\r\nansible 2.6.1\r\n  config file = /home/stephane/.ansible.cfg\r\n  configured module search path = [u'/home/stephane/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']\r\n  ansible python module location = /opt/molecule/lib/python2.7/site-packages/ansible\r\n  executable location = /opt/molecule/bin/ansible\r\n  python version = 2.7.15 (default, Jun 27 2018, 13:05:28) [GCC 8.1.1 20180531]\r\n```\r\n\r\n```\r\nmolecule --version\r\nmolecule, version 2.16.0\r\n```\r\n\r\nMolecule installation method (one of):\r\n\r\n- pip\r\n\r\nAnsible installation method (one of):\r\n\r\n- pip\r\n\r\n# Actual Behaviour (Bug report only)\r\n\r\nCreate a role, setup Molecule with Vagrant/VirtualBox and run it:\r\n\r\n```\r\nmolecule init scenario --role-name=testrole --driver-name=vagrant\r\nmolecule test --all --destroy=always\r\n```\r\n\r\nAs Molecule and Ansible are in a virtualenv owned by my user, the execution completed, but in `$VENV_PATH/lib/python2.7/site-packages/molecule/provisioner/ansible/playbooks/vagrant/` there is a log file created by VirtualBox named `ubuntu-xenial-16.04-cloudimg-console.log` with boot logs. If the user running Molecule doesn't have the permissions to write in the Python dir, the execution fails. These logs are configured in the Vagrant images of Ubuntu. Previously these logs where in the `molecule/$SCENARIO` directory in the role, but I don't know what changed this. The problem happens on ArchLinux and CentOS 7.\r\n\r\nLet me know if I can be of any help concerning this issue.\r\n\r\nRegards"},"comment":{"url":"https://api.github.com/repos/metacloud/molecule/issues/comments/413607542","html_url":"https://github.com/metacloud/molecule/issues/1432#issuecomment-413607542","issue_url":"https://api.github.com/repos/metacloud/molecule/issues/1432","id":413607542,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzYwNzU0Mg==","user":{"login":"retr0h","id":9895,"node_id":"MDQ6VXNlcjk4OTU=","avatar_url":"https://avatars1.githubusercontent.com/u/9895?v=4","gravatar_id":"","url":"https://api.github.com/users/retr0h","html_url":"https://github.com/retr0h","followers_url":"https://api.github.com/users/retr0h/followers","following_url":"https://api.github.com/users/retr0h/following{/other_user}","gists_url":"https://api.github.com/users/retr0h/gists{/gist_id}","starred_url":"https://api.github.com/users/retr0h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/retr0h/subscriptions","organizations_url":"https://api.github.com/users/retr0h/orgs","repos_url":"https://api.github.com/users/retr0h/repos","events_url":"https://api.github.com/users/retr0h/events{/privacy}","received_events_url":"https://api.github.com/users/retr0h/received_events","type":"User","site_admin":false},"created_at":"2018-08-16T16:35:06Z","updated_at":"2018-08-16T16:35:06Z","author_association":"MEMBER","body":"> Thank you for your response! If Molecule is used in a virtualenv, the creation of logs in the Python directory isn't very elegant, is it?\r\n\r\nlet me try one thing."}}
{"actor":{"display_login":"retr0h"}}