{"action":"created","issue":{"url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/1","repository_url":"https://api.github.com/repos/open-craft/ansible-load-balancer","labels_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/1/comments","events_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/1/events","html_url":"https://github.com/open-craft/ansible-load-balancer/pull/1","id":179111374,"number":1,"title":"Initial implemetation","user":{"login":"smarnach","id":249196,"avatar_url":"https://avatars.githubusercontent.com/u/249196?v=3","gravatar_id":"","url":"https://api.github.com/users/smarnach","html_url":"https://github.com/smarnach","followers_url":"https://api.github.com/users/smarnach/followers","following_url":"https://api.github.com/users/smarnach/following{/other_user}","gists_url":"https://api.github.com/users/smarnach/gists{/gist_id}","starred_url":"https://api.github.com/users/smarnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smarnach/subscriptions","organizations_url":"https://api.github.com/users/smarnach/orgs","repos_url":"https://api.github.com/users/smarnach/repos","events_url":"https://api.github.com/users/smarnach/events{/privacy}","received_events_url":"https://api.github.com/users/smarnach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-25T21:52:24Z","updated_at":"2016-10-01T06:15:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-craft/ansible-load-balancer/pulls/1","html_url":"https://github.com/open-craft/ansible-load-balancer/pull/1","diff_url":"https://github.com/open-craft/ansible-load-balancer/pull/1.diff","patch_url":"https://github.com/open-craft/ansible-load-balancer/pull/1.patch"},"body":"This is an initial implementation for the Ansible role to deploy a load balancing server for the OpenCraft Instance Manager.  The README.md file contains some basic information.\r\n\r\n#### Testing instructions\r\n\r\n1. Deploy an OpenStack instance in the region GRA1 using the account \"OVH - OpenStack - Horizon - OpenCraft IM - Dev\".  Use the image \"xenial-server-cloudimg-unmodified-20160517\".  You probably need to upload an SSH key before deploying the instance.\r\n\r\n2. Check out the test playbook in [this branch](https://github.com/open-craft/deployment-deploy-services/tree/smarnach/lb-test).  (First check out the master version of [deployment-secrets-services](https://github.com/open-craft/deployment-secrets-services) if you haven't already; then go the `deploy` subdirectory and check out the `smarnach/lb-test` branch.)\r\n\r\n3. In the top directory of the deployment-secrets-services repository, edit the Ansible inventory `hosts and add\r\n\r\n        [load-balancer]\r\n        haproxy-test.opencraft.hosting ansible_host=1.2.3.4\r\n\r\n   Use the IP address of your newly deployed VM from step 1.\r\n\r\n4. From the same directory, run the playbook using\r\n\r\n        ansible-playbook -vvv deploy/deploy-lb.yml -u ubuntu --private-key <your-ssh-id> \\\r\n            -i hosts -l haproxy-test.opencraft.hosting -e LETSENCRYPT_USE_STAGING=true\r\n\r\nThe playbook should run successfully.  Once it's finished, add a backend as desribed in `README.md`.  A simple haproxy backend definition is to forward to some webserver running on localhost, e.g.\r\n\r\n    backend be_pydoc\r\n        server srv_pydoc localhost:8000\r\n\r\nThen run `pydoc -p 8000` in another terminal."},"comment":{"url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/comments/250895324","html_url":"https://github.com/open-craft/ansible-load-balancer/pull/1#issuecomment-250895324","issue_url":"https://api.github.com/repos/open-craft/ansible-load-balancer/issues/1","id":250895324,"user":{"login":"antoviaque","id":514483,"avatar_url":"https://avatars.githubusercontent.com/u/514483?v=3","gravatar_id":"","url":"https://api.github.com/users/antoviaque","html_url":"https://github.com/antoviaque","followers_url":"https://api.github.com/users/antoviaque/followers","following_url":"https://api.github.com/users/antoviaque/following{/other_user}","gists_url":"https://api.github.com/users/antoviaque/gists{/gist_id}","starred_url":"https://api.github.com/users/antoviaque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antoviaque/subscriptions","organizations_url":"https://api.github.com/users/antoviaque/orgs","repos_url":"https://api.github.com/users/antoviaque/repos","events_url":"https://api.github.com/users/antoviaque/events{/privacy}","received_events_url":"https://api.github.com/users/antoviaque/received_events","type":"User","site_admin":false},"created_at":"2016-10-01T06:15:51Z","updated_at":"2016-10-01T06:15:51Z","body":"Although that wouldn't have worked on another account of it was the key format. Maybe a quota? I would still try the CLI, and regenerating a new key just in case."}}
{"actor":{"display_login":"antoviaque"}}