1202 Commits

Author SHA1 Message Date
Zuul
85330b9166 Merge "Add support for custom Ceilometer configuration" 2019-07-12 21:28:40 +00:00
Zuul
8076acdb74 Merge "Adds support for Ansible 2.7, bump mimimum to 2.5" 2019-07-12 21:28:37 +00:00
Zuul
02efc0b4ce Merge "Move paramiko cap to test-requirements.txt" 2019-07-12 21:28:36 +00:00
Zuul
c31f5b152e Merge "Add support for overriding OpenStack configuration globally" 2019-07-12 21:15:32 +00:00
Zuul
31cb4ff37e Merge "Improve diagnostics for seed jobs" 2019-07-11 20:46:40 +00:00
Pierre Riteau
4667fd4e54 Add support for overriding OpenStack configuration globally
This commit allows Kayobe to generate a global.conf file for use by
Kolla Ansible to override configuration across all OpenStack services.

Change-Id: I6d144a945e1cde06fa9fdd03c30102458c0c9f8d
Story: 2005904
Task: 34153
2019-07-11 16:29:14 +00:00
Mark Goddard
0707e2c53d CI: Don't create an external network in init-runonce
This network conflicts with the ironic provision-net since both are flat
networks on physnet1. We don't need the external network in our CI, so
don't create it.

Change-Id: Id17d4ea00ceb684b34bf12e911758d504c520de0
Depends-On: https://review.opendev.org/#/c/670129/
2019-07-11 06:58:35 +00:00
Zuul
7e83b264e0 Merge "Fix custom ironic python agent environmental variables" 2019-07-08 16:24:54 +00:00
Zuul
2002cf6019 Merge "Support customising refactored HAProxy config" 2019-07-08 16:17:11 +00:00
Zuul
7bb8c80de5 Merge "Support customising Prometheus config" 2019-07-08 16:14:15 +00:00
Pierre Riteau
2863c73861 Move paramiko cap to test-requirements.txt
Change-Id: Ia7d069bc49037c9961bce2a7814fae5745ae8a91
2019-07-08 14:15:19 +00:00
Zuul
b1f54eabe1 Merge "Add retries to ansible galaxy install for all envs" 2019-07-04 16:46:09 +00:00
Mark Goddard
7ed7b27bc4 Add retries to ansible galaxy install for all envs
Galaxy install often fails in CI, scuppering an otherwise good run.

Change-Id: I3d02afe33cdf32b1d285bd4bdc4a8074883113ca
2019-07-04 13:02:04 +00:00
Zuul
3e99fa2f31 Merge "Add support for custom Gnocchi configuration" 2019-07-03 19:13:07 +00:00
Zuul
7115972232 Merge "Add config tags to kolla-openstack play" 2019-07-03 14:45:08 +00:00
Zuul
ca31ab619d Merge "Remove mentions of UUID Keystone token provider" 2019-07-03 14:19:43 +00:00
Zuul
84712dd314 Merge "Provide keystone.conf to kolla-ansible by default" 2019-07-03 14:19:13 +00:00
Mark Goddard
77e8044a40 Workaround: stop bifrost services before seed upgrade
This avoids mariadb being ungracefully shut down, which prevents it from
being started again.

This should be reverted once bug 1834332 has been fixed in kolla ansible
stein.

Change-Id: Ic3932d4af5c0a7639dfeb6cda7e1cd3f61d287c6
Story: 2006050
Task: 34743
2019-07-02 12:06:47 +01:00
Mark Goddard
405ccdada2 Adds support for Ansible 2.7, bump mimimum to 2.5
Updates the minimum version of Ansible from 2.4 to 2.5, and the maximum
supported version from 2.6 to 2.7.

Change-Id: If8071a9b5c85e5e69fbb333e91c84d10c20d80f3
Story: 2006143
Task: 35639
2019-07-02 10:38:54 +01:00
Pierre Riteau
77170a8547 Support customising refactored HAProxy config
Change-Id: I435ab9f88f73a73d7dc02f604f05e6f6def02eb5
2019-07-01 19:51:28 +01:00
Will Szumski
96a946fee1 Fix custom ironic python agent environmental variables
See: e796b3bc18/diskimage_builder/elements/ironic-agent/environment.d/01-ironic-agent.sh (L5)

