1005 Commits

Author SHA1 Message Date
Zuul
4244a8d7a6 Merge "Reorganise administration guide into sections" 2018-12-04 17:01:26 +00:00
Zuul
e103d455ee Merge "Bump Ansible to 2.6.x" 2018-11-29 00:31:14 +00:00
Zuul
c3ec38632e Merge "Make ansible_host optional for all switch types" 2018-11-28 13:46:53 +00:00
Mark Goddard
72ce93dbfe Reorganise administration guide into sections
The administration guide has become a bit bloated, and not well
organised. This change creates new subsections within it.

Change-Id: I8aa133c183fb6b7d87a86d5ab66cc7faa5e64112
Story: 2004337
Task: 28082
2018-11-28 13:41:49 +00:00
Zuul
91566b0f12 Merge "Add commands to enable and disable the serial console" 2018-11-27 19:49:08 +00:00
Mark Goddard
ae340128e6 Make ansible_host optional for all switch types
The Juniper device support allows ansible_host variable to not be set
for a switch, in which case the inventory_hostname will be used instead.

This change applies this default consistently across all switch types.

Change-Id: Ibc1e673a6b988f2e8d7bb6c62d30ccdb7ce96351
Story: 2004358
Task: 27958
2018-11-27 18:56:27 +00:00
Zuul
3df008fdc4 Merge "Add documentation about physical network config" 2018-11-27 18:53:45 +00:00
Zuul
2aeb134390 Merge "Add release.sh, a script for creating releases" 2018-11-27 18:53:44 +00:00
Zuul
9120e74e9f Merge "Add --quiet flag to CI diagnostics collection" 2018-11-27 17:04:43 +00:00
Zuul
a3c1034ffd Merge "Add support for a custom octavia.conf file" 2018-11-27 17:04:42 +00:00
Ross Martyn
73fb8c39c8 Added manila.conf details to kolla-ansible documentation
This small update is to show users where to put their manila
configuration file for kolla-ansible.

Change-Id: I050bb6e388c8b82de05e4deeaa357b98525c004e
Story: 2004414
Task: 28058
2018-11-27 07:52:33 +00:00
Zuul
587f13e3fc Merge "Enable manila extra config merge #28058" 2018-11-26 17:53:32 +00:00
Ross Martyn
46e40301f8 Enable manila extra config merge #28058
This commit enables the merge of additional manila.conf
as seen with the other projects.

Change-Id: Ia2209a9c82215e49f1ef5a79ecafbebf2b204627
Closes-Bug: 28058
2018-11-23 17:37:24 +00:00
Zuul
70dba6ca5d Merge "Move group_vars for switches group to all group" 2018-11-22 21:37:26 +00:00
Zuul
c19a58ac03 Merge "Seed hypervisor user bootstrapping skipped" 2018-11-22 21:36:45 +00:00
Zuul
97fad9ff60 Merge "Bump zuul job timeouts" 2018-11-22 21:36:44 +00:00
Zuul
408ec30f80 Merge "Save previous kayobe & kolla configuration" 2018-11-22 19:42:09 +00:00
Nick Jones
3d1018dea9
Add support for a custom octavia.conf file
Kayobe should be able to handle extra configuration options in Octavia's
main configuration file, in a similar fashion to other services.  This
commit adds support for just that.

TrivialFix

Change-Id: Ibd91a90a5278bcd8963fb06874a74f71b1882d89
2018-11-22 18:55:54 +00:00
Mark Goddard
0e329810a6 Bump zuul job timeouts
We are seeing a few overcloud deploy/upgrade jobs timing out. The jobs
appear to be progressing, so killing them isn't particularly helping.
Minimal random sampling suggests this affects the OVH cloud.

Change-Id: Ibce5457edf7a5f06e834aa587b5d4b5b6c69b8b6
2018-11-21 19:02:12 +00:00
Mark Goddard
5f791a4b46 Seed hypervisor user bootstrapping skipped
Although the 'kayobe seed hypervisor host configure' command executes
the kayobe-ansible-user.yml playbook correctly, the playbook does not
have the seed-hypervisor group in its host list, so it is a noop. This
change fixes that.

Change-Id: I30a83a9851345ece061413d3c1751112247425ae
Story: 2004401
Task: 28034
2018-11-21 16:05:17 +00:00
Mark Goddard
bbe3b45924 Add --quiet flag to CI diagnostics collection
This ensures that our CI logs are neat, and not full of file rsync
output.

Change-Id: Ic3bad1baa1b2f8639c8ce848a60c024d8c22e8d0
2018-11-21 15:36:28 +00:00
Mark Goddard
486cda26d8 Save previous kayobe & kolla configuration
In the upgrade CI job, the kayobe configuration is first generated for
the previous release. If the job fails while deploying the previous
release, we don't have access to the configuration that was used.

