本地vagrant中的OpenWhisk构建失败
正在尝试使用提供的文件构建本地实例。我使用短暂的CouchDB容器作为数据源 在本地vagrant中的OpenWhisk构建失败,vagrant,couchdb,openwhisk,Vagrant,Couchdb,Openwhisk,正在尝试使用提供的文件构建本地实例。我使用短暂的CouchDB容器作为数据源 在ant clean build deploy期间I遇到以下异常: 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 在日志的后面,我看到inst
ant clean build deploy期间
I遇到以下异常:
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]错误:提供的身份验证无效
我已经通过执行一些test curl命令验证了我的cloudant local.env
中的couchdb凭证是正确的。不确定它可能会抱怨什么其他身份验证凭据。有什么想法吗
使用临时coach实例时,需要在
ant clean build
之后和部署之前启动它。此外,每次启动容器时,都必须运行脚本tools/db/createEndersonDBS.sh
来初始化身份验证存储
ant clean build
tools/db/couchdb/start-couchdb-box.sh ...
tools/db/createImmortalDBs.sh
ant deploy
顺便问一下,你的意思是couchdb local.env
我现在就试试。是的,应该是couchdb local.env
-thanksOk,这是我的问题。我在一个步骤中运行了ant clean build deploy
,我猜ant clean
正在杀死短暂的couchdb实例?一旦我沿着这条路走下去,一切都会如预期的那样运行。谢谢好极了-ant clean
撕掉了所有容器,包括沙发。将在文件中更清楚地说明。