Project

Profile

Help

Issue #6745

image_build 'artifacts' are not found during build time

Added by dkliban@redhat.com 5 months ago. Updated 9 days ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 84
Quarter:

Description

$ http --auth admin:password --form :8080/pulp/api/v3/repositories/container/container/856132db-f1da-4b94-b6f2-0ee8196513ae/build_image/ containerfile@./Containerfile artifact="{\"/pulp/api/v3/artifacts/efb8d793-0bea-4d2d-9290-7846850cd802/\": \"foo/bar/example.txt\"}"

HTTP/1.1 202 Accepted
Allow: POST, OPTIONS
Connection: keep-alive
Content-Length: 67
Content-Type: application/json
Date: Thu, 14 May 2020 19:06:33 GMT
Server: nginx/1.18.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN

{
    "task": "/pulp/api/v3/tasks/391134c2-46dc-4b01-b890-17d3d2ea9af5/"
}

$ http --auth admin:password  :8080/pulp/api/v3/tasks/391134c2-46dc-4b01-b890-17d3d2ea9af5/
HTTP/1.1 200 OK
Allow: GET, PATCH, DELETE, HEAD, OPTIONS
Connection: keep-alive
Content-Length: 1687
Content-Type: application/json
Date: Thu, 14 May 2020 19:06:52 GMT
Server: nginx/1.18.0
Vary: Accept, Cookie
X-Frame-Options: SAMEORIGIN

{
    "child_tasks": [],
    "created_resources": [],
    "error": {
        "description": "b'Getting image source signatures\\nCopying blob sha256:e6a50b627bcb03d96996bb8e836ecb178eae7425636e3424d9e8d33a918768dd\\nCopying config sha256:8114e7c1868bd9b15188df8c34953b151b81f90a73f16bc00aaec227bd500cc9\\nWriting manifest to image destination\\nStoring signatures\\nerror building at STEP \"COPY foo/bar/example.txt /inside-image.txt\": no files found matching \"/var/lib/pulp/tmp/13105@f9c8c543863e/391134c2-46dc-4b01-b890-17d3d2ea9af5/foo/bar/example.txt\": no such file or directory\\nlevel=error msg=\"exit status 1\"\\n'",
        "traceback": "  File \"/usr/local/lib/python3.7/site-packages/rq/worker.py\", line 886, in perform_job\n    rv = job.perform()\n  File \"/usr/local/lib/python3.7/site-packages/rq/job.py\", line 664, in perform\n    self._result = self._execute()\n  File \"/usr/local/lib/python3.7/site-packages/rq/job.py\", line 670, in _execute\n    return self.func(*self.args, **self.kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/pulp_container/app/tasks/builder.py\", line 124, in build_image_from_containerfile\n    raise Exception(bud_cp.stderr)\n"
    },
    "finished_at": "2020-05-14T19:06:44.994490Z",
    "name": "pulp_container.app.tasks.builder.build_image_from_containerfile",
    "parent_task": null,
    "progress_reports": [],
    "pulp_created": "2020-05-14T19:06:33.661619Z",
    "pulp_href": "/pulp/api/v3/tasks/391134c2-46dc-4b01-b890-17d3d2ea9af5/",
    "reserved_resources_record": [
        "/pulp/api/v3/repositories/container/container/856132db-f1da-4b94-b6f2-0ee8196513ae/"
    ],
    "started_at": "2020-05-14T19:06:33.822966Z",
    "state": "failed",
    "task_group": null,
    "worker": "/pulp/api/v3/workers/81de122d-2321-4c38-9f3a-9080f7cd9bba/"
}


History

#1 Updated by rchan 5 months ago

  • Sprint changed from Sprint 72 to Sprint 73

#2 Updated by pulpbot 5 months ago

  • Status changed from NEW to POST

#3 Updated by ipanova@redhat.com 5 months ago

  • Status changed from POST to NEW

#4 Updated by ipanova@redhat.com 5 months ago

  • Sprint deleted (Sprint 73)

#5 Updated by ipanova@redhat.com about 2 months ago

  • Sprint set to Sprint 80

#6 Updated by rchan about 2 months ago

  • Sprint changed from Sprint 80 to Sprint 81

#7 Updated by rchan about 1 month ago

  • Sprint changed from Sprint 81 to Sprint 82

#8 Updated by rchan 22 days ago

  • Sprint changed from Sprint 82 to Sprint 83

#9 Updated by rchan 9 days ago

  • Sprint changed from Sprint 83 to Sprint 84

Please register to edit this issue

Also available in: Atom PDF