{"action":"opened","issue":{"url":"https://api.github.com/repos/redhat-openstack/ansible-role-tripleo-image-build/issues/8","repository_url":"https://api.github.com/repos/redhat-openstack/ansible-role-tripleo-image-build","labels_url":"https://api.github.com/repos/redhat-openstack/ansible-role-tripleo-image-build/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/redhat-openstack/ansible-role-tripleo-image-build/issues/8/comments","events_url":"https://api.github.com/repos/redhat-openstack/ansible-role-tripleo-image-build/issues/8/events","html_url":"https://github.com/redhat-openstack/ansible-role-tripleo-image-build/issues/8","id":148737100,"number":8,"title":"implement 1-hop copy for publishing images (vs. 2)","user":{"login":"trown","id":10535841,"avatar_url":"https://avatars.githubusercontent.com/u/10535841?v=3","gravatar_id":"","url":"https://api.github.com/users/trown","html_url":"https://github.com/trown","followers_url":"https://api.github.com/users/trown/followers","following_url":"https://api.github.com/users/trown/following{/other_user}","gists_url":"https://api.github.com/users/trown/gists{/gist_id}","starred_url":"https://api.github.com/users/trown/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trown/subscriptions","organizations_url":"https://api.github.com/users/trown/orgs","repos_url":"https://api.github.com/users/trown/repos","events_url":"https://api.github.com/users/trown/events{/privacy}","received_events_url":"https://api.github.com/users/trown/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-15T18:42:12Z","updated_at":"2016-04-15T18:42:12Z","closed_at":null,"body":"moved from: https://github.com/redhat-openstack/tripleo-quickstart/issues/64\r\n\r\n halcyondude commented 18 days ago\r\n\r\nBackground: the existing publish role in oooq uses fetch to copy everything from ansible target (virthost in this case) where the images are built --> localhost (or the jenkins slave in the CI use case). They are then copied with a shell block calling rsync, from localhost to publishing destination.\r\n\r\nOn our jenkins slaves this is problematic as the images are single-digit GB in size, and the default home disk for the slaves is 20G . The existing playbook does clean up localhost after the copy, but already I've had a few failures in POC jobs due to space issues on the slaves.\r\n\r\nThis issue is to track creating a simple 1-hop (vs. existing 2-hop) variant of the publish role. Goal is for it to be small, simple, no frills. It will be useful for CI + developers using tripleo-quickstart image building to cook their own custom images.\r\n\r\nIt should use delagate to (from) --> publishing_dest using the synchronize standard module (instead of shell: rsync).\r\n\r\nThe existing playbook will be left alone. We still do require the 2 hop, rsync protocol only (vs ssh) implementation for RDO CI, as there is not direct routes between image build location --> publishing endpoint.\r\n"}}