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

Clean up image manifests and image folders from the VCH's /tmp after docker pull #6093

Closed
chengwang86 opened this issue Aug 23, 2017 · 2 comments
Assignees
Labels
component/imagec kind/defect Behavior that is inconsistent with what's intended priority/p1 severity/3-moderate Medium usability or functional impact. Potentially has an inconvenient workaround. source/customer Reported by a customer, directly or via an intermediary
Milestone

Comments

@chengwang86
Copy link
Contributor

User Statement:

As a vic admin, I don't want to have these image manifest files and obsoleted image folders (e.g., https/registry.hub.docker.com/v2/library/busybox) in the /tmp directory on my VCH.

Details:
The image manifest files are stored in /tmp of the VCH as temporary files. They will be cleared after the VCH is restarted.

Here is the content under /tmp

root@ [ /tmp ]# ls -al
drwxrwxrwt  8 root root  280 Aug 16 21:19 .
drwxr-xr-x 16 root root  440 Aug 15 15:59 ..
-rw-------  1 root root  527 Aug 15 15:59 202444564
-rw-------  1 root root 7426 Aug 16 02:27 381251435
-rw-------  1 root root  527 Aug 16 02:20 568379272 (image manifest)
drwxr-xr-x  3 root root   60 Aug 15 15:59 https
root@ [ /tmp ]# ls -al https/registry.hub.docker.com/v2/library/busybox/
drwxr-xr-x 2 root root 40 Aug 15 15:59 .
drwxr-xr-x 3 root root 60 Aug 16 02:28 ..

Acceptance Criteria:

  • /tmp should not contain image manifest files and related folders

Workaround

  • restart VCH
@hickeng hickeng added source/customer Reported by a customer, directly or via an intermediary severity/3-moderate Medium usability or functional impact. Potentially has an inconvenient workaround. and removed priority/p2 labels Aug 2, 2018
@hickeng
Copy link
Member

hickeng commented Aug 2, 2018

See in #3624 (comment).

@wjun wjun self-assigned this Aug 17, 2018
@zjs zjs added the kind/defect Behavior that is inconsistent with what's intended label Aug 23, 2018
@zjs zjs unassigned wjun Aug 23, 2018
@renmaosheng renmaosheng added this to the Sprint 41 milestone Jan 2, 2019
@renmaosheng renmaosheng modified the milestones: Sprint 41, Sprint 42 Jan 16, 2019
@renmaosheng renmaosheng modified the milestones: Sprint 42, Sprint 44 Feb 11, 2019
@wjun
Copy link
Contributor

wjun commented Feb 25, 2019

The empty image folders under tmp cannot be removed as there may have parallel image pull requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/imagec kind/defect Behavior that is inconsistent with what's intended priority/p1 severity/3-moderate Medium usability or functional impact. Potentially has an inconvenient workaround. source/customer Reported by a customer, directly or via an intermediary
Projects
None yet
Development

No branches or pull requests

6 participants