This change adds previous_kayobe_config and previous_kolla_config to the
saved logs.

Change-Id: I603fc856cf79bdc52f5bf158c6706c1c0ffe2d95
2018-11-21 14:03:58 +00:00
Mark Goddard
016d23aa83 Use infra Docker registry mirror during CI
The mirror caches images from Dockerhub, and should reduce load on the
cloud and improve download times.

Change-Id: I2b52fa6371118e28c1d601e8b90065897f24f41d
2018-11-21 14:02:30 +00:00
Will Miller
d0e9c50fd2 Add tenks-deploy.sh dev script
tenks-deploy.sh deploys a minimal virtualized baremetal test cluster
locally. It also adds it to the overcloud-base CI job. To make the new
CI job work, we need to configure the firewall on the test machine to
allow the baremetal machines to communicate with the openstack services.

Change-Id: I7487a2606cf0bac71c5c63db41b2b518a6f6398b
Depends-On: https://review.openstack.org/#/c/615939
Depends-On: https://review.openstack.org/#/c/618003
Story: 2004297
Task: 27850
2018-11-20 18:53:09 +00:00
Mark Goddard
03b496b93f Add documentation about physical network config
Change-Id: I267a65137910b71540aba6ea79f475607f5e2e98
Story: 2004337
Task: 27923
2018-11-19 16:43:21 +00:00
Mark Goddard
935d3cef6a Update dependencies to Rocky
Use stable/rocky branch of:

* Kolla
* Kolla ansible
* Bifrost
* IPA
* OpenStack services
* Requirements

Also updates Kolla Ansible inventory template.

The seed deploy job has been made non-voting and non-gating, because we
are waiting for bifrost change https://review.openstack.org/#/c/618740
to merge, be released, and for the kolla bifrost image to use the new
package.

Change-Id: Id5e7fdbd196f96e1e75ffc68bc93aab18fa38aa7
Story: 2001864
Task: 27798
Depends-On: I58e4f951d4a3dd89e0784fd82d8a62dbba374f79
2018-11-19 14:37:33 +00:00
Mark Goddard
b87135d3c3 Add release.sh, a script for creating releases
Also adds documentation on releasing to the developer guide.

Change-Id: Ic26daf362ce79fa1ea9ce217cf470d85c961affa
2018-11-18 17:41:43 +00:00
Zuul
928efdca40 Merge "Use zuul's install-docker role" 2018-11-16 18:40:53 +00:00
Zuul
5bd744c869 Merge "Add 'octavia' in to the list of paths to search for custom configs" 2018-11-16 18:37:50 +00:00
Mark Goddard
74cdf09d1a Use zuul's install-docker role
This allows us to remove the sudo from the tox molecule environment, since
the install-docker role correctly adds the zuul user to the docker group.

Change-Id: Ib7abd22c0caf793a8a59d38a4f63df7e60a7b69e
2018-11-12 10:58:59 +00:00
Zuul
adfebda493 Merge "Fix a small typo" 2018-11-09 20:08:52 +00:00
Zuul
0bcebebde6 Merge "Support configuration of custom fluentd inputs" 2018-11-09 17:25:27 +00:00
Pierre Riteau
b7c37f5feb Fix a small typo
Change-Id: Ifd736cd2bee5c94b3625a00ca4185e7f91418426
2018-11-09 17:13:38 +00:00
Pierre Riteau
ac79d0d09a Add note about LLDP workaround for switches on Dell OS 9.11
The Dell LLDP workaround is not necessary on switches running newer
versions of Dell Networking OS. Since version 9.11(2.0P1), the interface
description can be advertised by LLDP, at least for S6000 and S3048–ON
switches.

Change-Id: Iaccab56ba068d1ca9ab9c0351d5ffc32a2348787
2018-11-08 11:03:29 +00:00
Will Szumski
4867c91481 Add commands to enable and disable the serial console
This allows you to access the serial console from within
Horizon.

Change-Id: Id40e72047174fc0c0c565871f24b775b30e83825
Story: 2004192
Task: 27682
2018-11-07 15:35:47 +00:00
Mark Goddard
a0bd6320a4 Move group_vars for switches group to all group
There are various playbook group variables used to configure switches,
defined in files in ansible/group_vars/switches/. In Ansible 2.3
it was possible to override these via inventory group variables.
In Ansible 2.4+ this is no longer possible, and inventory group
variables have a lower precedence than playbook group variables.

To resolve this, this change moves the switch configuration defaults to
the all group, as is done for other global defaults. The slight downside
is that these variables enter the namespace of every host, but there
aren't too many of them so it shouldn't be a problem.

