Closed molivo123 closed 5 months ago
@molivo123 can you try to increase the disk size using crc config set disk-size 50
by default we allocate 31gb of disk space for the crc vm, of which only ~5gb is available on a fresh install, if you need more space you have to increase it using the config option
@anjannath will try this and let you know, thank you for the reply
That seemed to help fix my initial issue, however I am now facing an issue with the git-clone clustertask having permission errors
+ test -z ''
+ git config --global --add safe.directory /workspace/output
+ /ko-app/git-init -url=https://github.com/tektoncd/website -revision= -refspec= -path=/workspace/output/ -sslVerify=true -submodules=true -depth=1 -sparseCheckoutDirectories=
{"level":"error","ts":1718296905.603852,"caller":"git/git.go:53","msg":"Error running git [init /workspace/output/]: exit status 1\n/workspace/output/.git: Permission denied\n","stacktrace":"github.com/tektoncd-catalog/git-clone/git-init/git.run\n\t/go/src/github.com/tektoncd-catalog/git-clone/image/git-init/git/git.go:53\ngithub.com/tektoncd-catalog/git-clone/git-init/git.Fetch\n\t/go/src/github.com/tektoncd-catalog/git-clone/image/git-init/git/git.go:88\nmain.main\n\t/go/src/github.com/tektoncd-catalog/git-clone/image/git-init/main.go:52\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}
{"level":"fatal","ts":1718296905.60389,"caller":"git-init/main.go:53","msg":"Error fetching git repository: exit status 1","stacktrace":"main.main\n\t/go/src/github.com/tektoncd-catalog/git-clone/image/git-init/main.go:53\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:250"}
Seems to be mentioned here: https://issues.redhat.com/browse/SRVKP-3301
Any reason why the default value isn't higher? How do you expect anybody to do anything meaningful with CRC out of the box? I ran into this issue on the 2nd build of a Hello World quarkus application. Nothing else running.
So, what I don't get is why would the 1st build succeed, but not the second? Is there some leak of ephemeral storage going on?
General information
crc setup
before starting it (Yes/No)? YesCRC version
CRC status
CRC config
Host Operating System
Steps to reproduce
Expected
Pipeline to run
Actual
low on resource: ephemeral-storage. Threshold quantity: 4902142351, available: 4398100Ki.
Logs
Before gather the logs try following if that fix your issue
Please consider posting the output of
crc start --log-level debug
on http://gist.github.com/ and post the link in the issue.