{"action":"created","issue":{"url":"https://api.github.com/repos/acozine/sufia-ansible/issues/11","labels_url":"https://api.github.com/repos/acozine/sufia-ansible/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/acozine/sufia-ansible/issues/11/comments","events_url":"https://api.github.com/repos/acozine/sufia-ansible/issues/11/events","html_url":"https://github.com/acozine/sufia-ansible/issues/11","id":108010293,"number":11,"title":"Vagrant deployment fails at \"housekeeping | format volume for /opt\" with \"Device /dev/xvdf not found\"","user":{"login":"erickpeirson","id":3451594,"avatar_url":"https://avatars.githubusercontent.com/u/3451594?v=3","gravatar_id":"","url":"https://api.github.com/users/erickpeirson","html_url":"https://github.com/erickpeirson","followers_url":"https://api.github.com/users/erickpeirson/followers","following_url":"https://api.github.com/users/erickpeirson/following{/other_user}","gists_url":"https://api.github.com/users/erickpeirson/gists{/gist_id}","starred_url":"https://api.github.com/users/erickpeirson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erickpeirson/subscriptions","organizations_url":"https://api.github.com/users/erickpeirson/orgs","repos_url":"https://api.github.com/users/erickpeirson/repos","events_url":"https://api.github.com/users/erickpeirson/events{/privacy}","received_events_url":"https://api.github.com/users/erickpeirson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-23T21:27:41Z","updated_at":"2015-09-24T14:35:12Z","closed_at":null,"body":"I tried deploying in Vagrant using your sample Vagrantfile. It all got off to a great start, but went off the rails when it got to the task: ``housekeeping | format volume for /opt``. \r\n\r\n```shell\r\nTASK: [housekeeping | format volume for /opt] *********************************\r\nfailed: [default] => {\"failed\": true}\r\nmsg: Device /dev/xvdf not found.\r\n \r\nFATAL: all hosts have already failed -- aborting\r\n \r\nPLAY RECAP ********************************************************************\r\n          to retry, use: --limit @/Users/erickpeirson/vagrant.retry\r\n \r\ndefault                    : ok=4    changed=2    unreachable=0    failed=1  \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\r\nThe entire Vagrant output is [here](http://pastebin.com/qGxfEM44). \r\n\r\nVagrant 1.7.4\r\nAnsible 1.9.3"},"comment":{"url":"https://api.github.com/repos/acozine/sufia-ansible/issues/comments/142947670","html_url":"https://github.com/acozine/sufia-ansible/issues/11#issuecomment-142947670","issue_url":"https://api.github.com/repos/acozine/sufia-ansible/issues/11","id":142947670,"user":{"login":"acozine","id":879121,"avatar_url":"https://avatars.githubusercontent.com/u/879121?v=3","gravatar_id":"","url":"https://api.github.com/users/acozine","html_url":"https://github.com/acozine","followers_url":"https://api.github.com/users/acozine/followers","following_url":"https://api.github.com/users/acozine/following{/other_user}","gists_url":"https://api.github.com/users/acozine/gists{/gist_id}","starred_url":"https://api.github.com/users/acozine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acozine/subscriptions","organizations_url":"https://api.github.com/users/acozine/orgs","repos_url":"https://api.github.com/users/acozine/repos","events_url":"https://api.github.com/users/acozine/events{/privacy}","received_events_url":"https://api.github.com/users/acozine/received_events","type":"User","site_admin":false},"created_at":"2015-09-24T14:35:12Z","updated_at":"2015-09-24T14:35:12Z","body":"Thanks for testing and for providing feedback! \n\nThe Ansible scripts put symlinks in place for the schema.xml and solrconfig.xml files. If you deploy with Capistrano to the expected directory (/opt/sufia-project/current) those files get placed where the symlinks expect them. Once the code is in place, you need to restart Tomcat, then restart Apache. This is the primary reason I’d like to recreate the Capistrano functionality in Ansible, to make the entire process run with a single command.\n\n\nOn Sep 23, 2015, at 11:54 PM, Erick <notifications@github.com> wrote:\n\n> Replacing the broken symlinks with /opt/install/solr-4.10.3/example/solr/collection1/conf/schema.xml and solrconfig.xml solved the problem.\n> \n> —\n> Reply to this email directly or view it on GitHub.\n> \n\n"}}