Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install error in a ubuntu container #945

Open
BigFaceBoy opened this issue Feb 13, 2025 · 1 comment
Open

install error in a ubuntu container #945

BigFaceBoy opened this issue Feb 13, 2025 · 1 comment

Comments

@BigFaceBoy
Copy link

I run the comman curl -fsSL https://cn.olares.sh | bash - in a ubuntu container without docker. And I get the error below:

2025-02-13T01:28:37.051Z        import error beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:28:37Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-604788782-TLNR sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1, wait for 15 seconds(1 times)
2025-02-13T01:29:10.465Z        import error beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:29:10Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-503104108--86W sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1, wait for 25 seconds(2 times)
2025-02-13T01:29:52.368Z        import error beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:29:52Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-77553452-LoCq sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1, wait for 35 seconds(3 times)
2025-02-13T01:30:44.069Z        import error beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:30:44Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-343178824-6LzU sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1, wait for 45 seconds(4 times)
2025-02-13T01:31:45.970Z        import error beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:31:45Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-321525461-G_hj sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1, wait for 55 seconds(5 times)
2025-02-13T01:31:45.971Z        c6e997cef9a9 beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:31:45Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-321525461-G_hj sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1
2025-02-13T01:31:45.971Z        [A] c6e997cef9a9: PreloadImages failed (4m3.564612445s)
2025-02-13T01:31:45.971Z        [Job] [Prepare the System Environment] execute failed <nil>
2025/02/13 01:31:45 error: Module[PreloadImages] exec failed:
failed - c6e997cef9a9: [A] PreloadImages: PreloadImages exec failed after 1 retires: beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: beclab/download-spider:v0.0.16(cd10b1475fc869ce391b72608fbdcee7.tar.gz) error: Failed to exec command: /bin/bash -c gunzip -c /root/.olares/images/cd10b1475fc869ce391b72608fbdcee7.tar.gz | ctr -n k8s.io images import  -
unpacking docker.io/beclab/download-spider:v0.0.16 (sha256:723ba4d85b80c2f247e5d282eeb6a64e9fb59487171a430d3c0f6e89c333a96e)...time="2025-02-13T01:31:45Z" level=info msg="apply failure, attempting cleanup" error="failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file \"usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py\": operation not permitted: unknown" key="extract-321525461-G_hj sha256:e8fdf56cbbe4bf58d3aa6ace170876e19638f1f16f0706c15a3018e01f22139b"
ctr: failed to extract layer sha256:527d881a3eb0c9ed82f957116afdd2a0b6eacdd075f951486271df60d62a0f50: failed to convert whiteout file "usr/local/lib/python3.11/site-packages/pip/_internal/utils/.wh.models.py": operation not permitted: unknown: exit status 1

What should I do to fix it?

@eball
Copy link
Collaborator

eball commented Feb 13, 2025

The Olares is running on k8s / k3s with containerd as the container runtime. Containerd snapshotter default fs is overlayfs. It seems your ubuntu container is also binding an overlayfs. An overlayfs on another overlayfs will occur this error cannot create whiteout file. You can create the ubuntu container with another fs to resolve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants