Change the way to get controller IP for scp

In HA scenario, endpoint ip is HA VIP instead of real
controller's IP, causing scp openrc to fail.

Change-Id: I723c138710041cd7c3bae4fed6781bddc0e1cc9d
Merge "Change the way to get controller IP for scp"