Reputation: 360
Giving openshift origin V3 a try with a simple byo runbook setup that sticks closely with the Advanced Installation instructions. However, my builds are having difficulty cloning from any git repository, even public github ones.
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 "[email protected]: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.
I have no problems cloning the repo manually on my master.
Any wisdom will be greatly appreciated.
Upvotes: 4
Views: 1405
Reputation: 360
Removing all searchdomain
entries in /etc/sysconfig/network-scripts
or /etc/resolv.conf
file fixed the issue.
This was discovered by testing on a local setup with DHCP addressing instead of a manually assigned IP with the host in my original question, which worked fine, which helped to narrow down the issue to networking differences between both environments.
Upvotes: 1