{"action":"created","issue":{"url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1922","repository_url":"https://api.github.com/repos/blueboxgroup/ursula","labels_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1922/labels{/name}","comments_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1922/comments","events_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1922/events","html_url":"https://github.com/blueboxgroup/ursula/pull/1922","id":157879723,"number":1922,"title":"Convert Ursula PR tests to use a Heat provisioner scheme","user":{"login":"yangzhang-ibm","id":18393820,"avatar_url":"https://avatars.githubusercontent.com/u/18393820?v=3","gravatar_id":"","url":"https://api.github.com/users/yangzhang-ibm","html_url":"https://github.com/yangzhang-ibm","followers_url":"https://api.github.com/users/yangzhang-ibm/followers","following_url":"https://api.github.com/users/yangzhang-ibm/following{/other_user}","gists_url":"https://api.github.com/users/yangzhang-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/yangzhang-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yangzhang-ibm/subscriptions","organizations_url":"https://api.github.com/users/yangzhang-ibm/orgs","repos_url":"https://api.github.com/users/yangzhang-ibm/repos","events_url":"https://api.github.com/users/yangzhang-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/yangzhang-ibm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-01T11:02:48Z","updated_at":"2016-06-03T03:37:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/blueboxgroup/ursula/pulls/1922","html_url":"https://github.com/blueboxgroup/ursula/pull/1922","diff_url":"https://github.com/blueboxgroup/ursula/pull/1922.diff","patch_url":"https://github.com/blueboxgroup/ursula/pull/1922.patch"},"body":"### Problem resolved:\r\nCurrently Ursula PR tests are setup using the Ansible os_* module to provision nodes and other resources.  This approach to provisioning and deployment orchestration for test environments is too cumbersome and not a good fit for creating multiple test environments.\r\n\r\n### Solution of this commit:\r\nThis commit is to add the Heat provisioning capability to the Ursula PR tests and move what we currently have off of Ansible os_* modules onto Heat. Heat is decent at resource provisioning and deployment orchestration and defining environments is much cleaner with the use of templates.\r\n\r\n### Some explanations for my code changes:\r\n* the tmp/ folder is required by ursula-cli to store the generatd ssh_config and ssh_key file, without creating that folder in advance, ursula-cli will raise an error;\r\n* I removed the \"--sudo\" arg from ursula commands in test/setup and test/run scripts, that is to avoid duplication since ursula-cli will always add that when heat provisioner is being used.\r\n* I have put the fixed content of envs/example/ci-full/group_vars/all.yml into that file directly, and let test/setup script only write the dynamic content during runtime with an appending mode instead of previous overwriting mode."},"comment":{"url":"https://api.github.com/repos/blueboxgroup/ursula/issues/comments/223483266","html_url":"https://github.com/blueboxgroup/ursula/pull/1922#issuecomment-223483266","issue_url":"https://api.github.com/repos/blueboxgroup/ursula/issues/1922","id":223483266,"user":{"login":"timrchavez","id":395269,"avatar_url":"https://avatars.githubusercontent.com/u/395269?v=3","gravatar_id":"","url":"https://api.github.com/users/timrchavez","html_url":"https://github.com/timrchavez","followers_url":"https://api.github.com/users/timrchavez/followers","following_url":"https://api.github.com/users/timrchavez/following{/other_user}","gists_url":"https://api.github.com/users/timrchavez/gists{/gist_id}","starred_url":"https://api.github.com/users/timrchavez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrchavez/subscriptions","organizations_url":"https://api.github.com/users/timrchavez/orgs","repos_url":"https://api.github.com/users/timrchavez/repos","events_url":"https://api.github.com/users/timrchavez/events{/privacy}","received_events_url":"https://api.github.com/users/timrchavez/received_events","type":"User","site_admin":false},"created_at":"2016-06-03T03:37:18Z","updated_at":"2016-06-03T03:37:18Z","body":"Yay!"}}
{"actor":{"display_login":"timrchavez"}}