{"action":"created","issue":{"url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/555","repository_url":"https://api.github.com/repos/PulpQE/pulp-smash","labels_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/555/labels{/name}","comments_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/555/comments","events_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/555/events","html_url":"https://github.com/PulpQE/pulp-smash/issues/555","id":207085282,"number":555,"title":"Test schema version 2 manifests published by pulp docker","user":{"login":"dkliban","id":294339,"avatar_url":"https://avatars2.githubusercontent.com/u/294339?v=3","gravatar_id":"","url":"https://api.github.com/users/dkliban","html_url":"https://github.com/dkliban","followers_url":"https://api.github.com/users/dkliban/followers","following_url":"https://api.github.com/users/dkliban/following{/other_user}","gists_url":"https://api.github.com/users/dkliban/gists{/gist_id}","starred_url":"https://api.github.com/users/dkliban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkliban/subscriptions","organizations_url":"https://api.github.com/users/dkliban/orgs","repos_url":"https://api.github.com/users/dkliban/repos","events_url":"https://api.github.com/users/dkliban/events{/privacy}","received_events_url":"https://api.github.com/users/dkliban/received_events","type":"User","site_admin":false},"labels":[{"id":294019786,"url":"https://api.github.com/repos/PulpQE/pulp-smash/labels/Issue%20Type:%20Test%20Case","name":"Issue Type: Test Case","color":"bfd4f2","default":false}],"state":"open","locked":false,"assignee":{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars1.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars1.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/PulpQE/pulp-smash/milestones/15","html_url":"https://github.com/PulpQE/pulp-smash/milestone/15","labels_url":"https://api.github.com/repos/PulpQE/pulp-smash/milestones/15/labels","id":2302986,"number":15,"title":"Coverage for 2.13","description":"","creator":{"login":"preethit","id":3870366,"avatar_url":"https://avatars0.githubusercontent.com/u/3870366?v=3","gravatar_id":"","url":"https://api.github.com/users/preethit","html_url":"https://github.com/preethit","followers_url":"https://api.github.com/users/preethit/followers","following_url":"https://api.github.com/users/preethit/following{/other_user}","gists_url":"https://api.github.com/users/preethit/gists{/gist_id}","starred_url":"https://api.github.com/users/preethit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/preethit/subscriptions","organizations_url":"https://api.github.com/users/preethit/orgs","repos_url":"https://api.github.com/users/preethit/repos","events_url":"https://api.github.com/users/preethit/events{/privacy}","received_events_url":"https://api.github.com/users/preethit/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2017-02-06T15:26:22Z","updated_at":"2017-04-17T14:41:18Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2017-02-12T22:14:30Z","updated_at":"2017-04-22T20:39:58Z","closed_at":null,"body":"[Install docker](https://docs.docker.com/engine/installation/). Get docker v2 content. Deploy registry on localhost by following example [here](https://docs.docker.com/registry/deploying/). Go as far as pushing the ubuntu image into the registry.\r\n\r\nCreate a docker v2 repo that will sync from local registry created earlier:\r\n\r\n```bash\r\npulp-admin docker repo create \\\r\n  --feed http://127.0.0.1:5000 \\\r\n  --upstream-name ubuntu \\\r\n  --repo-id mydocker2 \\\r\n  --auto-publish false\r\n```\r\n\r\nSync v2 content from the local registry: `pulp-admin docker repo sync run --repo-id mydocker2`\r\n\r\nClone crane: `git clone git@github.com:/pulp/crane`\r\n\r\nAdd the following /etc/crane.conf:\r\n\r\n```ini\r\n[general]\r\ndebug: true\r\ndata_dir: /var/lib/pulp/published/docker/v2/app/\r\nendpoint: localhost:5001\r\n```\r\n\r\nSync mydocker2 repo from the local registry: `pulp-admin docker repo sync run --repo-id mydocker2`\r\n\r\nPublish mydocker2 repository: `pulp-admin docker repo publish run --repo-id mydocker2`\r\n\r\n[Configure crane](https://github.com/pulp/crane/blob/master/docs/index.rst#deployment). It should run  using apache and mod_wsgi.\r\n\r\nDocker pull from crane: `sudo docker pull localhost:5001/mydocker2`\r\n\r\nVerify that pulling from crane returns a schema version 2 manifest. Grep through `/var/log/httpd/ssl_access_log`. The path accessed during pull should include:\r\n\r\n```\r\n<repo id>/manifests/2/latest 127.0.0.1 - - [12/Feb/2017:22:03:24 +0000] \"GET /pulp/docker/v2/mydocker2/manifests/2/latest HTTP/1.1\" 200 1357\r\n```"},"comment":{"url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/comments/296400048","html_url":"https://github.com/PulpQE/pulp-smash/issues/555#issuecomment-296400048","issue_url":"https://api.github.com/repos/PulpQE/pulp-smash/issues/555","id":296400048,"user":{"login":"Ichimonji10","id":1012989,"avatar_url":"https://avatars1.githubusercontent.com/u/1012989?v=3","gravatar_id":"","url":"https://api.github.com/users/Ichimonji10","html_url":"https://github.com/Ichimonji10","followers_url":"https://api.github.com/users/Ichimonji10/followers","following_url":"https://api.github.com/users/Ichimonji10/following{/other_user}","gists_url":"https://api.github.com/users/Ichimonji10/gists{/gist_id}","starred_url":"https://api.github.com/users/Ichimonji10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ichimonji10/subscriptions","organizations_url":"https://api.github.com/users/Ichimonji10/orgs","repos_url":"https://api.github.com/users/Ichimonji10/repos","events_url":"https://api.github.com/users/Ichimonji10/events{/privacy}","received_events_url":"https://api.github.com/users/Ichimonji10/received_events","type":"User","site_admin":false},"created_at":"2017-04-22T20:39:58Z","updated_at":"2017-04-22T20:39:58Z","body":"Red Hat and Fedora's services are back up and running. I verified the following issues:\r\n\r\n* https://pulp.plan.io/issues/2099\r\n* https://pulp.plan.io/issues/2336\r\n\r\nI verified these issues on a Fedora 24 system with the 2.13 beta installed by doing the following:\r\n\r\n1. Create a Docker repository with a (v2) feed of https://registry-1.docker.io.\r\n2. Sync the library/busybox image.\r\n3. Publish the repository.\r\n4. Run `docker pull localhost:5000/repo-name`.\r\n5. Execute `docker run localhost:5000/repo-name echo foo` and `docker run image-checksum echo foo`.\r\n\r\nThis test is basic, but it at least verifies that Docker repositories can manage v2 content. Also, for the record:\r\n\r\n```console\r\n$ docker --version\r\nDocker version 1.10.3, build e03ddb8/1.10.3\r\n```\r\n\r\nI executed an abbreviated version of the above on Fedora 25 and RHEL 7 with the 2.13 beta. I couldn't execute complete tests on those distributions due to an error with `docker-storage-setup.service`. Oh, and I ran the tests in [Pulp Smash #624](https://github.com/PulpQE/pulp-smash/pull/624) against all three systems. The results were as expected."}}
{"actor":{"display_login":"Ichimonji10"}}