utils/fetch_os_creds.sh: Fuel: Robust creds fetch 29/40129/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 24 Aug 2017 15:24:06 +0000 (17:24 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 24 Aug 2017 15:28:47 +0000 (17:28 +0200)
commit9980e24afca2ca8bd6807a4a6f5421b0a6f0e95b
treea481d3f96de73ac88be240464e84a061122da8b6
parent1ee5712c4535807e90111c4a675404b1e17ebab9
utils/fetch_os_creds.sh: Fuel: Robust creds fetch

In case ctl01 node is down, the current mechanism will return
invalid data (the string "Minion") instead of a valid controller IP.

Since "keystonercv3" is present on all controller nodes at </root>,
adjust the credentials fetch to use the first online controller node.

Change-Id: I4ba15bb40d465b112c5e9fc827e3e2a69e671b26
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
utils/fetch_os_creds.sh