Skip to content
This repository has been archived by the owner on Jul 29, 2018. It is now read-only.

Issue with accessing an application in a proxy setup with libvirt provider. #159

Open
LalatenduMohanty opened this issue Jul 21, 2016 · 0 comments
Milestone

Comments

@LalatenduMohanty
Copy link
Contributor

LalatenduMohanty commented Jul 21, 2016

We are getting below error after an application gets deployed in OpenShift running in ADB in a http proxy environment.

curl: (6) Could not resolve host: cakephp-example-sample-project.centos7-adb.10.1.2.2.xip.io; Unknown error

Steps to reproduce

  1. Add proxy setup in OpenShift Vagrantfile [1] as mentioned below.
  2. Do oc login
  3. Deploy an application e.g. oc new-app nodejs-example
  4. Once the application is deployed oc status run oc get route
  5. Try to access the application.

[1] https://github.com/projectatomic/adb-atomic-developer-bundle/tree/master/components/centos/centos-openshift-setup

# HTTP_PROXY

PROXY="<IP>:<PORT>"
PROXY_USER="<UserName>"
PROXY_PASSWORD="<Password>"

config.vm.provision "shell", run: "always", inline: <<-SHELL
    PROXY=#{PROXY} PROXY_USER=#{PROXY_USER} PROXY_PASSWORD=#{PROXY_PASSWORD} DOCKER_REGISTRY=#{DOCKER_REGISTRY} IMAGE_TAG=#{IMAGE_TAG} IMAGE_NAME=#{IMAGE_NAME} sccli openshift start
  SHELL
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants