{"action":"created","issue":{"url":"https://api.github.com/repos/apache/metron/issues/1261","repository_url":"https://api.github.com/repos/apache/metron","labels_url":"https://api.github.com/repos/apache/metron/issues/1261/labels{/name}","comments_url":"https://api.github.com/repos/apache/metron/issues/1261/comments","events_url":"https://api.github.com/repos/apache/metron/issues/1261/events","html_url":"https://github.com/apache/metron/pull/1261","id":380346859,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTY3NjI1","number":1261,"title":"METRON-1860 [WIP] new developer option for ansible in docker to deploy to vagrant","user":{"login":"ottobackwards","id":1111551,"node_id":"MDQ6VXNlcjExMTE1NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/1111551?v=4","gravatar_id":"","url":"https://api.github.com/users/ottobackwards","html_url":"https://github.com/ottobackwards","followers_url":"https://api.github.com/users/ottobackwards/followers","following_url":"https://api.github.com/users/ottobackwards/following{/other_user}","gists_url":"https://api.github.com/users/ottobackwards/gists{/gist_id}","starred_url":"https://api.github.com/users/ottobackwards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ottobackwards/subscriptions","organizations_url":"https://api.github.com/users/ottobackwards/orgs","repos_url":"https://api.github.com/users/ottobackwards/repos","events_url":"https://api.github.com/users/ottobackwards/events{/privacy}","received_events_url":"https://api.github.com/users/ottobackwards/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2018-11-13T17:45:18Z","updated_at":"2018-11-29T18:10:57Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/apache/metron/pulls/1261","html_url":"https://github.com/apache/metron/pull/1261","diff_url":"https://github.com/apache/metron/pull/1261.diff","patch_url":"https://github.com/apache/metron/pull/1261.patch"},"body":"The goal of this PR is to provide a new \"full_dev\" option for new and old users that does not require as much setup and version matching to try Metron's full dev environment.\r\n\r\nCurrently, the vagrant up command runs ansible locally, on the host machine, to build and deploy metron.  This means that the user must not only have Vagrant, Virtual Box and Docker, but must also have all the tools necessary to build metron ( maven, java, c++ 11 etc ) and run ansible ( python and others ).  It has been a common source of problems for new users to get started with Metron because of version or setup problems.\r\n\r\nThis PR introduces a new metron-deployment/development option which tries to address this problem, and make it possible for the user to only have Vagrant, VirtualBox and Docker ( along with a local copy of the source ) to be able to run full dev.\r\n\r\nThe new option starts the Vagrant VM, but does not run ansible in it. Instead it runs a docker container which contains all the tools/versions necessary, and that container is what runs ansible.\r\n\r\nThis is a WIP, I am looking for initial feedback.\r\n\r\n##Testing\r\nHave the correct versions of vagrant, virtual box and docker installed and running\r\n```\r\ncd $METRON_SRC_ROOT/metron-deployment/development/centos6_docker_build\r\n./build_and_run.sh\r\n```\r\nAnswer yes to building the vagrant box.\r\nAnswer yes to building the docker machine\r\nGo grab a coffee.\r\n\r\nThe end result should be full dev running in the vagrant instance.\r\nThe logs directory will have a log for each run.\r\n\r\nIf you run a second time, you can say no to building the docker machine.\r\n\r\n### Differences\r\n- This does not support skip tags passed on the cli\r\n- This does not support provision\r\n\r\n### For all changes:\r\n- [x] Is there a JIRA ticket associated with this PR? If not one needs to be created at [Metron Jira](https://issues.apache.org/jira/browse/METRON/?selectedTab=com.atlassian.jira.jira-projects-plugin:summary-panel).\r\n- [x] Does your PR title start with METRON-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen \"-\" character.\r\n- [x] Has your PR been rebased against the latest commit within the target branch (typically master)?\r\n\r\n\r\n### For code changes:\r\n- [x] Have you included steps to reproduce the behavior or problem that is being changed or addressed?\r\n- [x] Have you included steps or a guide to how the change may be verified and tested manually?\r\n- [-] Have you ensured that the full suite of tests and checks have been executed in the root metron folder via:\r\n  ```\r\n  mvn -q clean integration-test install && dev-utilities/build-utils/verify_licenses.sh \r\n  ```\r\n\r\n- [-] Have you written or updated unit tests and or integration tests to verify your changes?\r\n- [-] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?\r\n- [x] Have you verified the basic functionality of the build by building and running locally with Vagrant full-dev environment or the equivalent?\r\n\r\n### For documentation related changes:\r\n- [-] Have you ensured that format looks appropriate for the output in which it is rendered by building and verifying the site-book? If not then run the following commands and the verify changes via `site-book/target/site/index.html`:\r\n"},"comment":{"url":"https://api.github.com/repos/apache/metron/issues/comments/442935918","html_url":"https://github.com/apache/metron/pull/1261#issuecomment-442935918","issue_url":"https://api.github.com/repos/apache/metron/issues/1261","id":442935918,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjkzNTkxOA==","user":{"login":"mmiklavc","id":658443,"node_id":"MDQ6VXNlcjY1ODQ0Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/658443?v=4","gravatar_id":"","url":"https://api.github.com/users/mmiklavc","html_url":"https://github.com/mmiklavc","followers_url":"https://api.github.com/users/mmiklavc/followers","following_url":"https://api.github.com/users/mmiklavc/following{/other_user}","gists_url":"https://api.github.com/users/mmiklavc/gists{/gist_id}","starred_url":"https://api.github.com/users/mmiklavc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmiklavc/subscriptions","organizations_url":"https://api.github.com/users/mmiklavc/orgs","repos_url":"https://api.github.com/users/mmiklavc/repos","events_url":"https://api.github.com/users/mmiklavc/events{/privacy}","received_events_url":"https://api.github.com/users/mmiklavc/received_events","type":"User","site_admin":false},"created_at":"2018-11-29T18:10:57Z","updated_at":"2018-11-29T18:10:57Z","author_association":"CONTRIBUTOR","body":"@ottobackwards - yeah, that's probably reasonable. The base HDP image create option would be an additional improvement to existing functionality."}}
{"actor":{"display_login":"mmiklavc"}}