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

Clair server not able to download layers #72

Open
OKran0706 opened this issue Apr 3, 2024 · 0 comments
Open

Clair server not able to download layers #72

OKran0706 opened this issue Apr 3, 2024 · 0 comments

Comments

@OKran0706
Copy link

I have attached the logs of clair image running in docker:

{"Event":"running database migrations","Level":"info","Location":"pgsql.go:216","Time":"2024-04-03 23:35:19.489271"}

{"Event":"database migration ran successfully","Level":"info","Location":"pgsql.go:223","Time":"2024-04-03 23:35:19.590563"}

{"Event":"starting health API","Level":"info","Location":"api.go:85","Time":"2024-04-03 23:35:19.590767","port":6061}

{"Event":"starting main API","Level":"info","Location":"api.go:52","Time":"2024-04-03 23:35:19.590746","port":6060}

{"Event":"updater service started","Level":"info","Location":"updater.go:83","Time":"2024-04-03 23:35:19.590862","lock identifier":"8bcb6ef0-23d2-41de-a552-56995e957a12"}

{"Event":"notifier service is disabled","Level":"info","Location":"notifier.go:77","Time":"2024-04-03 23:35:19.590913"}

{"Event":"updating vulnerabilities","Level":"info","Location":"updater.go:192","Time":"2024-04-03 23:35:19.593161"}

{"Event":"fetching vulnerability updates","Level":"info","Location":"updater.go:239","Time":"2024-04-03 23:35:19.593236"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"alpine.go:176","Time":"2024-04-03 23:35:19.593382","package":"Alpine"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"oracle.go:119","Time":"2024-04-03 23:35:19.593319","package":"Oracle Linux"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"debian.go:63","Time":"2024-04-03 23:35:19.593506","package":"Debian"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"amzn.go:84","Time":"2024-04-03 23:35:19.593534","package":"Amazon Linux 2"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"ubuntu.go:85","Time":"2024-04-03 23:35:19.593769","package":"Ubuntu"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"rhel.go:94","Time":"2024-04-03 23:35:19.593768","package":"RHEL"}

{"Event":"Start fetching vulnerabilities","Level":"info","Location":"amzn.go:84","Time":"2024-04-03 23:35:19.593804","package":"Amazon Linux 2018.03"}

{"Event":"Debian bookworm is not mapped to any version number (eg. Jessie-\u003e8). Please update me.","Level":"warning","Location":"debian.go:134","Time":"2024-04-03 23:35:20.576537"}

{"Event":"Debian trixie is not mapped to any version number (eg. Jessie-\u003e8). Please update me.","Level":"warning","Location":"debian.go:134","Time":"2024-04-03 23:35:20.576691"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:35:20.576749","updater name":"debian"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:35:21.156694","updater name":"amzn2"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:35:21.784942","updater name":"rhel"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:35:29.109399","updater name":"alpine"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:35:31.975778","updater name":"amzn1"}

{"Event":"finished fetching","Level":"info","Location":"updater.go:253","Time":"2024-04-03 23:37:16.337711","updater name":"ubuntu"}

{"Event":"could not download layer: expected 2XX","Level":"warning","Location":"driver.go:136","Time":"2024-04-03 23:39:13.735951","status code":404}

{"Event":"failed to extract data from path","Level":"error","Location":"worker.go:122","Time":"2024-04-03 23:39:13.735992","error":"could not find layer","layer":"blobs/sha256/011b303988d241a4ae28a6b82b0d8262751ef02910f0ae2265cb637504b72e36","path":"http://172.17.0.1:9279/blobs/sha256/011b303988d241a4ae28a6b82b0d8262751ef02910f0ae2265cb637504b72e36/layer.tar"}

{"Event":"Handled HTTP request","Level":"info","Location":"router.go:57","Time":"2024-04-03 23:39:13.736134","elapsed time":2042046,"method":"POST","remote addr":"172.17.0.1:52040","request uri":"/v1/layers","status":"400"}

Could you tell me how to resolve :
{"Event":"could not download layer: expected 2XX","Level":"warning","Location":"driver.go:136","Time":"2024-04-03 23:39:13.735951","status code":404}

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