summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-14Parameterize the public and internal IP valuesDimitri Mazmanov1-3/+3
Change-Id: Ic4140d0e8eb8fc59319ae5e7bf0c16800aac807e Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-14Use the correct bind host for haproxy configDimitri Mazmanov1-1/+3
Change-Id: I5e8bd6be29b67b22afcf8fb6e332c1058f8f10d9 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-13Add haproxy and iptables configuration for KingbirdDimitri Mazmanov1-0/+20
Host binding was missing for kingbird Firewall rule that opens 8118 port was missing. NOTE: This is necessary but may not be enough, as curl on 172 and 192 network was refused. Change-Id: If950154012ee7b290a42a0774d5fdb782d6b065d Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-06Fix kingbird configuration issueDimitri Mazmanov1-15/+17
In the updated version of service confs there no usage of rabbit specific config parameters. Updated kingbird.conf to reflect these changes. Change-Id: I21772c2031c79007803eed613ef97ec6a14bdba1 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-03-02Use full path for kingbird scriptsDimitri Mazmanov1-3/+3
The jobs are still not triggering kingbird engine and api. Trying with absolute paths, as everything else in the installation script has been triggered Change-Id: Ied91becdb4cf1257e03ac4eed79dd7c786034e01 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-02-23Fix installation scriptDimitri Mazmanov1-6/+3
Remove the check if kingbird is running. Remove nohup from service startup. Change-Id: I85e4e1fd8be47440c4d3f81229970b084dd5cb08 JIRA: MULTISITE-35 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
2017-02-16Update the multisite documentations to reflect the progress in Djoehuang15-369/+623
As some changes in OpenStack projects like KeyStone PKI token deprecation, L2GW moved away from Neutron stadium, Tricircle shrinked scope and became OpenStack big-tent project, and Kingbird has made great progress in feature development after the initial requirements discussion. Documents need to update to reflect these recent changes. python-kingbirdclient was introduced recently, so the usage guide is updated to use python-kingbirdclient. The new feature key pair synchronization is also included in the usage guide. Change-Id: Iad9fbd441d191defa5e8793633a626ab5a24f217 Signed-off-by: joehuang <joehuang@huawei.com>
2017-01-31Merge "Fix internal url"Dimitri Mazmanov2-12/+12
2017-01-31Fix internal urlDimitri Mazmanov2-12/+12
Change-Id: I6da6bb329bb54de6f58ae1ba9082973dd00475a0 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
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-28Add Goutham to committer listjoehuang1-0/+1
Goutham has started working with Multisite and Kingbird recently, but has already shown his commitment to the projects by contributing patches and actively participating in weekly meetings. Change-Id: I0a34ba4a5e70f5dad705ade10d1175d7dc1394ee Signed-off-by: joehuang <joehuang@huawei.com>
2016-11-22Merge "Add new region registration script"Dimitri Mazmanov1-0/+52
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-10-13Remove useless X-ROLE from http headerAlex Yang2-11/+1
X_ROLE in http header is not needed. It will be removed because in keystonemiddleware/auth_token/AuthProtocol.process_request() request.remove_auth_headers() is called. Some incorrect statements like "ROLE: dmin" bring confusion. Change-Id: Ic074425803b6d643502f87543bc527e69aab4e8e Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
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-09-19Merge "installation script quits when no kingbird user/service exists"Dimitri Mazmanov1-0/+4
2016-09-09Update to Creative Commons 4.0joehuang7-15/+6
According to the OPNFV IP Policy, update the license to Creative Commons 4.0 For the document were prepared by the team members from various companies, so the "(c) OPNFV" from the copyritht declaration is removed. Change-Id: I47c8356dfb484cd0960916298e2863f37d6c8827 Signed-off-by: joehuang <joehuang@huawei.com>
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-30Update docs structure according to document structure guidejoehuang10-36/+26
According to the document structure, feature projects are expected to store their documentation as following, <repo>/docs/userguide/feature.usage.rst <repo>/docs/userguide/index.rst <repo>/docs/installationprocedure/feature.configuration.rst <repo>/docs/installationprocedure/index.rst And as per previous release, <repo>/docs/releasenotes/release.notes.rst <repo>/docs/releasenotes/index.rst In multisite repo that we have both an installation instruction and a config guide. Need to combine these and then store them in <repo>/docs/installationprocedure/feature.configuration.rst And add release notes. Change-Id: I9ba0663640063488e232b1342174b10266ac77fc Signed-off-by: joehuang <joehuang@huawei.com>
2016-08-25Adjustments to the docs structure according to directivesSofia Wallin2-8/+8
Moved the installationprocedure/abstract.rst into the installation document. Change-Id: I120b5ab8534bef392d66dc9763a3b68138eede53 Signed-off-by: Sofia Wallin <sofia.wallin@ericsson.com>
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-14Add kingbird installation, configuration and user guidejoehuang10-21/+828
Kingbird is a sub-project in multisite, and will be released as part of OPNFV Colorado release, add Kingbird installation , configuration and user guide to the Multisite repository, and in later patch includes them into OPNFV documentation. Change-Id: I3f8f3528c495f6f10bfa790763cc7c69017d7bdb Signed-off-by: joehuang <joehuang@huawei.com>
2016-08-09Add kingbird.log fileDimitri Mazmanov1-0/+0
The jenkins job fails without it. Adding it temporarily. Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com> Change-Id: Id431b0f3ed1fc34ba1d598f05c7107694dec2e43
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-19Merge "Fix endpoint URLs"Dimitri Mazmanov2-35/+43
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-13Merge "Add kingbird deployment scripts"Dimitri Mazmanov2-0/+225