-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
osx can't build due to no space left on device #11712
Comments
I would guess the storage on your system is running out of space? |
Could /var/tmp be loaded up? |
You can change the location using TMPDIR=$HOME/tmp. |
The coreos vm only has 10 GB by default, @baude @ashley-cui should the size be increased? |
The default could be ... you can also increase disk size as an option to init. To me, this screams that we need a machine section in common with all this stuff. |
@baude if we want to do a |
|
@ashley-cui knock that out and we can review it as part of the regular review process. thanks |
I think the default should be 20GB and be configurable. I just got a new laptop that defaults to 1TB sdd. |
Are we sure that this is an issue with legitimate depletion of space on the machine? I'm a little worried we might have a storage leak from not cleaning up temporary files from builds, or similar. |
We used 20G for "old" machine, and people still wanted that to be bumped... $ podman-machine create --driver qemu --help EDIT: Actually it was 20,000M which always raised some eyebrows (~19.5G) The filesystem has some "tax" as well, so the usable amount is somewhat lower. With CoreOS, it seems to be about 18G left from an initial value of 20G. $ podman machine ssh df -h /sysroot
Could not create directory '/root/.ssh'.
Warning: Permanently added '[localhost]:41299' (ECDSA) to the list of known hosts.
Filesystem Size Used Avail Use% Mounted on
/dev/vda4 20G 1.6G 18G 9% /sysroot
|
This comment has been minimized.
This comment has been minimized.
I dont mind 20G as a default. Also, it will be configurable in 3.4+. My feeling is just choose something and users can adjust if they have large requirements. |
It's now configurable in containers.conf (and merged into Podman). @ashley-cui, @baude, I think it would be nice to have machine data in |
Which machine? All of them? |
I thought it already had cpus and memTotal ? But maybe there is a way to wire in the "disk free" too (but: which disk, etc) Possibly the graphRoot location. But then it would be available for all podman users, and not just for machine I suppose ? $ podman machine ssh df -h /var/lib/containers/storage
Could not create directory '/root/.ssh'.
Warning: Permanently added '[localhost]:45825' (ECDSA) to the list of known hosts.
Filesystem Size Used Avail Use% Mounted on
/dev/vda4 20G 3.5G 17G 18% /var So like "diskFree" and "diskTotal" ? |
@vrothberg We don't have a machine info but some info should be available via list (#11691). Do you think we should also create a machine info as well? @baude |
There is no good GUI tool for qemu, is there ? I tried to find something, but there was only QMP and virt-manager Otherwise that could be a good place to get some graphs over the current machine usage versus the total available. |
|
Yes, all of them. Similar to what we're already doing with registries. |
SGTM |
Does podman -remote info print information about local environment now, or is it all from remote? I think we print version info. |
@rhatdan it prints local info, but if remote is not set up correctly, it errors and prints out nothing. Maybe we should print out local info regardless if the remote call fails? |
I think we had a request for this earlier that @vrothberg was looking at, but that sounds good to me. |
Just found out this thread and this helped me a lot by allocating more disk space during init. |
That does not make much sense. Could you give us the output of podman info and podman images. |
That's really odd, I have on my machine (Fedora) over 60 images and they take only 20GB. Try running |
There you can see how much space it actually takes, so I had to re-configure VM size to allow these.
|
A friendly reminder that this issue had no activity for 30 days. |
Where do we stand on this, is this just the podman-machine was not big enough to start? Is there something that Podman can fix? |
Make the machine bigger by default? That seems to be what the competing solutions have done. |
we did, we made it 20GB by default and it is configurable on the command line. |
Are we good to close the issue? |
Looking at the code the default is still 10 GB, so no. https://github.com/containers/common/blob/77aa0316f20c77d094bc3205aaad3377640f2e39/pkg/config/default.go#L225-L232 |
Always good to have you watch our backs, thanks @Luap99 |
Context: containers/podman/issues/11712 Signed-off-by: Valentin Rothberg <[email protected]>
Context: containers/podman/issues/11712 Signed-off-by: Valentin Rothberg <[email protected]>
A friendly reminder that this issue had no activity for 30 days. |
Since common PR got merged. I am going to close. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
g-extensions-3.7.4.3 urllib3-1.26.7 wrapt-1.12.1 zipp-3.5.0
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Error: error committing container for step {Env:[PATH=/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin LANG=C.UTF-8 GPG_KEY=0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D PYTHON_VERSION=3.7.12 PYTHON_PIP_VERSION=21.2.4 PYTHON_SETUPTOOLS_VERSION=57.5.0 PYTHON_GET_PIP_URL=https://github.com/pypa/get-pip/raw/c20b0cfd643cd4a19246ccf204e2997af70f6b21/public/get-pip.py PYTHON_GET_PIP_SHA256=fa6f3fb93cce234cd4e8dd2beb54a51ab9c247653b52855a48dd44e6b21ff28b] Command:run Args:[pip install -r requirements.txt] Flags:[] Attrs:map[] Message:RUN pip install -r requirements.txt Original:RUN pip install -r requirements.txt}: error copying layers and metadata for container "80ffc4528da65d5f2c7ef516711fe94b0be9908a65b9386cfcdc1c95a56a3368": writing blob: adding layer with blob "sha256:9e9e4dd78a45a27380d9df62bd5187c9d094a636c2c7d97dbc2a3829bda71df0": Error processing tar file(exit status 1): open /usr/local/lib/python3.7/site-packages/tensorflow/python/training/checkpoint_state_pb2.py: no space left on device
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)
Yes/No
Additional environment details (AWS, VirtualBox, physical, etc.):
The text was updated successfully, but these errors were encountered: