我正在尝试在this guide之后在Cloud Composer上安装pypi依赖项。
构建失败,并且错误消息显示:
name: "operations/14021472-6dbe-42b3-8ec1-ba7ac62be60e"
done: true
sequence_number: 1
error {
code: 0
message: "The image build failed: Build failed; check build logs for details\n"
}
但是,我找不到构建日志在哪里。有人知道答案吗?谢谢
仅供参考,这是我要安装的软件包列表(作为requirements.txt
文件):
alembic==0.8.10
bleach==2.1.2
boto3==1.4.5
botocore==1.5.92
certifi==2016.2.28
click==6.7
croniter==0.3.24
dill==0.2.8.2
docutils==0.14
flask==0.11.1
flask-admin==1.4.1
flask-cache==0.13.1
flask-login==0.2.11
flask-swagger==0.2.13
flask-wtf==0.14.2
future==0.16.0
gitdb2==2.0.4
gitpython==2.1.11
gunicorn==19.9.0
html5lib==1.0.1
itsdangerous==0.24
jinja2==2.8
jmespath==0.9.0
lockfile==0.12.2
lxml==3.8.0
mako==1.0.7
markdown==2.6.11
markupsafe==1.0
numpy==1.13.1
pandas==0.23.3
psutil==4.4.2
pygments==2.2.0
pyspark
python-daemon==2.1.2
python-dateutil==2.7.3
python-editor==1.0.3
python-nvd3==0.14.2
python-slugify==1.2.5
pytz==2018.5
pyyaml==3.12
requests==2.13.0
s3transfer==0.1.10
setproctitle==1.1.10
six==1.11.0
smmap2==2.0.4
sqlalchemy==1.2.10
tabulate==0.7.7
thrift==0.11.0
unidecode==1.0.22
webencodings==0.5.1
werkzeug==0.14.1
wtforms==2.1
zope.deprecation==4.3.0
修改
这是来自Cloud Composer的实际错误消息:
Http error status code: 400 Http error message: BAD REQUEST Additional errors: {"ResourceType":"k448eb7d3c0146d7d-tp/europe-west1-airflow-prod-d08fb03e-gae-typer:appengine.apps.services.versions.create","ResourceErrorCode":"400","ResourceErrorMessage":"Docker image gcr.io/k448eb7d3c0146d7d-tp/1b528566-91c1-496d-ad82-fe0613e3a5e3 was either not found, or is not in Docker V2 format. Please visit https://cloud.google.com/container-registry/docs/ui "}
答案 0 :(得分:1)
该操作使用Cloud Build。您可以检查https://console.cloud.google.com/cloud-build/builds中的构建日志;寻找与您的操作UUID相匹配的版本。