{"action":"created","issue":{"url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/59","repository_url":"https://api.github.com/repos/CentOS/container-pipeline-service","labels_url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/59/comments","events_url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/59/events","html_url":"https://github.com/CentOS/container-pipeline-service/issues/59","id":175252130,"number":59,"title":"vagrant allinone setup needs IP address tweaks","user":{"login":"navidshaikh","id":2510184,"avatar_url":"https://avatars.githubusercontent.com/u/2510184?v=3","gravatar_id":"","url":"https://api.github.com/users/navidshaikh","html_url":"https://github.com/navidshaikh","followers_url":"https://api.github.com/users/navidshaikh/followers","following_url":"https://api.github.com/users/navidshaikh/following{/other_user}","gists_url":"https://api.github.com/users/navidshaikh/gists{/gist_id}","starred_url":"https://api.github.com/users/navidshaikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navidshaikh/subscriptions","organizations_url":"https://api.github.com/users/navidshaikh/orgs","repos_url":"https://api.github.com/users/navidshaikh/repos","events_url":"https://api.github.com/users/navidshaikh/events{/privacy}","received_events_url":"https://api.github.com/users/navidshaikh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-06T13:49:54Z","updated_at":"2016-09-07T12:21:57Z","closed_at":null,"body":"While trying to setup dev environment using Vagrantfile for virtualbox provider, its prompting with `unreachable 192.168.100.100` error\r\n\r\n**vagrant version**: `1.8.5`\r\n**VirtualBox version**: `4.3.38`\r\n\r\n**Installed vagrant plugins**:\r\n```\r\nvagrant plugin list\r\nvagrant-libvirt (0.0.35)\r\nvagrant-service-manager (1.3.3)\r\nvagrant-share (1.1.5, system)\r\nvagrant-sshfs (1.2.0)\r\n```\r\n\r\n**vagrant up Logs** : \r\n```\r\n➜  container-pipeline-service git:(fix-48) vagrant status\r\nCurrent machine states:\r\n\r\nmaster                    not created (virtualbox)\r\n\r\nThe environment has not yet been created. Run `vagrant up` to\r\ncreate the environment. If a machine is not created, only the\r\ndefault provider will be shown. So if a provider is not listed,\r\nthen the machine is not created for that environment.\r\n➜  container-pipeline-service git:(fix-48) export ALLINONE=1\r\n➜  container-pipeline-service git:(fix-48) vagrant up    \r\nBringing machine 'master' up with 'virtualbox' provider...\r\n==> master: Importing base box 'centos/7'...\r\n==> master: Matching MAC address for NAT networking...\r\n==> master: Checking if box 'centos/7' is up to date...\r\n==> master: Setting the name of the VM: container-pipeline-service_master_1473167839517_65950\r\n==> master: Clearing any previously set network interfaces...\r\n==> master: Preparing network interfaces based on configuration...\r\n    master: Adapter 1: nat\r\n    master: Adapter 2: hostonly\r\n==> master: Forwarding ports...\r\n    master: 8443 (guest) => 8443 (host) (adapter 1)\r\n    master: 22 (guest) => 2222 (host) (adapter 1)\r\n==> master: Running 'pre-boot' VM customizations...\r\n==> master: Booting VM...\r\n==> master: Waiting for machine to boot. This may take a few minutes...\r\n    master: SSH address: 127.0.0.1:2222\r\n    master: SSH username: vagrant\r\n    master: SSH auth method: private key\r\n    master: Warning: Remote connection disconnect. Retrying...\r\n    master: Warning: Remote connection disconnect. Retrying...\r\n    master: Warning: Remote connection disconnect. Retrying...\r\n==> master: Machine booted and ready!\r\n==> master: Checking for guest additions in VM...\r\n    master: No guest additions were detected on the base box for this VM! Guest\r\n    master: additions are required for forwarded ports, shared folders, host only\r\n    master: networking, and more. If SSH fails on this machine, please install\r\n    master: the guest additions and repackage the box to continue.\r\n    master: \r\n    master: This is not an error message; everything may continue to work properly,\r\n    master: in which case you may ignore this message.\r\n==> master: Setting hostname...\r\n==> master: Configuring and enabling network interfaces...\r\n==> master: Rsyncing folder: /home/nshaikh/work/src/container-pipeline-service/ => /vagrant\r\n==> master: Rsyncing folder: /home/nshaikh/work/src/container-pipeline-service/ => /opt/cccp-service\r\n==> master: Rsyncing folder: /home/nshaikh/work/src/container-pipeline-service/ => /home/vagrant/cccp-service\r\n==> master: Running provisioner: shell...\r\n    master: Running: inline script\r\n==> master: Running provisioner: ansible...\r\n    master: Running ansible-playbook...\r\n[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and \r\nmake sure become_method is 'sudo' (default).\r\nThis feature will be removed in a \r\nfuture release. Deprecation warnings can be disabled by setting \r\ndeprecation_warnings=False in ansible.cfg.\r\n\r\nPLAY [Disable requiretty in sudoers] *******************************************\r\n\r\nTASK [setup] *******************************************************************\r\nfatal: [192.168.100.100]: UNREACHABLE! => {\"changed\": false, \"msg\": \"Failed to connect to the host via ssh.\", \"unreachable\": true}\r\n\tto retry, use: --limit @provisions/vagrant.retry\r\n\r\nPLAY RECAP *********************************************************************\r\n192.168.100.100            : ok=0    changed=0    unreachable=1    failed=0   \r\n\r\nAnsible failed to complete successfully. Any error output should be\r\nvisible above. Please fix these errors and try again.\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/comments/245263283","html_url":"https://github.com/CentOS/container-pipeline-service/issues/59#issuecomment-245263283","issue_url":"https://api.github.com/repos/CentOS/container-pipeline-service/issues/59","id":245263283,"user":{"login":"navidshaikh","id":2510184,"avatar_url":"https://avatars.githubusercontent.com/u/2510184?v=3","gravatar_id":"","url":"https://api.github.com/users/navidshaikh","html_url":"https://github.com/navidshaikh","followers_url":"https://api.github.com/users/navidshaikh/followers","following_url":"https://api.github.com/users/navidshaikh/following{/other_user}","gists_url":"https://api.github.com/users/navidshaikh/gists{/gist_id}","starred_url":"https://api.github.com/users/navidshaikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navidshaikh/subscriptions","organizations_url":"https://api.github.com/users/navidshaikh/orgs","repos_url":"https://api.github.com/users/navidshaikh/repos","events_url":"https://api.github.com/users/navidshaikh/events{/privacy}","received_events_url":"https://api.github.com/users/navidshaikh/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T12:21:57Z","updated_at":"2016-09-07T12:21:57Z","body":"If machine got the different IP address and it is prompting with unreachable error,\r\nwe need to find the correct allocated IP of the box and update it in `provisions/hosts.vagrant.allinone` file and run `vagrant provision`.\r\n\r\n```\r\n$ vagrant up\r\n$ vagrant service-manager box ip #to find out the ip you can ssh and also find the ip manually\r\n# update provisions/hosts.vagrant.allinone file\r\n$ vagrant provision\r\n```\r\nThis solved the issue for me."}}
{"actor":{"display_login":"navidshaikh"}}