|
[vagrant@centos7-devel tmp]$ skopeo copy docker://docker.io/library/alpine dir:/tmp/alpine_schema2
|
|
Getting image source signatures
|
|
Copying blob sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
|
|
2.10 MB / 2.10 MB [========================================================] 0s
|
|
Copying config sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321
|
|
1.48 KB / 1.48 KB [========================================================] 0s
|
|
Writing manifest to image destination
|
|
Storing signatures
|
|
|
|
|
|
[vagrant@centos7-devel tmp]$ skopeo copy --format v2s1 docker://docker.io/library/alpine dir:/tmp/alpine_schema1
|
|
Getting image source signatures
|
|
Copying blob sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
|
|
2.10 MB / 2.10 MB [========================================================] 0s
|
|
Writing manifest to image destination
|
|
Storing signatures
|
|
|
|
|
|
|
|
[vagrant@centos7-devel tmp]$ cat alpine_schema1/manifest.json
|
|
{"name":"","tag":"","architecture":"amd64","fsLayers":[{"blobSum":"sha256:a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4"},{"blobSum":"sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"}],"history":[{"v1Compatibility":"{\"architecture\":\"amd64\",\"config\":{\"Hostname\":\"\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\"],\"ArgsEscaped\":true,\"Image\":\"sha256:836dc9b148a584f3f42ac645c7d2bfa11423c1a07a054446314e11259f0e59b7\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":null},\"container\":\"cdce86c23e71b41aab0cdb15c010945deadaf59b296f216b0f9f43c331730049\",\"container_config\":{\"Hostname\":\"cdce86c23e71\",\"Domainname\":\"\",\"User\":\"\",\"AttachStdin\":false,\"AttachStdout\":false,\"AttachStderr\":false,\"Tty\":false,\"OpenStdin\":false,\"StdinOnce\":false,\"Env\":[\"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\"],\"Cmd\":[\"/bin/sh\",\"-c\",\"#(nop) \",\"CMD [\\\"/bin/sh\\\"]\"],\"ArgsEscaped\":true,\"Image\":\"sha256:836dc9b148a584f3f42ac645c7d2bfa11423c1a07a054446314e11259f0e59b7\",\"Volumes\":null,\"WorkingDir\":\"\",\"Entrypoint\":null,\"OnBuild\":null,\"Labels\":{}},\"created\":\"2018-09-11T22:19:50.322783064Z\",\"docker_version\":\"17.06.2-ce\",\"id\":\"f33084b4b6032f9c77744a165174368fa4aed696ac301bfe504fa5533121690f\",\"os\":\"linux\",\"parent\":\"70034ea7817b10a77d60705f61423abcc61b8bb299571494ddbfd4f1f83f46ee\",\"throwaway\":true}"},{"v1Compatibility":"{\"id\":\"70034ea7817b10a77d60705f61423abcc61b8bb299571494ddbfd4f1f83f46ee\",\"created\":\"2018-09-11T22:19:50.165674013Z\",\"container_config\":{\"Cmd\":[\"/bin/sh -c #(nop) ADD file:25c10b1d1b41d46a1827ad0b0d2389c24df6d31430005ff4e9a2d84ea23ebd42 in / \"]}}"}],"schemaVersion":1,"signatures":[{"header":{"jwk":{"crv":"P-256","kid":"K6GN:HTKC:SUEJ:EJVK:3PGL:3AZR:4K6U:ISDY:I5AL:XMFH:NYGX:GCA6","kty":"EC","x":"Gba4cHqvKRtc6t3Rwll6ODX7a0pWVeLnNC6rYHGmMc4","y":"VeSl80R4QAa6t5Jb3tsca6Xgm0YrFnQB5TenZ5es-gI"},"alg":"ES256"},"signature":"3KneuDXT9GWkFIlZ-hNHg3zBkcxG2tP1S1ubqY9Bt7SwXClAAgFCep-8zkxEyZKcVI8pn7rQSfaJXRm3SwSKxg","protected":"eyJmb3JtYXRMZW5ndGgiOjE5ODMsImZvcm1hdFRhaWwiOiJmUSIsInRpbWUiOiIyMDE4LTExLTAyVDE0OjA5OjE1WiJ9"}]}[vagrant@centos7-devel tmp]$
|
|
[vagrant@centos7-devel tmp]$ cat alpine_schema2/manifest.json
|
|
{
|
|
"schemaVersion": 2,
|
|
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
|
|
"config": {
|
|
"mediaType": "application/vnd.docker.container.image.v1+json",
|
|
"size": 1512,
|
|
"digest": "sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321"
|
|
},
|
|
"layers": [
|
|
{
|
|
"mediaType": "application/vnd.docker.image.rootfs.diff.tar.gzip",
|
|
"size": 2206931,
|
|
"digest": "sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"
|
|
}
|
|
]
|
|
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo list
|
|
+----------------------------------------------------------------------+
|
|
Docker Repositories
|
|
+----------------------------------------------------------------------+
|
|
|
|
2018-11-02 14:10:40,373 - DEBUG - sending GET request to /pulp/api/v2/repositories/
|
|
2018-11-02 14:10:40,453 - INFO - GET request to /pulp/api/v2/repositories/ with parameters None
|
|
2018-11-02 14:10:40,453 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:10:40,456 - INFO - Response body :
|
|
[
|
|
{
|
|
"scratchpad": {
|
|
"checksum_type": "sha256"
|
|
},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-26T18:30:59Z",
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"rpm": 32,
|
|
"erratum": 4
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1bc95a19bf81768c2020a"
|
|
},
|
|
"id": "747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-31T14:09:23Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_manifest": 41,
|
|
"docker_blob": 80,
|
|
"docker_manifest_list": 9,
|
|
"docker_tag": 22
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1bca3a19bf81768c2020f"
|
|
},
|
|
"id": "046a5280-3250-475f-8d65-68258c9237e2",
|
|
"_href": "/pulp/api/v2/repositories/046a5280-3250-475f-8d65-68258c9237e2/"
|
|
},
|
|
{
|
|
"scratchpad": {
|
|
"checksum_type": "sha1"
|
|
},
|
|
"display_name": "Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-27T02:17:57Z",
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"erratum": 3115,
|
|
"package_group": 76,
|
|
"package_category": 9,
|
|
"package_environment": 6,
|
|
"package_langpacks": 1,
|
|
"rpm": 21088,
|
|
"yum_repo_metadata_file": 1
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1bdcaa19bf81768c20212"
|
|
},
|
|
"id": "34404394-51fc-47ed-b145-b925210aa887",
|
|
"_href": "/pulp/api/v2/repositories/34404394-51fc-47ed-b145-b925210aa887/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1bfeca19bf81767909957"
|
|
},
|
|
"id": "1-cv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1bffea19bf81767909961"
|
|
},
|
|
"id": "1-cv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c000a19bf81768c2021f"
|
|
},
|
|
"id": "1-cv1-v1_0-puppet-b938b670-dfe4-43f3-9c00-8ac5889a846c",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v1_0-puppet-b938b670-dfe4-43f3-9c00-8ac5889a846c/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c016a19bf81767909967"
|
|
},
|
|
"id": "1-cv1-v2_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v2_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c01fa19bf817663fd046"
|
|
},
|
|
"id": "1-cv1-v2_0-puppet-bc269c23-cc57-4ad0-8c28-a75be1185a85",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v2_0-puppet-bc269c23-cc57-4ad0-8c28-a75be1185a85/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c77ca19bf817663fd04a"
|
|
},
|
|
"id": "1-cv1-Test-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-Test-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c77ca19bf817663fd04b"
|
|
},
|
|
"id": "1-cv1-Devel-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-Devel-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c786a19bf81768c2022b"
|
|
},
|
|
"id": "1-cv1-Production-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-Production-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c924a19bf817663fd054"
|
|
},
|
|
"id": "1-cv1-v3_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v3_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1c932a19bf8176790997a"
|
|
},
|
|
"id": "1-cv1-v3_0-puppet-ade1ebff-2e87-4bb8-a49f-be24ef465e74",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v3_0-puppet-ade1ebff-2e87-4bb8-a49f-be24ef465e74/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1d14ea19bf817663fd061"
|
|
},
|
|
"id": "1-cv1-v4_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v4_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd1d157a19bf81767909983"
|
|
},
|
|
"id": "1-cv1-v4_0-puppet-d1b441cd-47ca-4c30-b0a4-5170c4b63223",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v4_0-puppet-d1b441cd-47ca-4c30-b0a4-5170c4b63223/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22c54a19bf803b9f67f7e"
|
|
},
|
|
"id": "1-cv1-v5_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v5_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22c5ca19bf803b9f67f8b"
|
|
},
|
|
"id": "1-cv1-v5_0-puppet-7b9413d5-0e8c-4368-a1f3-902f2a8bbc28",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v5_0-puppet-7b9413d5-0e8c-4368-a1f3-902f2a8bbc28/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22d87a19bf803ba952032"
|
|
},
|
|
"id": "1-cv1-v6_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v6_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22d98a19bf803ba95203d"
|
|
},
|
|
"id": "1-cv1-v6_0-puppet-4e79d2af-f87f-411e-a865-dae5a9deadba",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v6_0-puppet-4e79d2af-f87f-411e-a865-dae5a9deadba/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22e34a19bf803bc1f2aee"
|
|
},
|
|
"id": "1-cv1-v7_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v7_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22e3ba19bf803bc1f2afb"
|
|
},
|
|
"id": "1-cv1-v7_0-puppet-f267fa7b-44b4-480d-8d25-e85345d9adea",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v7_0-puppet-f267fa7b-44b4-480d-8d25-e85345d9adea/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22f95a19bf803ba952046"
|
|
},
|
|
"id": "1-compcv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-compcv1-v1_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22f96a19bf803bc1f2afe"
|
|
},
|
|
"id": "1-compcv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-compcv1-Library-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "compcv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd22f97a19bf803bc1f2b03"
|
|
},
|
|
"id": "1-compcv1-v1_0-puppet-09a26957-b7c5-4425-a3bc-06da4936f4b6",
|
|
"_href": "/pulp/api/v2/repositories/1-compcv1-v1_0-puppet-09a26957-b7c5-4425-a3bc-06da4936f4b6/"
|
|
},
|
|
{
|
|
"scratchpad": {
|
|
"checksum_type": "sha256"
|
|
},
|
|
"display_name": "katello 3.9 client",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-27T02:00:38Z",
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": "2018-10-27T02:00:35Z",
|
|
"content_unit_counts": {
|
|
"package_group": 2,
|
|
"rpm": 40
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd35dd0a19bf8145ff8922c"
|
|
},
|
|
"id": "dd52e27b-fd37-4c9c-b4aa-6d90fef39f68",
|
|
"_href": "/pulp/api/v2/repositories/dd52e27b-fd37-4c9c-b4aa-6d90fef39f68/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-29T18:47:23Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_manifest": 41,
|
|
"docker_blob": 80,
|
|
"docker_manifest_list": 9,
|
|
"docker_tag": 22
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd755b9a19bf857deebfa54"
|
|
},
|
|
"id": "1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2",
|
|
"_href": "/pulp/api/v2/repositories/1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-29T18:47:26Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_manifest": 41,
|
|
"docker_blob": 80,
|
|
"docker_manifest_list": 9,
|
|
"docker_tag": 22
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd755bda19bf857deebfa59"
|
|
},
|
|
"id": "1-docker-library-046a5280-3250-475f-8d65-68258c9237e2",
|
|
"_href": "/pulp/api/v2/repositories/1-docker-library-046a5280-3250-475f-8d65-68258c9237e2/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "docker",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd755c2a19bf857dd69145c"
|
|
},
|
|
"id": "1-docker-v1_0-puppet-77e0ece5-274c-4751-a0a8-af3ddc24f1ee",
|
|
"_href": "/pulp/api/v2/repositories/1-docker-v1_0-puppet-77e0ece5-274c-4751-a0a8-af3ddc24f1ee/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-29T18:47:51Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_manifest": 41,
|
|
"docker_blob": 80,
|
|
"docker_manifest_list": 9,
|
|
"docker_tag": 22
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd755d6a19bf857dd691460"
|
|
},
|
|
"id": "1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2",
|
|
"_href": "/pulp/api/v2/repositories/1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "zoo",
|
|
"description": null,
|
|
"last_unit_added": "2018-10-30T18:07:31Z",
|
|
"notes": {
|
|
"_repo-type": "rpm-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"rpm": 32,
|
|
"erratum": 4
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd89de2a19bf84b91b8cbe3"
|
|
},
|
|
"id": "1-cv1-v8_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v8_0-747d2f8a-b5f4-46c2-8fb3-37e2adb1a7dc/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "cv1",
|
|
"description": null,
|
|
"last_unit_added": null,
|
|
"notes": {
|
|
"_repo-type": "puppet-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bd89deaa19bf84b90b59d43"
|
|
},
|
|
"id": "1-cv1-v8_0-puppet-64a69356-fd48-4cbf-9e76-e4eadf6ac1fd",
|
|
"_href": "/pulp/api/v2/repositories/1-cv1-v8_0-puppet-64a69356-fd48-4cbf-9e76-e4eadf6ac1fd/"
|
|
},
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine2",
|
|
"description": null,
|
|
"last_unit_added": "2018-11-02T13:10:49Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_blob": 2,
|
|
"docker_manifest": 1,
|
|
"docker_tag": 1
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bdb1423a19bf8574d4ccb12"
|
|
},
|
|
"id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
|
|
}
|
|
]
|
|
|
|
Id: 046a5280-3250-475f-8d65-68258c9237e2
|
|
Display Name: alpine
|
|
Description: None
|
|
Content Unit Counts:
|
|
Docker Blob: 80
|
|
Docker Manifest: 41
|
|
Docker Manifest List: 9
|
|
Docker Tag: 22
|
|
|
|
Id: 1-docker-v1_0-046a5280-3250-475f-8d65-68258c9237e2
|
|
Display Name: alpine
|
|
Description: None
|
|
Content Unit Counts:
|
|
Docker Blob: 80
|
|
Docker Manifest: 41
|
|
Docker Manifest List: 9
|
|
Docker Tag: 22
|
|
|
|
Id: 1-docker-library-046a5280-3250-475f-8d65-68258c9237e2
|
|
Display Name: alpine
|
|
Description: None
|
|
Content Unit Counts:
|
|
Docker Blob: 80
|
|
Docker Manifest: 41
|
|
Docker Manifest List: 9
|
|
Docker Tag: 22
|
|
|
|
Id: 1-docker-docker-046a5280-3250-475f-8d65-68258c9237e2
|
|
Display Name: alpine
|
|
Description: None
|
|
Content Unit Counts:
|
|
Docker Blob: 80
|
|
Docker Manifest: 41
|
|
Docker Manifest List: 9
|
|
Docker Tag: 22
|
|
|
|
Id: 883a06e7-6118-4f2e-a75e-cf5f63224e5d
|
|
Display Name: alpine2
|
|
Description: None
|
|
Content Unit Counts:
|
|
Docker Blob: 2
|
|
Docker Manifest: 1
|
|
Docker Tag: 1
|
|
|
|
|
|
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f ^C
|
|
[vagrant@centos7-devel tmp]$ cd alpine_schema1 && tar -cvf ../alpine_schema1.tar * && cd ..
|
|
4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
|
|
a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4
|
|
manifest.json
|
|
version
|
|
[vagrant@centos7-devel tmp]$ cd alpine_schema2 && tar -cvf ../alpine_schema2.tar * && cd ..
|
|
196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321
|
|
4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde
|
|
manifest.json
|
|
version
|
|
[vagrant@centos7-devel tmp]$ l
|
|
-bash: l: command not found
|
|
[vagrant@centos7-devel tmp]$ ls -la
|
|
total 6608
|
|
drwxr-xr-x. 12 vagrant vagrant 4096 Nov 2 14:11 .
|
|
drwxr-xr-x. 26 vagrant vagrant 4096 Nov 1 16:26 ..
|
|
-rw-------. 1 vagrant vagrant 1536 Nov 2 13:12 45571bcea982fb66383e6287e42413db0c40af8e3484bc85157974851ad70169.tar
|
|
-rw-------. 1 vagrant vagrant 32 Nov 1 17:49 a3ed95caeb02ffe68cdd9fd84406680ae93d633cb16422d00e8a7c22955b46d4.tar
|
|
-rw-rw-r--. 1 vagrant vagrant 2222080 Nov 1 15:37 alpine2.tar
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Nov 2 14:09 alpine_schema1
|
|
-rw-rw-r--. 1 vagrant vagrant 2222080 Nov 2 14:11 alpine_schema1.tar
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Nov 2 14:09 alpine_schema2
|
|
-rw-rw-r--. 1 vagrant vagrant 2222080 Nov 2 14:11 alpine_schema2.tar
|
|
drwxr-xr-x. 43 vagrant vagrant 4096 Nov 2 13:44 cache
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Oct 28 23:47 combined_fixtures
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Nov 1 17:50 default_organization-custom-alpine2_latest
|
|
-rw-rw-r--. 1 vagrant vagrant 10240 Nov 2 13:10 default_organization-custom-alpine2_latest.tar
|
|
-rw-rw-r--. 1 vagrant vagrant 10240 Nov 2 13:12 default_organization-custom-alpine_foo.tar
|
|
-rw-------. 1 vagrant vagrant 246 Nov 2 13:12 ff7fe5ebb65a3211e97ea257b49611f0bf036f78c69df39e562df4629d652c8a.tar
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Nov 1 14:45 foo
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Oct 31 00:14 library
|
|
drwxr-xr-x. 2 vagrant vagrant 4096 Nov 1 14:42 pids
|
|
-rw-------. 1 vagrant vagrant 128 Aug 10 03:42 secret_token
|
|
drwxr-xr-x. 2 vagrant vagrant 4096 Aug 10 03:42 sockets
|
|
drwxrwxr-x. 2 vagrant vagrant 4096 Sep 11 14:34 uploads
|
|
-rw-r--r--. 1 vagrant vagrant 33 Oct 31 12:32 version
|
|
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f alpine_schema2.tar
|
|
+----------------------------------------------------------------------+
|
|
Unit Upload
|
|
+----------------------------------------------------------------------+
|
|
|
|
2018-11-02 14:12:11,307 - DEBUG - sending GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/
|
|
2018-11-02 14:12:11,370 - INFO - GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/ with parameters None
|
|
2018-11-02 14:12:11,370 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:11,371 - INFO - Response body :
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine2",
|
|
"description": null,
|
|
"last_unit_added": "2018-11-02T13:10:49Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_blob": 2,
|
|
"docker_manifest": 1,
|
|
"docker_tag": 1
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bdb1423a19bf8574d4ccb12"
|
|
},
|
|
"id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
|
|
}
|
|
|
|
Extracting necessary metadata for each request...
|
|
[==================================================] 100%
|
|
Analyzing: alpine_schema2.tar
|
|
... completed
|
|
|
|
Creating upload requests on the server...
|
|
[==================================================] 100%
|
|
Initializing: alpine_schema2.tar
|
|
2018-11-02 14:12:11,374 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
|
|
2018-11-02 14:12:11,432 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
|
|
2018-11-02 14:12:11,432 - INFO - Response status : 201
|
|
|
|
2018-11-02 14:12:11,432 - INFO - Response body :
|
|
{
|
|
"upload_id": "d6efd27b-b92d-4f13-9b27-006ed1463d86",
|
|
"_href": "/pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/"
|
|
}
|
|
|
|
... completed
|
|
|
|
Starting upload of selected units. If this process is stopped through ctrl+c,
|
|
the uploads will be paused and may be resumed later using the resume command or
|
|
canceled entirely using the cancel command.
|
|
|
|
Uploading: alpine_schema2.tar
|
|
2018-11-02 14:12:11,437 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/0/
|
|
2018-11-02 14:12:11,506 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/0/
|
|
2018-11-02 14:12:11,507 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:11,507 - INFO - Response body :
|
|
null
|
|
|
|
[======================= ] 47%
|
|
1048576/2222080 bytes
|
|
2018-11-02 14:12:11,509 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/1048576/
|
|
2018-11-02 14:12:11,595 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/1048576/
|
|
2018-11-02 14:12:11,595 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:11,595 - INFO - Response body :
|
|
[=============================================== ] 94%
|
|
2097152/2222080 bytes
|
|
2018-11-02 14:12:11,597 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/2097152/
|
|
2018-11-02 14:12:11,657 - INFO - PUT request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/2097152/
|
|
2018-11-02 14:12:11,657 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:11,657 - INFO - Response body :
|
|
[==================================================] 100%
|
|
2222080/2222080 bytes
|
|
... completed
|
|
|
|
Importing into the repository...
|
|
2018-11-02 14:12:11,661 - DEBUG - sending POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/
|
|
2018-11-02 14:12:11,726 - INFO - POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/ with parameters {"override_config": {}, "unit_type_id": "docker_manifest", "upload_id": "d6efd27b-b92d-4f13-9b27-006ed1463d86", "unit_key": {}, "unit_metadata": {}}
|
|
2018-11-02 14:12:11,726 - INFO - Response status : 202
|
|
|
|
2018-11-02 14:12:11,726 - INFO - Response body :
|
|
{
|
|
"spawned_tasks": [
|
|
{
|
|
"_href": "/pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/",
|
|
"task_id": "b112d6d1-f495-4a59-b5c2-f1a6336ec8f6"
|
|
}
|
|
],
|
|
"result": null,
|
|
"error": null
|
|
}
|
|
|
|
This command may be exited via ctrl+c without affecting the request.
|
|
|
|
|
|
[-]
|
|
Running...
|
|
2018-11-02 14:12:12,728 - DEBUG - sending GET request to /pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/
|
|
2018-11-02 14:12:12,795 - INFO - GET request to /pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/ with parameters None
|
|
2018-11-02 14:12:12,795 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:12,796 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
|
|
"_href": "/pulp/api/v2/tasks/b112d6d1-f495-4a59-b5c2-f1a6336ec8f6/",
|
|
"task_id": "b112d6d1-f495-4a59-b5c2-f1a6336ec8f6",
|
|
"tags": [
|
|
"pulp:repository:883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"pulp:action:import_upload"
|
|
],
|
|
"finish_time": "2018-11-02T14:12:11Z",
|
|
"_ns": "task_status",
|
|
"start_time": "2018-11-02T14:12:11Z",
|
|
"traceback": null,
|
|
"spawned_tasks": [],
|
|
"progress_report": {},
|
|
"queue": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop.dq2",
|
|
"state": "finished",
|
|
"worker_name": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop",
|
|
"result": {
|
|
"details": {
|
|
"unit": {
|
|
"type_id": "docker_manifest",
|
|
"unit_key": {
|
|
"digest": "sha256:02892826401a9d18f0ea01f8a2f35d328ef039db4e1edcc45c630314a0457d5b"
|
|
},
|
|
"metadata": {
|
|
"fs_layers": [
|
|
{
|
|
"layer_type": "application/vnd.docker.image.rootfs.diff.tar.gzip",
|
|
"size": 2206931,
|
|
"_cls": "FSLayer",
|
|
"blob_sum": "sha256:4fe2ade4980c2dda4fc95858ebb981489baec8c1e4bd282ab1c3560be8ff9bde"
|
|
}
|
|
],
|
|
"schema_version": 2,
|
|
"downloaded": true,
|
|
"pulp_user_metadata": {},
|
|
"config_layer": "sha256:196d12cf6ab19273823e700516e98eb1910b03b17840f9d5509f03858484d321",
|
|
"id": "89162362-ed33-4573-8f58-713930440666",
|
|
"digest": "sha256:02892826401a9d18f0ea01f8a2f35d328ef039db4e1edcc45c630314a0457d5b"
|
|
}
|
|
}
|
|
},
|
|
"success_flag": true,
|
|
"summary": ""
|
|
},
|
|
"error": null,
|
|
"_id": {
|
|
"$oid": "5bdc5b3b8037221aff3a23b0"
|
|
},
|
|
"id": "5bdc5b3b8037221aff3a23b0"
|
|
[\]
|
|
Running...
|
|
|
|
Task Succeeded
|
|
|
|
|
|
Deleting the upload request...
|
|
2018-11-02 14:12:12,796 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/
|
|
2018-11-02 14:12:12,854 - INFO - DELETE request to /pulp/api/v2/content/uploads/d6efd27b-b92d-4f13-9b27-006ed1463d86/ with parameters None
|
|
2018-11-02 14:12:12,854 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:12,854 - INFO - Response body :
|
|
null
|
|
|
|
... completed
|
|
|
|
[vagrant@centos7-devel tmp]$ pulp-admin -vvv -u admin -p $pulpAdminPassword docker repo uploads upload --repo-id=883a06e7-6118-4f2e-a75e-cf5f63224e5d -f alpine_schema1.tar
|
|
+----------------------------------------------------------------------+
|
|
Unit Upload
|
|
+----------------------------------------------------------------------+
|
|
|
|
2018-11-02 14:12:20,288 - DEBUG - sending GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/
|
|
2018-11-02 14:12:20,355 - INFO - GET request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/ with parameters None
|
|
2018-11-02 14:12:20,355 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:20,355 - INFO - Response body :
|
|
{
|
|
"scratchpad": {},
|
|
"display_name": "alpine2",
|
|
"description": null,
|
|
"last_unit_added": "2018-11-02T14:12:11Z",
|
|
"notes": {
|
|
"_repo-type": "docker-repo"
|
|
},
|
|
"last_unit_removed": null,
|
|
"content_unit_counts": {
|
|
"docker_blob": 2,
|
|
"docker_manifest": 1,
|
|
"docker_tag": 1
|
|
},
|
|
"_ns": "repos",
|
|
"_id": {
|
|
"$oid": "5bdb1423a19bf8574d4ccb12"
|
|
},
|
|
"id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"_href": "/pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/"
|
|
}
|
|
|
|
Extracting necessary metadata for each request...
|
|
[==================================================] 100%
|
|
Analyzing: alpine_schema1.tar
|
|
... completed
|
|
|
|
Creating upload requests on the server...
|
|
[==================================================] 100%
|
|
Initializing: alpine_schema1.tar
|
|
2018-11-02 14:12:20,358 - DEBUG - sending POST request to /pulp/api/v2/content/uploads/
|
|
2018-11-02 14:12:20,417 - INFO - POST request to /pulp/api/v2/content/uploads/ with parameters None
|
|
2018-11-02 14:12:20,418 - INFO - Response status : 201
|
|
|
|
2018-11-02 14:12:20,418 - INFO - Response body :
|
|
{
|
|
"upload_id": "1aebc1a5-a522-4763-ab44-b59e10759796",
|
|
"_href": "/pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/"
|
|
}
|
|
|
|
... completed
|
|
|
|
Starting upload of selected units. If this process is stopped through ctrl+c,
|
|
the uploads will be paused and may be resumed later using the resume command or
|
|
canceled entirely using the cancel command.
|
|
|
|
Uploading: alpine_schema1.tar
|
|
2018-11-02 14:12:20,422 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/0/
|
|
2018-11-02 14:12:20,493 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/0/
|
|
2018-11-02 14:12:20,494 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:20,494 - INFO - Response body :
|
|
null
|
|
|
|
[======================= ] 47%
|
|
1048576/2222080 bytes
|
|
2018-11-02 14:12:20,495 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/1048576/
|
|
2018-11-02 14:12:20,548 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/1048576/
|
|
2018-11-02 14:12:20,548 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:20,548 - INFO - Response body :
|
|
[=============================================== ] 94%
|
|
2097152/2222080 bytes
|
|
2018-11-02 14:12:20,549 - DEBUG - sending PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/2097152/
|
|
2018-11-02 14:12:20,599 - INFO - PUT request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/2097152/
|
|
2018-11-02 14:12:20,599 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:20,599 - INFO - Response body :
|
|
[==================================================] 100%
|
|
2222080/2222080 bytes
|
|
... completed
|
|
|
|
Importing into the repository...
|
|
2018-11-02 14:12:20,601 - DEBUG - sending POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/
|
|
2018-11-02 14:12:20,666 - INFO - POST request to /pulp/api/v2/repositories/883a06e7-6118-4f2e-a75e-cf5f63224e5d/actions/import_upload/ with parameters {"override_config": {}, "unit_type_id": "docker_manifest", "upload_id": "1aebc1a5-a522-4763-ab44-b59e10759796", "unit_key": {}, "unit_metadata": {}}
|
|
2018-11-02 14:12:20,667 - INFO - Response status : 202
|
|
|
|
2018-11-02 14:12:20,667 - INFO - Response body :
|
|
{
|
|
"spawned_tasks": [
|
|
{
|
|
"_href": "/pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/",
|
|
"task_id": "ae571588-dbea-4425-a101-9d5a4f3bbe7e"
|
|
}
|
|
],
|
|
"result": null,
|
|
"error": null
|
|
}
|
|
|
|
This command may be exited via ctrl+c without affecting the request.
|
|
|
|
|
|
[-]
|
|
Running...
|
|
2018-11-02 14:12:21,668 - DEBUG - sending GET request to /pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/
|
|
2018-11-02 14:12:21,730 - INFO - GET request to /pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/ with parameters None
|
|
2018-11-02 14:12:21,730 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:21,731 - INFO - Response body :
|
|
{
|
|
"exception": null,
|
|
"task_type": "pulp.server.managers.content.upload.import_uploaded_unit",
|
|
"_href": "/pulp/api/v2/tasks/ae571588-dbea-4425-a101-9d5a4f3bbe7e/",
|
|
"task_id": "ae571588-dbea-4425-a101-9d5a4f3bbe7e",
|
|
"tags": [
|
|
"pulp:repository:883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"pulp:action:import_upload"
|
|
],
|
|
"finish_time": "2018-11-02T14:12:20Z",
|
|
"_ns": "task_status",
|
|
"start_time": "2018-11-02T14:12:20Z",
|
|
"traceback": "Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 367, in trace_task\n R = retval = fun(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 529, in __call__\n return super(Task, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py\", line 107, in __call__\n return super(PulpTask, self).__call__(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/celery/app/trace.py\", line 622, in __protected_call__\n return self.run(*args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/pulp/server/managers/content/upload.py\", line 223, in import_uploaded_unit\n unit_type=unit_type_id, summary=result['summary'], details=result['details']\nPulpCodedException: The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.\n",
|
|
"spawned_tasks": [],
|
|
"progress_report": {},
|
|
"queue": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop.dq2",
|
|
"state": "error",
|
|
"worker_name": "reserved_resource_worker-2@centos7-devel.virbr0.akofink-desktop",
|
|
"result": null,
|
|
"error": {
|
|
"code": "PLP0047",
|
|
"data": {
|
|
"unit_type": "docker_manifest",
|
|
"importer_id": "docker_importer",
|
|
"repo_id": "883a06e7-6118-4f2e-a75e-cf5f63224e5d",
|
|
"details": {},
|
|
"summary": [
|
|
"Cannot resolve field \"digest\""
|
|
]
|
|
},
|
|
"description": "The importer docker_importer indicated a failed response when uploading docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.",
|
|
"sub_errors": []
|
|
},
|
|
"_id": {
|
|
"$oid": "5bdc5b448037221aff3a242d"
|
|
},
|
|
"id": "5bdc5b448037221aff3a242d"
|
|
[\]
|
|
Running...
|
|
|
|
Task Failed
|
|
|
|
The importer docker_importer indicated a failed response when uploading
|
|
docker_manifest unit to repository 883a06e7-6118-4f2e-a75e-cf5f63224e5d.
|
|
|
|
Deleting the upload request...
|
|
2018-11-02 14:12:21,732 - DEBUG - sending DELETE request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/
|
|
2018-11-02 14:12:21,795 - INFO - DELETE request to /pulp/api/v2/content/uploads/1aebc1a5-a522-4763-ab44-b59e10759796/ with parameters None
|
|
2018-11-02 14:12:21,795 - INFO - Response status : 200
|
|
|
|
2018-11-02 14:12:21,795 - INFO - Response body :
|
|
null
|
|
|
|
... completed
|