Change-Id: I1a580a7b88a3e088aa7d5129290427320401f46b
Story: 2004278
Task: 27827
2018-11-07 09:38:51 +00:00
Mark Goddard
a0b4ab57a4 Bump Ansible to 2.6.x
Bump the maximum supported version of Ansible to 2.6.x for both Kayobe
and Kolla Ansible.

Change-Id: Ia8691d127bb6ce57dcd6fdac25f0357844f5cbaa
Story: 2004287
Task: 27839
2018-11-07 09:18:33 +00:00
Will Miller
d253ca87f2 Remove legacy Ironic driver references
From Rocky, Ironic no longer supports drivers, in favour of hardware
types. Hardware types were already implemented for the overcloud Ironic,
this change ensures that Bifrost configuration is given hardware types
where necessary.

Change-Id: Iea91d2cd88b7566bb9cad20367ec64b9213d8845
2018-11-06 11:34:11 +00:00
Zuul
60ecee2b25 Merge "Test upgrades in CI" 2018-11-06 11:10:20 +00:00
Zuul
ca92fb4a91 Merge "Fix use of --ask-vault-pass argument" 2018-11-06 10:41:09 +00:00
Zuul
08937516d4 Merge "Use kolla variable to set inspector DHCP config" 2018-11-06 10:41:01 +00:00
Mark Goddard
5782bbc6ef Use kolla variable to set inspector DHCP config
Fixes an issue with ironic prechecks, which now require
ironic_dnsmasq_dhcp_range to be set when ironic is enabled.

Also uses the new kolla variable ironic_dnsmasq_default_gateway to
configure the gateway for the inspection network.

These changes mean that we can drop our custom override of
ironic-dnsmasq.conf, since it now matches the file in kolla ansible.

This change depends on the Rocky release of Kolla Ansible.

Change-Id: I0b2e094904772fc6e14f1916e20ef207161ec001
2018-11-06 08:05:53 +00:00
Mark Goddard
358b5c6882 Fix use of --ask-vault-pass argument
Currently, this argument does not work correctly, since the vault
password is not passed to kayobe via $KAYOBE_VAULT_PASSWORD, meaning
that it cannot update the kolla-ansible passwords.yml file.

It also works non-optimally, since every invocation of ansible-playbook
will prompt for a password.

This change fixes the issue by prompting for a password once in the
kayobe CLI, and storing the password in the $KAYOBE_VAULT_PASSWORD
environment variable. The kayobe-vault-password-helper command is then
used as the --vault-password-file to ansible-playbook, and the helper
pulls the password out of the environment.

Change-Id: I88b1b7b9e9be15b52e730d353ce1b1a6feacceb8
Story: 2001664
Task: 27009
2018-11-05 18:12:36 +00:00
Nick Jones
43b6276f36 Add 'octavia' in to the list of paths to search for custom configs
As it says on the tin. It's useful to add support for copying custom
configuration for Octavia into place via Kayobe, specifically for files
that need to be encrypted such as private certificates.

TrivialFix

Change-Id: I026513bf3d7e4f871c83efd0740f75191ffaa969
2018-11-05 14:21:55 +00:00
Mark Goddard
6266312fa1 Test upgrades in CI
There is currently no coverage of upgrades in CI, which leaves us open
to regression in this infrequently tested but crucial area. This change
adds the required scripts and Zuul configuration.

A control plane is first deployed using the Kayobe stable/pike branch
and associated default configuration. The control plane is tested by
deploying then deleting a server instance. An upgrade to Queens is
performed, using the Kayobe master branch, or code in review if
applicable. The upgraded control plane is tested by deploying then
deleting a second server instance.

A workaround was required to restart the nova_compute service after the
upgrade, since the SIGHUP sent to it by Kolla Ansible during upgrade
appeared to be putting it into a degraded state.

A future improvement to this test could be to leave a server instance
running during the upgrade.

Change-Id: I0e595524e39d1131fe3ec6aaf2aeec3ff3d6a536
Story: 2003472
Task: 24732
2018-11-05 12:02:31 +00:00
Zuul
17c1e316df Merge "Add missing space in argument description" 2018-11-02 20:14:41 +00:00
Zuul
330d4b2c81 Merge "Add --disable-discovery argument to physical network" 2018-11-02 17:44:42 +00:00
Zuul
35697d826f Merge "Save kolla-generated per-node configuration in CI logs" 2018-11-02 17:20:04 +00:00
Zuul
72cff1bef8 Merge "Add a zuul template to update readthedocs" 2018-11-02 17:20:03 +00:00
Zuul
29c0207dec Merge "Improve irrelevant-files for Zuul jobs" 2018-11-02 17:20:03 +00:00