简体   繁体   中英

Error processing tar file(exit status 1): write /usr/lib/python2.7/ensurepip/_bundled/pip-9.0.3-py2.py3-none-any.whl: no space left on device

I was trying to run my container orchestrator code, which is a flask application on an EC2 instance.

When i ran my orchestrator.py, I get the aforementioned error.

Why is this happening and how do I solve this?

You're out of disk space. The easiest solution is to spin up a new machine with more space. Otherwise, if that's not a simple solution, check this link to help you resize. But realize that that assumes that you're using EBS, not local storage.

If you're using EBS you can use the AWS cli, and resize with something like:

aws ec2 modify-volume --size 256 --volume-id vol-11111111111111111 

which would change your disk to 256GB. Note that there are further steps needed to then actually use that space.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM