Environment variables are not shown correctly with load balanced broker OpenShift Enterprise infrastructure

Solution Unverified - Updated -

Issue

Our cloud domain is abc.xyz.com and we have two brokers configured (test123.xyz.com and test456.xyz.com), with a single load balanced service address of 'www.abc.xyz.com'

After creating a new application using the PHP cartridge, some of the environment variables displayed by phpinfo() appear to be wrong. for eg :

OPENSHIFT_CLOUD_DOMAIN: example.com
OPENSHIFT_BROKER_HOST: localhost

Environment

  • OpenShift Enterprise (OSE)
    • 1.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.