Story: 2006146
Task: 35642
Change-Id: Ice620746e3ab0e9aac05f085e8f43b432679f221
2019-07-01 15:46:01 +00:00
Pierre Riteau
58f856fd00 Add support for custom Ceilometer configuration
Change-Id: I0a9e1a3b878231f9ce7bf295b5526c9cfabbbf9e
Story: 2005811
Task: 33551
2019-06-25 10:44:57 +01:00
jacky06
67a4d50288 Sync Sphinx requirement
1. Sync sphinx dependency with global requirements. It caps python 2 since
sphinx 2.0 no longer supports Python 2.7.
2. Update some URLs to latest
3. Remove unncessary "=="

Change-Id: Idcb616fd3add4d58f22b91865cec8a54fe492092
2019-06-25 02:24:45 +00:00
Zuul
ab1e5321a9 Merge "Fix overcloud introspection data save" 2019-06-24 20:08:47 +00:00
Zuul
60c7a219cb Merge "Use BatchMode to check whether host is accessible via SSH" 2019-06-24 19:05:26 +00:00
Zuul
794566e23d Merge "Add ceph_disks and mdadm_arrays to service placement docs" 2019-06-24 16:16:37 +00:00
Zuul
6098e51c45 Merge "List Xtrabackup configuration file in documentation" 2019-06-24 16:16:34 +00:00
Zuul
eb0882a12c Merge "Add support for custom Blazar configuration" 2019-06-24 16:16:31 +00:00
Pierre Riteau
ec9b482651 Provide keystone.conf to kolla-ansible by default
Commit d8ee0fa027140fb8a7504bd6685b6dcdfe3ac8fe introduced the variable
kolla_enable_keystone without setting a default value and used it to
check whether to template and provide keystone.conf to kolla-ansible,
unlike the extended keystone configuration which was always copied. This
resulted in non-intuitive behaviour if kolla_enable_keystone wasn't
explicitly set by the operator.

This commit sets kolla_enable_keystone to true by default, which matches
the default in kolla-ansible, and uses it instead of hardcoded true
values.

Change-Id: Id090348a6f22f251555fa286a7d24923087122a9
Story: 2005930
Task: 34273
2019-06-21 15:55:46 +01:00
Zuul
6baad19b0b Merge "Restrict cliff to <2.15.0" 2019-06-19 17:45:15 +00:00
Mark Goddard
a3a71b919c Restrict cliff to <2.15.0
Using Kayobe with cliff 2.15.0 fails with the following error:

kayobe playbook run playbook.yml
invalid conflict_resolution value: 'ignore'

This change restricts cliff to <2.15.0.

Also, fix git cloning previous release repos in CI to allow this patch
to merge.

Zuul provides repositories with all branches containing all prospective
changes, not just the current branch. We can use this in the upgrade
jobs to include changes to the previous release branch when a patch
depends on them.

Change-Id: I7966cf33f6133090d83232504b8c1da4c7817e0c
Depends-On: https://review.opendev.org/665703/
Story: 2005891
Task: 33748
2019-06-17 19:29:26 +01:00
Pierre Riteau
5d82c788a8 Remove mentions of UUID Keystone token provider
Keystone removed the UUID token provider in Rocky and Kolla Ansible
removed support for configuring it. This commit reflects these changes
in Kayobe.

Change-Id: I5a2c71e7e65f99687437f6a26a0c4a942022f4e9
2019-06-12 13:22:44 +01:00
Zuul
4a45d75560 Merge "Build logstash when monasca is enabled" 2019-06-11 23:33:52 +00:00
Pierre Riteau
0e6703a322 Use BatchMode to check whether host is accessible via SSH
If password authentication is not disabled on the server, we may be
prompted for a password if the Kayobe Ansible user doesn't exist or
isn't configured for passwordless authentication.

By using BatchMode, the ssh command can fail quickly and proceed to
create the Kayobe Ansible user using the bootstrap user.

Change-Id: If22ed34dc4b6e87f8cf76c302948c955bddf2bc5
2019-06-11 16:01:03 +01:00
Pierre Riteau
686cf8d541 Cap paramiko to releases below 2.5.0
This new version makes the kayobe-tox-molecule job fail with:

    ImportError: cannot import name py31compat

