summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2017-01-31Merge "Fix password decryption"Dimitri Mazmanov1-1/+1
2017-01-31Fix password decryptionDimitri Mazmanov1-1/+1
Change-Id: I34b1b5b53861f22e0c2d62920c7f5fd9d2f370f0 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Remove quotes from region name"Dimitri Mazmanov1-1/+1
2017-01-31Remove quotes from region nameDimitri Mazmanov1-1/+1
Change-Id: I26bc5f328f416bc53bdbd2391d7c84f8f3b946d3 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "extract filename"Dimitri Mazmanov2-2/+3
2017-01-31extract filenameDimitri Mazmanov2-2/+3
Change-Id: I1393da09fef7ac3650a74c95483736b2c5aaff65 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Extract filename from the path properly"Dimitri Mazmanov1-1/+1
2017-01-31Extract filename from the path properlyDimitri Mazmanov1-1/+1
Change-Id: Ic1bc0367590b413209dd070041125150a16ab77e Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Fix executable"Dimitri Mazmanov1-1/+1
2017-01-31Fix executableDimitri Mazmanov1-1/+1
Change-Id: I8a78fcc939ce0007bff6bb978360d06706cd87e4 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Fix export in the run.sh"Dimitri Mazmanov1-2/+2
2017-01-31Fix export in the run.shDimitri Mazmanov1-2/+2
Change-Id: I69075bf7ad5f9900ee4e47596dcb61c85f70d617 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Fix region name"Dimitri Mazmanov1-1/+1
2017-01-31Fix region nameDimitri Mazmanov1-1/+1
Change-Id: I2656eec0182bd0bffcdb927b68888ba9829a53b6 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-31Merge "Fix endpoint parse create steps"Chaoyi Huang1-8/+7
2017-01-30Debug fixDimitri Mazmanov1-1/+1
Wrong path was used to invoke the script Change-Id: I2e6c1c0cce9c0e9e83ddb2ab3fbfce997055220e Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-30Minor bug fixDimitri Mazmanov1-2/+4
Integration test in progress Change-Id: I12cb78afcfeb1cd377e1d89e6761ee9c6ab3487c Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-01-30Fix script execution on wrong targetDimitri Mazmanov5-17/+26
All scripts are now triggered via run.sh which is a proxy to controllers and computes. Change-Id: Ifd35d5405d30b9aed002515e55a3b9047098a0d4 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> JIRA: MULTISITE-34
2017-01-27Fixes for Multisite Kingbird Jenkins jobsFatih Degirmenci4-10/+21
This patch contains the changes needed to get scripts working as part of Jenkins jobs. Changes include fixes for below issues. - Archive servicepass.ini and endpoints.ini under $WORKSPACE due to inability of Jenkins with archiving artifacts that are stored in directories which has no read permissions for. - Fetch servicepass.ini and endpoints.ini from corresponding locations and store them in $WORKSPACE. Change-Id: I88d477f5c6217a6ad7db250ae582fab2a17dc30e Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-01-26Fix endpoint parse create stepsDimitri Mazmanov1-8/+7
Due to udpated openstack client the CLI commands for endpoints need update. Change-Id: I7498e8366cd95904333090eb5dc36fec57de8f8f Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> JIRA: MULTISITE-33
2017-01-23Common auth configuration for Mulsite deploymentDimitri Mazmanov5-15/+412
This set of scripts is used to configure centralized Keystone across multiple regions. Each script is executed during a certain stage of the automated multisite deployment setup via Jenkins [1]. region.sh - registers new endpoints in Keystone tagging them with RegionTwo. fetchpass.sh - reads service passwords in the master region and stores them in an encrypted file. endpoint.sh - reads the public_url, private_url and admin_url from RegionTwo and stores it in a file to be used during region registration phase. run.sh - is a generic proxy runner which triggers execution of any runnable on a target node (compute|controller). writepass.sh - updates service password entries in the configuration files for RegionTwo. [1] https://wiki.opnfv.org/display/multisite/Multisite+Deployment+Environment Change-Id: If2c91600237003a13cc0dc822924ab8d27ce202c Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-11-04Add new region registration scriptDimitri Mazmanov1-0/+52
The script contains registration of the OpenStack services This is the first part of series of commits to centralize Keystone. Change-Id: I024c5371a1cfa5bd93a0dd7dd7c7738d7a7df642 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-09-22Merge "Add license information to the deployment scripts."Chaoyi Huang2-0/+16
2016-09-21Add license information to the deployment scripts.Dimitri Mazmanov2-0/+16
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: I4479d9abfe329615e6d4a720a2763e0d78de580e
2016-08-31installation script quits when no kingbird user/service existsAlex Yang1-0/+4
Change-Id: I5ea6c81f959e9e79b0022b889e6e378c68884052 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2016-08-19Fetch Kingbird with a fixed 0.2.1 tagDimitri Mazmanov1-0/+1
In order to ensure that the Colorado release we should work with a fixed version of Kingbird to avoid uncertainties. Change-Id: Ida9e72d639c81e2e43ecaf48fd8461ec6912677a Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-08-09pgrep didn't use the right process nameDimitri Mazmanov1-2/+6
Change-Id: I07b83468a8db4ef0ccc868ec8eba0f9b8c591089 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-08-09Remove kingbird folder before cloningDimitri Mazmanov1-4/+3
If one deployment fails, all subsequent jenkins runs will fail due to the git clone command failing because of the existing kingbird folder. Moving folder cleanup before the clone operation. Change-Id: Ief1e70f10f22c0811a483d4dd8cddccec8bd622a Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-28Force reinstall of kingbird.Dimitri Mazmanov1-1/+1
Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: If0ccee8de3270117d07f3b4aeae17e25c619e28c
2016-07-14Fix endpoint URLsDimitri Mazmanov2-35/+43
Previously kingbird endpoints were registered without port number and version. This fix restores correct endpoints. Change-Id: I7ce1cbffa1c99e5a4f5d97aa495f9ac914272d8a Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2016-07-13Add kingbird deployment scriptsDimitri Mazmanov2-0/+225
The scripts will be triggered by the CI and install kingbird on a controller. Change-Id: I3110aeb5dd20e53ca5816691ee2c7da24720630b Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>