Openwhisk内部部署安装错误

时间:2018-05-14 08:27:48

标签: openwhisk

我尝试在Windows 10计算机上安装openwhisk VM。 克隆了git repo,cd为openwhisk / tools / vagrant并运行./hello。

许多分钟后,我收到以下错误。

==> default: :index
==> default: :goPrepare
==> default:  FAILED
==> default: FAILURE:
==> default: Build failed with an exception.
==> default:
==> default: * What went wrong:
==> default: Execution failed for task ':goPrepare'.
==> default: > Create symbolic link at /home/vagrant/openwhisk/bin/openwhisk-cli/.gogradle/project_gopath/src/github.com/apache/incubator-openwhisk-cli
     

失败

虽然我可以在build.gradle中找到索引任务,但是在openwhisk-cli或父目录下找不到goPrepare任务。

我认为这个命令是在新创建的VM上运行的

The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

但是运行vagrant ssh会将我登录到VM。

查看vagrantfile,有

  # Clone and Build CLI
    echo "`date`: build-cli-start" >> /tmp/vagrant-times.txt
    cd ${OPENWHISK_HOME}/bin
    rm -rf openwhisk-cli
    su vagrant -c 'git clone --depth=1 https://github.com/apache/incubator-openwhisk-cli.git openwhisk-cli'
    cd openwhisk-cli
    su vagrant -c './gradlew releaseBinaries'
    echo "`date`: build-cli-end" >> /tmp/vagrant-times.txt

登录/ tmp显示build-cli-start但不是build-cli-end。

releaseBinaries任务在build.gradle中,但没有链接。

还有其他人遇到此错误吗?有谁知道goPrepare任务在哪里?

此致

1 个答案:

答案 0 :(得分:3)

https://github.com/apache/incubator-openwhisk/issues/3649处提出缺陷。

已修复https://github.com/apache/incubator-openwhisk/pull/3651

更新了git,再次运行hello并且它可以工作。恭喜openwhisk团队如此迅速地做出回应。