aboutsummaryrefslogtreecommitdiff
path: root/tools/kolla-ansible
AgeCommit message (Collapse)AuthorFilesLines
2016-11-15Remove Ansible from KollaSteven Dake1-224/+0
Change-Id: I5396e4b9927d3e65b6aa4185238a43a4765a996b
2016-11-03Move precheck into its own roleJeffrey Zhang1-1/+1
* Merge prechecks.yml and site.yml playbook * Create empty precheck.yml into all roles. Change-Id: I8a138558a26c0a2a66c5fd48ed37be657c99c1dd Implements: blueprint condition-pre-check
2016-10-09Choose node with largest seqno number for mariadb recoveryJeffrey Zhang1-1/+1
When all mariadb nodes are stopped gracefully, mariadb galera will write it's last executed position into the grastate.dat file. Need find the node with largest seqno number in that file and recovery from that node. Closes-Bug: #1627717 Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
2016-09-17Optimized the serial upgrade and reconfigureJeffrey Zhang1-2/+2
* add serial for reconfigure * set playbook serial by using variable * fix serial for barbican, influxdb and vmtp Closes-Bug: #1624607 Change-Id: I66530c7736e1673a592eddbde75637825d12d9e2
2016-09-02Update destroy include images arg to LONGOPTPaul Bourke1-2/+11
Change the argument for including images as part of destroy from '-e destroy_include_images=yes' to a more consistent --include-images. TrivialFix Change-Id: I0a29c69121697cab751578093cc7ca58011eb853
2016-09-01Merge "add deploy-servers command"3.0.0.0b3Jenkins1-6/+13
2016-08-31Merge "add bifrost deploy ansible support"Jenkins1-0/+5
2016-08-31Merge "Add warning to kolla-ansible destroy action"Jenkins1-1/+16
2016-08-31Add warning to kolla-ansible destroy actionJeffrey Zhang1-1/+16
Change-Id: Id7591dff978b8fb7ba2c59331ffd83a77ecf46ab Closes-Bug: #1610546 Signed-off-by: Jeffrey Zhang <zhang.lei.fly@gmail.com>
2016-08-31add deploy-servers commandSean Mooney1-6/+13
- This change extends kolla-ansible with a deploy-server command to enroll and deploy physical servers with bifrost. Change-Id: Iaa9f34b00e676569f6e3df679b7454b1ec0b8e34 Implements: blueprint bifrost-support
2016-08-31add bifrost deploy ansible supportSean Mooney1-0/+5
- This change addes the ability to deploy and bootstrap bifrost. - This change introduces a deploy-bifrost command to kolla-ansible. Change-Id: I62afcf348661add900c98904e90a15a0eddffd4b Implements: blueprint bifrost-support
2016-08-10add baremetal role to install kolla deps.Sean Mooney1-0/+6
Change-Id: Ie70db1b18a73528b1194e4fbcf53d09fed20f4a0 Implements: blueprint kolla-host
2016-08-08Change cleanup to destroy as cleanup is a misnomerDuane DeCapite1-5/+5
The cleanup command in the external API is a misnomer and should be called destroy. Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e Closes-Bug: 1610364
2016-08-03Cleanup images as part of kolla-ansible cleanupPaul Bourke1-0/+1
TrivialFix Change-Id: I88004f08c75e7d648a615e64d59ccf655b6a1a13
2016-05-31Add passwords parameter to LONG_OPTS in kolla-ansible scriptChristian Berendt1-1/+1
Change-Id: I8b139d716deeb7eee8eb22beda8ac6d3b82e66ee Closes-bug: #1587648
2016-05-31change keyfile to keySteven Dake1-3/+3
All files used by kolla-ansible do not have a file ending. keyfile was added as an anomoly. I noticed this during a review that coolsvap had underway where he did a similar thing. I think --key is fine. TrivialFix Change-Id: I99867a1a04a4dd881dcb2af39946122ea6b7d8a3
2016-05-21Make passwords.yml file generation configurableSwapnil Kulkarni (coolsvap)1-11/+16
partially implements blueprint multiple-clouds Change-Id: I676c4245e6f058ffbed345970ee78d1750dd0f2f
2016-05-19Add generate-config option to kolla-ansibleRyan Hallisey1-8/+13
In order for the ansible configuration to be consumable, we need to be able to generate it without deploying anything. Change-Id: I2bbdd74d62d00f509a4fa5e4100906ed658d3974 Implements: blueprint generate-config
2016-04-27Merge "Add a role to cleanup containers after deployment"Jenkins1-0/+5
2016-04-19Add a role to cleanup containers after deploymentMauricio Lima1-0/+5
Change-Id: I5f422574d7e50ec9a1e5862b66ecbf39fe1594d2 Closes-Bug: #1531721 Implements: blueprint ansible-cleanup-role
2016-04-19Fix typo in kolla-ansible usage messagePaul Bourke1-1/+1
TrivialFix Change-Id: I170f19afdc4dcf86e372058d70694f3e7b510e69
2016-04-13Added help documentation for kolla-ansible upgradeSwapnil Kulkarni (coolsvap)1-0/+1
Change-Id: I6a2672362da5ae69e8417e334a170c3c68c1307c Closes-Bug: #1569971
2016-04-05Check empty passwords in $CONFIG_DIR/passwords.ymlVikram Hosakote1-1/+1
Co-Authored-By: Carlos Cesario <carloscesario@gmail.com> Change-Id: Ic2ea835cf38be64a590d3f6b022683081aeb363b Closes-Bug: #1566150
2016-03-29Pass extra variables through kolla-ansible to ansible-playbookHui Kang1-2/+8
Change-Id: I4ddad85aadfac4047460085ec6bc0fcabd718253 Closes-Bug: #1561757
2016-03-16MariaDB lights out recoverySamYaple1-0/+6
This playbook only matters for multinode since AIO can recover from power outage without additional configuration. DocImpact Implements: blueprint mariadb-lights-out Change-Id: I903c3bcd069af39814bcabcef37684b1f043391f
2016-02-26Add Ansible scripts to generate TLS certificates for testingDave McCowan1-0/+6
Working towards the blueprint that will add TLS protection for the external endpoints, kolla needs certificates. When kolla deploys OpenStack, the external VIP will need a server side certifcate. Clients that access those endpoints will need the public CA certificate that signed that certificate. This ansible script will create these two certificates to make it easy to use TLS in a test environment. The generated certificate files are: /etc/kolla/certificates/haproxy.pem (server side certificate) /etc/kolla/certificates/haproxy-ca.pem (CA certificate) The generated certificates are not suitable for use in a production environment, but will be useful for testing and verifying operations. Partially-implements: blueprint ssl-kolla Change-Id: I208777f9e5eee3bfb06810c7b18a2727beda234d
2016-02-25Add the default empty reconfigure.yml file to all rolesJeffrey Zhang1-1/+4
DocImpact Partially-implements: bp kolla-reconfig Change-Id: I9738e80960bcfbef18d1ef1b7942f81c45684e85
2016-02-12Fix non-root deploysSamYaple1-3/+11
TrivialFix Change-Id: Id0e7cf9e1c0c4259b8a50c39e95214103256517b
2016-02-08Increase ansible verbosity during gate deployMartin André1-3/+11
The gate currently doesn't provide any context when ansible fails. This commit adds a new --verbose option to `kolla-ansible` that is passed to `ansible-playbook`, and sets the default to -vvv for `kolla-ansible deploy` in the gate. TrivialFix Change-Id: If248a4186b140e1ec0d2e787c27481cec7e81eec
2016-02-05Fix the ugly base directory pathAllen Gao1-1/+1
Remove the '..' in the path like: /home/jenkins/workspace/gate-kolla-dsvm-deploy-centos-binary/tools/../ansible/inventory/all-in-one TrivialFix Change-Id: I80724a9e876ed1826c65e08b55cfa08124d70eb9
2016-01-27Add the keyfile option to decrypt the passwords.ymlAllen Gao1-2/+11
The passed keyfile path is used to decrypt the passwords.yml which encrypted by the ansible vault. Partially-Implements: blueprint encrypt-sensitive-info DocImpact Change-Id: Ifaebf464478cde99e896c13b375cfaf9282ee576
2016-01-27Add the missed long option tagsAllen Gao1-1/+3
And use variables for options. TrivialFix Change-Id: I6cf8612b4e15ef263d2f5b2dbacc186ccd16871b
2016-01-25Expose the ansible-playout tags parameterJeffrey Zhang1-3/+7
we can deploy specific services by using tags feature. It is very useful, especially in develop/test stage. TrivaiFix Change-Id: I21cc55e6f1a32a5c57570bc2c2fb9b084e513af8
2016-01-21kolla-ansible: refactor the command optionsAllen Gao1-5/+6
TrivialFix Change-Id: I511f463250d1472c831aa3e5b126dafb36ce79c4
2016-01-20kolla-ansible: add prechecks subcommandAllen Gao1-0/+6
TrivialFix Change-Id: Ifb0ca3383cd04f5ff6baeb30ae6996d450d5c579
2016-01-15kolla-ansible: add post-deploy subcommandWanlong Gao1-2/+8
It is more convenient to add a subcommand instead of assigning playbook path manually. Change-Id: Ia2f27a0f44eb719b28d5e7f9762dc47186eeb0e6
2016-01-13Add kolla-ansible upgrade commandSamYaple1-0/+4
Change-Id: I432802fed979c9e42fb51703ce830f0fd8debc1e Partially-Implements: blueprint upgrade-kolla
2016-01-06make the kolla-ansible python3 compatibleJeffrey Zhang1-1/+1
* remove unused sys * user print() for python3 compatible TrivalFix Change-Id: I65c66d0373cdec19da668c3d911f061ce95d1374
2016-01-04Allow common role to pull imagesSamYaple1-2/+7
Change-Id: I3de01770eca6b7e681b7964a6d6e15564065aaea Partially-Implements: blueprint pre-pull-images
2015-11-06Few improvements in Kolla tools. Added Ubuntu support.Kirill Proskurin1-0/+2
pip install default prefix in Ubuntu is /usr/local, and Kolla tools scripts didnt respect that. So I added few OS checks in this scripts. I improve config path check in build.py. Added more verbose error if we can't find config directory. Change-Id: Ide521ed205b0dc1fc27e237a9a8f4da0168e664f Closes-Bug: #1512302
2015-09-15Make kolla-ansible work in pip installed kollaMartin André1-5/+13
This is a quick hack to get kolla-ansible working with pip installed kolla, kolla-ansible will need to be rewritten at some point in python. Closes-Bug: #1495797 Change-Id: I7cf8c4baae76ff8f31514f64bed934848a1c3e40
2015-08-19Move defaults.yml to group_vars/all.ymlSam Yaple1-1/+1
The purpose for having defaults.yml on the command line was originally for variable inheritance. Over the past month we have slowly changed how things are inherited (like ports) allowing us to place these 'defaults' into the group_vars/all.yml location as they should be values that go unchanged (but can be overridden). Change-Id: I2becec66bf431bfc9d88fc825b5380c1e173ca70 Partially-Implements: blueprint update-configs
2015-07-31Initial kolla-ansible command - deploy support onlyBorne Mace1-0/+81
Change-Id: I4f6f38b2a202b41a9dec839fa0222585b49fc06c Partially-Implements: blueprint kolla-ansible-script