Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

Permission error while squashing image #47

Description

@tarnfeld

Not entirely sure what this is related to, perhaps an environmental error or something more serious. Let's look into it.

Traceback (most recent call last):
  File "/root/.pex/install/portainer-0.0.0-py2-none-any.whl.7628d6418f9f3bffd5f083bef25af07b42830cc4/portainer-0.0.0-py2-none-any.whl/portainer/app/executor.py", line 280, in _build_image
    image_id
  File "/root/.pex/install/portainer-0.0.0-py2-none-any.whl.7628d6418f9f3bffd5f083bef25af07b42830cc4/portainer-0.0.0-py2-none-any.whl/portainer/app/executor.py", line 343, in _squash_image
    layers_tar_fh = download_layers_for_image(self.docker, sandbox_dir, head_image_id)
  File "/root/.pex/install/portainer-0.0.0-py2-none-any.whl.7628d6418f9f3bffd5f083bef25af07b42830cc4/portainer-0.0.0-py2-none-any.whl/portainer/util/squash.py", line 57, in download_layers_for_image
    for chunk in docker.get_image(image_id).stream():
  File "/root/.pex/install/docker_py-0.4.0-py2-none-any.whl.e0fa1f14c557a519376f527fc49d19691f0dcda3/docker_py-0.4.0-py2-none-any.whl/docker/client.py", line 497, in get_image
    self._raise_for_status(res)
  File "/root/.pex/install/docker_py-0.4.0-py2-none-any.whl.e0fa1f14c557a519376f527fc49d19691f0dcda3/docker_py-0.4.0-py2-none-any.whl/docker/client.py", line 87, in _raise_for_status
    raise errors.APIError(e, response, explanation=explanation)
APIError: 500 Server Error: Internal Server Error ("open /mnt/mesos/sandbox/docker/aufs/mnt/b6a900d286e177ed4afe8d21606e3ee3a35e5218db62622ec46100855c0bb019/.wh..wh.plnk/100.17055525: operation not permitted")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions