-
Notifications
You must be signed in to change notification settings - Fork 771
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
kompose build fails: unable to create tarball #656
Comments
It looks like this problem is caused by symlinks in the build directory. They are not handled properly |
@kadel just a note this works if we use buildconfigs to do builds |
yes, That makes sense as buildconfig is not creating tar. The problem is with creating tar that gets sent to docker daemon, it doesn't handle symlinks properly |
one of the possible solutions is described here https://stackoverflow.com/questions/38454850/getting-write-too-long-error-when-trying-to-create-tar-gz-file-from-file-and-d |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Hi guys I'm having the same issue as well. Here is my docker-compose.yml:
and it returns |
I too am having the same issue. I do not have any symlinks, either. |
Same here. |
No symlinks in my project, but still getting the same error. Anyone find another solution? |
Did any of you guys find a solution to this problem? |
I was trying to do it in a but after removing the (on Mac OS X 10.11.6) |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@Oliboy50 Move where? Why would you move your node_modules dir |
@alxvallejo I said "remove" not "move", I just had to my issue seemed to be symlinks indeed |
Can anyone tell me WHY this is still an issue? I am getting the following, slightly-more-helpful-but-not-really kind of error:
How long is this expected to wait, and how can I change it? |
as @Oliboy50 has said.. remove your node_modules and build dirs and the tar will build. In my case I had to |
I don't even use node (i'm using django rest framework) and have the same error. |
Had a similar issue and it was due to a .gitignore including .venv, but somehow the .venv still hanging out. Deleting it from the top level directory fixed it. |
Same for me on a Ruby on Rails project. |
You can run this to see if your directory has any symlinks: ls -laR . | grep -B 5 " -> " |
I tried to remove node_modules and build dir, reinstall dependencies and rebuild the app then run I'm using docker-compose v3, but even after I change to v2, still got same error. |
related to #1093 |
Same issue, I am not building a node.js project nor do I have any symlinks in the build folder: FATA Error while deploying application: k.Transform failed: Unable to build Docker image for service base: Unable to create a tarball: archive/tar: write too long |
This may be exacerbated by #1278, which would explain why removing the |
kompose build fails: unable to create tarball
my kompose version
when doing local builds on repo https://github.com/pranavgore09/classico/tree/nodejs-service
I have made changes to the docker-compose file to have my docker hub repo name, docker-compose file looks like this:
running the kompose build command
Since the build is big, so i cannot know what is happening in background whether it is stuck or going on.
The text was updated successfully, but these errors were encountered: