安装Halyard时出错

时间:2018-05-24 19:05:42

标签: gnupg spinnaker spinnaker-halyard

我试图在Ubuntu 16.04中安装升降索。

我使用curl下载了installhalyard脚本 curl -O https://raw.githubusercontent.com/spinnaker/halyard/master/install/debian/InstallHalyard.sh

我执行sudo bash InstallHalyard.sh后安装halyard命令。 但它没有安装并显示以下错误

jayanth@jayanth-VirtualBox:~$ sudo bash InstallHalyard.sh 
[sudo] password for jayanth: 
Please supply a non-root user to run Halyard as: jayanth
Halyard version will be stable 
Halyard will be downloaded from gs://spinnaker-artifacts/halyard 
Halyard config will come from bucket gs://halconfig 
Halconfig will be stored at /home/jayanth/.hal/config
Uninstall script is located at /home/jayanth/.hal/uninstall.sh
Running ubuntu 16.04
gpg: keyring `/tmp/tmptyeoozb6/secring.gpg' created
gpg: keyring `/tmp/tmptyeoozb6/pubring.gpg' created
gpg: requesting key 86F44E2A from hkp server keyserver.ubuntu.com
**Error: retrieving gpg key timed out.**
gpg: /tmp/tmptyeoozb6/trustdb.gpg: trustdb created
gpg: key 86F44E2A: public key "Launchpad OpenJDK builds (all archs)" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

由于上述错误,我无法安装Halyard。 请帮帮我。

BR Jayanth

3 个答案:

答案 0 :(得分:0)

看起来好像您遇到网络连接问题或者您的系统无法访问keyserver.ubuntu.com的其他原因。确保您可以访问该服务器(例如尝试ping它),您的安装应该可以正常工作。

答案 1 :(得分:0)

此次我再次尝试 sudo apt-get 更新并安装了open ssh client and server

这次它运作了。

感谢帮助:

答案 2 :(得分:0)

我使用以下命令来部署挂绳

kubectl create deployment hal --image gcr.io/spinnaker-marketplace/halyard:1.20.2