【发布时间】:2016-06-09 05:16:35
【问题描述】:
尝试使用与高级安装说明紧密结合的简单 byo 运行手册设置来尝试 openshift origin V3。但是,我的构建很难从任何 git 存储库进行克隆,甚至是公共 github 存储库。
HTTPS:
F0609 05:01:49.810021 1 builder.go:204] Error: build error: fatal: unable to access 'https://github.com/blongden/phpinfo.git/': Unable to communicate securely with peer: requested domain name does not match the server's certificate.
SSH:
I0609 05:10:41.228300 1 source.go:197] Downloading "git@github.com:blongden/phpinfo.git" ...
F0609 05:10:41.867643 1 builder.go:204] Error: build error: Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
在我的 master 上手动克隆 repo 没有问题。
任何智慧将不胜感激。
【问题讨论】:
-
确保您使用的公钥与您上传到 openshift 的公钥相同!
-
这是在本地运行的 openshift.ORG 的 openshift 起源,而不是在 openshift.COM 上在线托管的 openshift。即使这样,它也是一个公共存储库,因此不需要身份验证。
-
顺便说一句,您是否在使用公司代理? docs.openshift.com/enterprise/3.0/admin_guide/…。可以直接在节点上签出项目吗?
-
我不是公司代理。我可以直接在节点上签出项目。
标签: git openshift-origin