on 08-29-2019 8:05 AM
Hi,
I failed to deploy a python application in SAP Cloud Foundry and it says "Could not install packages due to an EnvironmentError: [Errno 28] No space left on device". I tried to increase the disk_quota and memory to be max as 4G from 2G, however, this does not solve the issue.
Highly appreciate if anyone can help. Thanks.
The application has following requirements.
requirements.txt
torch==1.1.0
flair==0.4.2
flask==0.12.4
flanker==0.9.0
numpy==1.17.0
nltk==3.4
requests==2.20.1
python-dateutil==2.7.3
psutil==5.6.2
num2words==0.5.10
pandas==0.23.4
regex==2018.1.10
runtime.txt
python-3.6.8
manifest.yml
---
applications:
- name: test-space-error
memory: 4G
disk_quota: 4G
command: python server.py
Part of the cf logs:
Installing collected packages: numpy, torch, setuptools, kiwisolver, six, python-dateutil, pyparsing, cycler, matplotlib, tabulate, tqdm, more-itertools, attrs, zipp, importlib-metadata, packaging, pluggy, atomicwrites, wcwidth, py, pytest, wrapt, deprecated, scipy, joblib, scikit-learn, sklearn, idna, chardet, certifi, urllib3, requests, boto, jmespath, docutils, botocore, s3transfer, boto3, smart-open, gensim, sentencepiece, bpemb, regex, segtok, pytorch-pretrained-bert, sqlitedict, decorator, networkx, future, pymongo, hyperopt, mpld3, flair, Werkzeug, MarkupSafe, Jinja2, itsdangerous, click, flask, pycparser, cffi, asn1crypto, cryptography, ply, tld, WebOb, flanker, singledispatch, nltk, psutil, docopt, num2words, pytz, pandas
The scripts f2py, f2py3 and f2py3.6 are installed in '/tmp/contents860496989/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts convert-caffe2-to-onnx and convert-onnx-to-caffe2 are installed in '/tmp/contents860496989/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for tabulate: started
Running setup.py install for tabulate: finished with status 'done'
The script tqdm is installed in '/tmp/contents860496989/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
The scripts py.test and pytest are installed in '/tmp/contents860496989/deps/0/python/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Running setup.py install for wrapt: started
Running setup.py install for wrapt: finished with status 'done'
Could not install packages due to an EnvironmentError: [Errno 28] No space left on device
You are using pip version 18.1, however version 19.2.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
**ERROR** Could not install pip packages: could not run pip: exit status 1
Failed to compile droplet: Failed to run all supply scripts: exit status 14
Exit status 223
Cell a17e1ddc-d07e-48ad-998a-8fc7f3bd8ce2 stopping instance c65d9d97-170f-4478-ba0a-4b2e8dad7eec
Cell a17e1ddc-d07e-48ad-998a-8fc7f3bd8ce2 destroying container for instance c65d9d97-170f-4478-ba0a-4b2e8dad7eec
Cell a17e1ddc-d07e-48ad-998a-8fc7f3bd8ce2 successfully destroyed container for instance c65d9d97-170f-4478-ba0a-4b2e8dad7eec
Error staging application: App staging failed in the buildpack compile phase
FAILED
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
67 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.