Change-Id: Ieddf039483649cc7b575019409257b6ce5b3fb99
2019-06-11 14:48:11 +01:00
Doug Szumski
13350e3f56 Support customising Prometheus config
Kolla Ansible supports customising Prometheus config files.
This commit allows Kayobe to take advantage of that.

Story: 2005508
Task: 30617
Change-Id: I9fe28a658dc35adb5358d9a3a96bda9245404257
2019-06-10 15:31:15 +01:00
Mark Goddard
e884faab61 Docs: improve package update admin docs
Add information on updating package repos and rebooting after a kernel
update.

Change-Id: If6b637a0fac58ac7564c051e15b86a483b040a34
2019-06-06 19:22:47 +01:00
Mark Goddard
70556c8e37 Improve diagnostics for seed jobs
Change-Id: I4336cb50c37c9e72bdcc0a7c0424d0f7f158b79b
2019-06-06 10:28:55 +00:00
Will Szumski
39ea521cde Build logstash when monasca is enabled
logstash is required for monasca log transformer

Change-Id: I8da3f80b9bc928997fe087b5abe893a867d46aa8
2019-06-05 21:11:45 +01:00
Zuul
3bc8d89577 Merge "Use OpenStack Stein release" 2019-06-05 15:08:05 +00:00
Pierre Riteau
49d4d7be79 Add support for custom Blazar configuration
Change-Id: I00ee10bdc7f8c1b6ab8576115c757e27b6c2c397
Story: 2005809
Task: 33549
2019-05-31 16:55:10 +01:00
Pierre Riteau
603527c215 Add support for custom Gnocchi configuration
Change-Id: I06c07108693766fd436a60a39f270c116931941e
Story: 2005810
Task: 33550
2019-05-31 16:29:54 +01:00
Pierre Riteau
e55d58088e List Xtrabackup configuration file in documentation
Change-Id: I291cabd76d92b661b7609c82f18fe3aeda2c50ae
Story: 2005015
Task: 29493
2019-05-31 15:28:52 +01:00
Pierre Riteau
17d63c8b99 Correct statement about default kolla images
Kayobe has been using upstream kolla images by default since the Queens
release, as configured by the `kolla_docker_namespace` variable.

Change-Id: Ib56256abbadf0b5f22ef7780af2b9de63a8f157a
2019-05-31 12:45:02 +01:00
Zuul
4daebe5c8c Merge "Add commands for database backup and recovery" 2019-05-30 16:40:07 +00:00
Mark Goddard
b46b2b72bb Use OpenStack Stein release
Switch all dependencies to use the OpenStack Stein release.

This commit should be reverted on the master branch once the
Kayobe stable/stein branch has been cut and RC1 released.

Change-Id: I50a39994c8ffa0c7d65e026ae765973541423476
2019-05-29 17:20:25 +01:00
Andreas Jaeger
f1e02e9367 Remove duplicate docs job
Both docs-on-readthedocs and build-openstack-sphinx-docs contain a build
job - a different one: the current openstack-tox-docs and the obsolete
build-openstack-sphinx-docs. Remove the obsolete template and thus
avoid building docs twice for each change.

Change-Id: I358641d29304815eec6c699ae7e20da1e069443d
2019-05-25 17:55:51 +02:00
Radosław Piliszek
d8c6fa307f Fix two links in the docs pointing to repo on github (moved to opendev)
Change-Id: I793251519a5da0e3d1225673c9b3394e738f4336
Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2019-05-24 16:56:04 +02:00
Mark Goddard
88649df6f6 Add ceph_disks and mdadm_arrays to service placement docs
Change-Id: I0a2cb770c74b7e4e99a1a411990c6ed488efb303
2019-05-23 11:51:31 +01:00
Mark Goddard
e96179921f Add commands for database backup and recovery
Uses the support [1] for database backups added to Kolla Ansible in the
Stein release.

Adds the following new commands:

kayobe overcloud database backup [--incremental]
kayobe overcloud database recover [--force-recovery-host <host>]

The recovery command is for recovering a clustered database that has
lost quorum.

[1] https://docs.openstack.org/kolla-ansible/latest/admin/mariadb-backup-and-restore.html

Change-Id: Ie16354cd01ea7dd83cd3d4058dd8451b8387600b
Story: 2005015
Task: 29493
2019-05-23 10:48:04 +01:00