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

ctre: 'ctr: content digest sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: not found' #37

Open
vilitux opened this issue May 13, 2024 · 0 comments

Comments

@vilitux
Copy link
Member

vilitux commented May 13, 2024

While running ctre prune -f, sometimes we run into the following issue:

(deleted container) k8s.io mynamespace helloworld-01234567-xxxxx helloworld 2024-05-13T12:00:02.26628533Z
(deleted container) k8s.io mynamespace helloworld-34534534-xxxxx helloworld [sandbox] 2024-05-13T13:00:00.7284989Z
(deleted container) k8s.io mynamespace helloworld-34534534-xxxxx helloworld 2024-05-13T13:00:01.468378018Z
ctr: content digest sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: not found
Traceback (most recent call last):
  File "/usr/bin/ctre", line 700, in <module>
    main()
  File "/usr/bin/ctre", line 689, in main
    prune_content_references()
  File "/usr/bin/ctre", line 397, in prune_content_references
    ret = check_output(
  File "/usr/lib/python3.10/subprocess.py", line 421, in check_output
    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
  File "/usr/lib/python3.10/subprocess.py", line 526, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ctr', '-n', 'k8s.io', 'content', 'prune', 'references']' returned non-zero exit status 1.

When rerunning the same command, it completes successfully (so far).

@vilitux vilitux changed the title ctr: content digest sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: not found ctre: 'ctr: content digest sha256:xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx: not found' May 13, 2024
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

1 participant