本地流浪者中的 OpenWhisk 构建失败
OpenWhisk build failure in local vagrant
正在尝试使用提供的 VagrantFile 构建我的本地 openwhisk 实例。我正在使用临时 CouchDB 容器作为我的数据源。
在 ant clean build deploy
期间,我遇到以下异常:
BUILD FAILED
/home/vagrant/openwhisk/build.xml:55: The following error occurred while executing this line:
/home/vagrant/openwhisk/build.xml:99: exec returned: 5
进一步查看日志,我在 installCatalog.sh 部分看到以下重复内容:
[exec] error: The supplied authentication is invalid
我已经通过执行一些测试 curl 命令验证了我 cloudant-local.env
中的 couchdb 凭据是正确的。不确定它可能抱怨的其他身份验证凭据。有什么想法吗?
当您使用临时 Couch 实例时,您需要在 ant clean build
之后和 deploy
之前启动它。此外,每次启动容器时,您都必须 运行 脚本 tools/db/createImmortalDBs.sh
来初始化身份验证存储。
ant clean build
tools/db/couchdb/start-couchdb-box.sh ...
tools/db/createImmortalDBs.sh
ant deploy
顺便说一句,您是说 couchdb-local.env
吗?
正在尝试使用提供的 VagrantFile 构建我的本地 openwhisk 实例。我正在使用临时 CouchDB 容器作为我的数据源。
在 ant clean build deploy
期间,我遇到以下异常:
BUILD FAILED
/home/vagrant/openwhisk/build.xml:55: The following error occurred while executing this line:
/home/vagrant/openwhisk/build.xml:99: exec returned: 5
进一步查看日志,我在 installCatalog.sh 部分看到以下重复内容:
[exec] error: The supplied authentication is invalid
我已经通过执行一些测试 curl 命令验证了我 cloudant-local.env
中的 couchdb 凭据是正确的。不确定它可能抱怨的其他身份验证凭据。有什么想法吗?
当您使用临时 Couch 实例时,您需要在 ant clean build
之后和 deploy
之前启动它。此外,每次启动容器时,您都必须 运行 脚本 tools/db/createImmortalDBs.sh
来初始化身份验证存储。
ant clean build
tools/db/couchdb/start-couchdb-box.sh ...
tools/db/createImmortalDBs.sh
ant deploy
顺便说一句,您是说 couchdb-local.env
吗?