summaryrefslogtreecommitdiffstats
path: root/utils/fetch_os_creds.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-01-17Use public endpoints in the RC file for compass onlyjose.lausuch1-0/+11
Change-Id: Ic6be1e5559653145e6a80442b205533901c0a2bd Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-01-11[FUNCTEST-FUEL] Remove URL swapNikolas Hermanns1-5/+0
Since the virtual deployments are now able to use the internal mgmt network we remove the swap Change-Id: I8eed4dd8218a78c697ffde4716c35170fa72d814 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11[Functest] Removing admin to Public enpoint swapNikolas Hermanns1-7/+0
The openstack.creds file is not aligned with commonly used methodologies. Change-Id: Iba0afc83ebbe35dd189cc35e5bf682680fc96535 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-01-11[Functest][Keystone] --long argument not available anymoreNikolas Hermanns1-2/+2
For newton we have to grep differently for the public ip. Change-Id: I646358005b163829004e0016514e254575d03157 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2016-12-29Fix compass public vip fetch bug in NewtonQiLiang1-3/+11
Error log: More than one endpoint exists with the name 'identity'. fetch_os_creds.info: public_ip: Change-Id: Ie7c8eeec5e84de4c38a17b4e718be65f36c562a7 Signed-off-by: QiLiang <liangqi1@huawei.com>
2016-08-15[compass]:[merge after 18665]rename region name to be unifiedMatthewLi1-1/+0
JIRA: COMPASS-457 please merge after https://gerrit.opnfv.org/gerrit/#/c/18665/ Change-Id: Ie73017dccc8e203fe14c75702e797cb63f20b462 Signed-off-by: MatthewLi <matthew.lijun@huawei.com>
2016-08-03[compass] change the cmd of getting endpoint because of ugly warningsmeimei1-4/+2
Change-Id: I5082a6fb3a2d27d17753cf42dc1555cbb3d8eb9a Signed-off-by: meimei <meimei@huawei.com>
2016-07-26Replace single by double quotes in fetch credentialsjose.lausuch1-1/+1
'fuel --env $env_id' fails because a variable in single quotes is not read, it is treated as a literal string. When using double quotes, the variable is replaced by its value Change-Id: I39e777ec27c547e012d6f4674bc24e20d421889c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2016-07-26Use head instead of tailDimitri Mazmanov1-1/+1
When retreiving an environment id use head to get the first available environment Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-25Make environment id dynamicDimitri Mazmanov1-1/+8
Removed hardcoded value of fuel environment. The value is now fetched from an environment variable FUEL_ENV. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: Iae8e5139f013ca7947e79a1a9a44efd82f48b95b
2016-07-25Always use controller from environment 1Dimitri Mazmanov1-1/+1
In case of multiregion fuel deployments (which is implemented using fuel environments), always use a controller from the first environment (RegionOne), as for multisite RegionOne is the master region. This fix will not affect single region deployments, because the -env 1 property will result in the same single output. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-06-20Fix to correct IP address logic in previous changeStefan K. Berg1-1/+2
Commit 622002bea0a0eda42e9a76d14af4bdff47c692d6 is breaking the Fuel Yardstick testing, this is an emergency fix. The change introduced spaces in the controller_ip address, breaking later ssh and scp commands! Signed-off-by: Stefan K. Berg <stefan.k.berg@ericsson.com> Change-Id: Ied329103a3568c523ec8ab16a7df5a4763ec14b3
2016-06-18Change IP parsing to not depend on spaces in namesStanislaw Kardach1-1/+1
Prior method of extracting the controller IP was relying on the fact that default node names have spaces in them and hence generate 9 fields before the IP address. This change proposes to change awk tokenizing to divide string by column separator in `fuel node` output. Signed-off-by: Stanislaw Kardach <stanislaw.kardach@cavium.com>
2016-06-14Fix the "The controller is not up" problem caused by the fuel9.0 changing ↵zhifeng.jiang1-1/+1
the online state form "True" to "1". JIRA:QTIP-85 Change-Id: Iaa07af84954bb590801336f2ca44e621c97baeb9 Signed-off-by: zhifeng.jiang <jiang.zhifeng@zte.com.cn>
2016-03-23Adding a fix needed for Fuel virtual deploymentJonas Bjurel1-3/+11
NOT VERIFIED Change-Id: Iabe82f34c6a538646469d72e612f63e51917ae98 Signed-off-by: Jonas Bjurel <jonas.bjurel@ericsson.com>
2016-02-05Fix: OS_AUTH_URL for fuelJo¶rgen Karlsson1-1/+1
Change-Id: Ic0f9b66b1cec3d4249bf979e2a4ca5b8d803ca0e Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>
2016-01-15compass-bugfix: fetch os creds from host1-5meimei1-1/+1
Change-Id: I9acce6f1dabb5186375894cdcdc83b392e9d872e Signed-off-by: meimei <meimei@huawei.com>
2015-12-09add joid to fetch_osMorgan Richomme1-0/+5
temp implementation: do nothing, rely on volume declared during the creation of the docker file JIRA: FUNCTEST-97 Change-Id: I8c2e935ab8a72b5593d68236b9573b380a61dcfa Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-12-08Add chmod 600 to id_rsa ssh key before scp to Instack VM when fetching credsjose.lausuch1-0/+3
Change-Id: I7cb34330dbfaa94ac5b8d2efd9df6f257eccfa6c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-08Fix ssh issues when fetching the creds of Instack VM (Apex)jose.lausuch1-1/+1
JIRA:RELENG-61 Change-Id: I879fa009d53b6ea586b1fd04c52a7c3c23918427 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-12-07Add Apex installer in fetch_os_credentials.shjose.lausuch1-26/+37
JIRA:RELENG-61 Change-Id: I9017118a42f0794ac34ef03e6788366322ffd550 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-11-17[functest] modify releng/utils/fetch_os_creds.sh to adapt compassmeimei1-6/+4
JIRA: COMPASS-158 Change-Id: I3b242f7902e7bd6c7079053bfad3b9405d559bdb Signed-off-by: meimei <meimei@huawei.com>
2015-09-08Bugfix: corrected fetch credentials for foreman installerjose.lausuch1-2/+3
JIRA: FUNCTEST-43 Change-Id: Id820ef2b2cd248dbc7baa6887312ae90a301a8a2 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-08-27Revert "source creds retrieved dynamically by the script"Morgan Richomme1-1/+0
This reverts commit d72b560c1fa16780f1760c243d05fcb669e515c0.
2015-08-27source creds retrieved dynamically by the scriptMorgan Richomme1-0/+1
so far we just cat them and source them in the functest part. It is better to keep all the creds related action in the fetch creds scripts JIRA: FUNCTEST-42 Change-Id: I4c422237398baf13a1af73232a74bd36f82faca7 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2015-08-14add an option "compass" in fetch_os_creds.shm001331421-0/+27
JIRA: COMPASS-9 Change-Id: I8df14c81eb4ef02b6a02e01f2d0f57acbb6c102b Signed-off-by: m00133142 <meimei@huawei.com>
2015-06-30Get vars from env for fetch_os_creds.shFatih Degirmenci1-1/+5
The vars needed by script is set from env if they're available. Default destination is set to $HOME/opnfv-openrc.sh JIRA: FUNCTEST-16 Change-Id: I92e4498d342f784f9ffdea7a87546b4fbacc09f7 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-06-30fetch_os_creds.sh : small correction for Fuel to grab the public API correctlyjose.lausuch1-2/+2
JIRA: FUNCTEST-16 Change-Id: I6a8d1ff2a58c599cd84426d580024bd962fae51f Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2015-06-29Added script to fetch the OpenStack credentials file for Fuel and Foremanjose.lausuch1-0/+139
JIRA: FUNCTEST-16 Example FUEL: ./fetch_os_creds.sh -d $HOME/creds -i fuel -a 10.20.0.2 Example Foreman: ./fetch_os_creds.sh -d $HOME/creds -i foreman -a 172.30.10.73 Change-Id: I4bddfad43f6200572615da66915822b3dc2f3957 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>