Fix for bug 921301
Reading the domain from the primary
Merge pull request #1685 from abhgupta/bug921301

Merged by openshift-bot