{"action":"created","issue":{"url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/62","labels_url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/62/comments","events_url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/62/events","html_url":"https://github.com/rhtconsulting/rhc-ose/pull/62","id":113501276,"number":62,"title":"Updated OpenStack tools to support auto generating new base image","user":{"login":"oybed","id":7549785,"avatar_url":"https://avatars.githubusercontent.com/u/7549785?v=3","gravatar_id":"","url":"https://api.github.com/users/oybed","html_url":"https://github.com/oybed","followers_url":"https://api.github.com/users/oybed/followers","following_url":"https://api.github.com/users/oybed/following{/other_user}","gists_url":"https://api.github.com/users/oybed/gists{/gist_id}","starred_url":"https://api.github.com/users/oybed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oybed/subscriptions","organizations_url":"https://api.github.com/users/oybed/orgs","repos_url":"https://api.github.com/users/oybed/repos","events_url":"https://api.github.com/users/oybed/events{/privacy}","received_events_url":"https://api.github.com/users/oybed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-27T03:53:46Z","updated_at":"2015-10-28T01:17:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rhtconsulting/rhc-ose/pulls/62","html_url":"https://github.com/rhtconsulting/rhc-ose/pull/62","diff_url":"https://github.com/rhtconsulting/rhc-ose/pull/62.diff","patch_url":"https://github.com/rhtconsulting/rhc-ose/pull/62.patch"},"body":"#### What does this PR do?\r\nThis change makes it possible to automatically tailor one of the existing _OS*_ OS1 images to become the base image for use with OSE3. With this update, the create_base_image script now does the full job from spinning up an instance, tailoring the content, capturing the snapshot and cleaning up the temporary instance. \r\n\r\nWhen a new base image is needed, the normal workflow will now be:\r\n```\r\n1. Use \"create_base_image\" to create a new/updated ose3-base image. \r\n    a. The new image is named \"ose3-test-img-<time-date>.qcow2\" \r\n2. Use the image from 1a above to test it with the osc-provision tool\r\n3. If everything looks good, renamed the image to a more appropriate name (and eventually replace the main \"ose3-base\" image). \r\n4. Use the \"Images\" >> \"Edit\" feature of the OS console to make the image \"public\"\r\n```\r\n\r\n#### How should this be manually tested?\r\n1. Run \"./create_base_image -k=\\<key\\>\" to create a new image\r\n2. Make note of the new image name\r\n3. Use a config file for osc-provision to specify the new image as the \"base\" image for an installation\r\n4. Run \"./osc-provision --num-nodes=2 --key=\\<key\\> --config=\\<path_to_config\\>\" to test the new image.\r\n\r\n\r\n#### Is there a relevant Issue open for this?\r\nIssue #34 is related, but this change also resolves other aspects of operating the environment.\r\n\r\n#### Who would you like to review this?\r\n/cc @etsauer "},"comment":{"url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/comments/151689677","html_url":"https://github.com/rhtconsulting/rhc-ose/pull/62#issuecomment-151689677","issue_url":"https://api.github.com/repos/rhtconsulting/rhc-ose/issues/62","id":151689677,"user":{"login":"etsauer","id":4500758,"avatar_url":"https://avatars.githubusercontent.com/u/4500758?v=3","gravatar_id":"","url":"https://api.github.com/users/etsauer","html_url":"https://github.com/etsauer","followers_url":"https://api.github.com/users/etsauer/followers","following_url":"https://api.github.com/users/etsauer/following{/other_user}","gists_url":"https://api.github.com/users/etsauer/gists{/gist_id}","starred_url":"https://api.github.com/users/etsauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/etsauer/subscriptions","organizations_url":"https://api.github.com/users/etsauer/orgs","repos_url":"https://api.github.com/users/etsauer/repos","events_url":"https://api.github.com/users/etsauer/events{/privacy}","received_events_url":"https://api.github.com/users/etsauer/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T01:17:35Z","updated_at":"2015-10-28T01:17:35Z","body":"looks good. merging"}}