Comments (6)
Hey, thanks for opening an issue! I was able to reproduce the issue with index builder and the SOCI CLI. When you created the index with the CLI did you explicitly set a --min-layer-size
? If not, I presume the layer with the sparse file (the last layer) was not lazy loaded since it was under the 10 MiB default min layer size threshold set by the CLI, and therefore the cp
did not hang. The index builder sets the min-layer-size to 0 by default, which means that each layer in the image was lazy loaded and therefore susceptible to any SOCI FS bugs. See: #40
We are looking into this issue with sparse files on the SOCI side. We will keep you posted.
from cfn-ecr-aws-soci-index-builder.
Hey, just wanted to provide a quick update. We have root caused the issue to be in one of our dependencies, go-fuse. We have a PR out against them upstream. In the meantime we are actively working on resolving #40, so you can build a working SOCI index for your image with the CFN solution. @bgardner-noggin
from cfn-ecr-aws-soci-index-builder.
#40 (--min-layer-size
issue) has now been resolved/merged. You should now be able to re-deploy your CFN stack and have a working SOCi index built for your image. Please let us know if you run into any issues and thanks for your patience. @bgardner-noggin
from cfn-ecr-aws-soci-index-builder.
Hey, sorry for the wait, we had some issues with updating our release process but they are resolved now. Release v0.4.1 is now out, so if you are consuming SOCI via ECS on EC2 you can now pull this release in. If you are using Fargate this fix should already be available to you. Thank you for your patience!
from cfn-ecr-aws-soci-index-builder.
0.4.1 has been released, but this project has not been updated to use it.
I pulled this code, changed go.mod to use 0.4.1 and built the zip using the Dockerfile
However, when I execute the lambda against my ECR repo, it only generates a "Soci index" image in the ECR repo. Beforehand it would generate two items per image
"Soci index"
"Image Index"
I cannot see anything in the log to indicate why it isn't generating the "Image index" though
from cfn-ecr-aws-soci-index-builder.
0.4.1 has been released, but this project has not been updated to use it.
The underlying issue was in the snapshotter, not in any of the build tools like the CLI or index builder, so you should be able to use the same index. If you are using ECS Fargate, you should just be able to deploy your tasks. If you are on ECS on EC2, you can pull the latest version of the snasphotter in. Let us know if you run into any other issues.
I pulled this code, changed go.mod to use 0.4.1 and built the zip using the Dockerfile
However, when I execute the lambda against my ECR repo, it only generates a "Soci index" image in the ECR repo. Beforehand it would generate two items per image
We have a PR out upgrading the index builder to pull the latest version of SOCI (v0.4.1). It seems like we were able to generate the image index, as-well. Once that is in you can re-deploy the solution and retry.
from cfn-ecr-aws-soci-index-builder.
Related Issues (12)
- Feature Request: Publish to AWS SAR HOT 1
- taskcat regions suggestion
- Switch SociIndexGenerator runtime to provided.al2 HOT 2
- Differing min-layer-size between CLI and Index Builder HOT 4
- Update docs to mention handling of empty indexes
- Go lambda failing after updating the stack with the new runtime al2 HOT 2
- Feature Request: Make the Minimum Layer Size Configurable
- Team I wanted to provison this task into UAE region me-central-1, The cloudformation getting failed
- Unable to update soci-snapshotter when using IaC
- Still we cannot provision SOCI template in UAE region me-central-1, getting some permission issue at S3 end
- Upgrade SOCI to `v0.4.1`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cfn-ecr-aws-soci-index-builder.