199 Commits

Author SHA1 Message Date
Mark Goddard
5b9f85d715 Update git.openstack.org to opendev.org
The project infrastructure is now hosted at opendev.org.

Kayobe projects have been moved from the openstack/ namespace to x/.

Change-Id: I16b523285eb34c1cd0eaf920aa4512d0ae1b4f05
2019-04-24 14:00:18 +01:00
Zuul
68277e2670 Merge "Update service configuration documentation" 2019-04-08 20:07:05 +00:00
Zuul
0a73482576 Merge "Add support for configuring software RAID arrays using mdadm" 2019-04-08 14:22:08 +00:00
Doug Szumski
cf1d6f7cb1 Update service configuration documentation
Change-Id: I0a92c60000dbfaa1a6a841dcad66f118226d9ace
2019-04-01 13:42:45 +00:00
Doug Szumski
44430a4242 Support custom keepalived config
Allow users to use the custom config mechanism for Keepalived
provided by Kolla Ansible.

Change-Id: I052bd8283944197cd2b13747e7a7c32fbe06c045
Story: 2005211
Task: 29989
2019-04-01 13:42:32 +00:00
Pierre Riteau
7f43edf68d Add support for configuring software RAID arrays using mdadm
Change-Id: I647d93bf40d42a1b86b06170c8b4cc96972051c4
Story: 2005017
Task: 29495
2019-03-26 15:16:20 +00:00
Mark Goddard
4f5e87dbf2 Update release notes for stable/rocky
Also updates the release.sh script to support tagging release candidates
and development milestones. Adds zuul configuration to trigger a
Readthedocs webhook for the release notes.

Change-Id: Ia784b34fb0b740998de72599d4921f9303e41cac
2019-02-15 11:23:43 +00:00
Zuul
6452f7036c Merge "Automatically enable serial consoles on post configure" 2019-02-14 13:18:52 +00:00
Zuul
d6727debcd Merge "Don't pull registry image from private registry" 2019-02-08 17:31:06 +00:00
Pierre Riteau
971ad0b9cc Document support for configuring LVM on seed hypervisor
Change-Id: Ib721f8658284ba1419a4f8f81548d1cd88b0a89c
2019-02-06 17:00:22 +00:00
Mark Goddard
a92684fb14 Support configuration of yum.conf
Options are configured via the 'yum_config' variable.

Change-Id: Iaf46dbf22e0ad2b9e43926e899ce454d19662cc3
Story: 2004935
Task: 29327
2019-02-05 14:14:26 +00:00
Zuul
29c0ad98c0 Merge "Update development scripts for control plane deployment" 2019-02-05 12:59:15 +00:00
Mark Goddard
3b1a8a6a00 Don't pull registry image from private registry
This avoids a potential circular dependency where the registry is the
source of its own image.

Also fixes up the image building documentation about the default value
of kolla_docker_registry.

Change-Id: Ia30173abf185329098ace621baf0ad1be75c0b74
Story: 2004820
Task: 29345
2019-02-05 12:05:33 +00:00
Mark Goddard
ab205197b5 Update development scripts for control plane deployment
This adds support for deploying a virtualised control plane via Tenks, using
the Kayobe development scripts tenks-deploy.sh and tenks-teardown.sh.

Change-Id: I752455af9eb44cdb0f9921fd0c876fc2dfb50a5c
2019-02-05 09:36:35 +00:00
Will Szumski
5fa6bc4d36 Automatically enable serial consoles on post configure
This functionality is controlled by the flag ironic_serial_console_autoenable,
which, when enabled, will configure serial consoles for each of the ironic
nodes during the `overcloud post configure` step. This was added to reduce the
number of kayobe commands that are needed to be run for a given deployment.

Change-Id: I7072e518c29387b964e4e25b08b4559f152d5ecf
Story: 2004192
Task: 29325
2019-02-04 18:09:51 +00:00
Kevin Tibi
b8305b1799 Add commands to run command on hosts
Change-Id: I019fc3f5c59c383215febb958f9c4cf8c8b8e4a6
Story: 2003312
Task: 24270
2019-02-04 16:17:37 +00:00
Zuul
3766b33557 Merge "Document a backup procedure for the seed" 2019-02-01 19:14:03 +00:00
Will Szumski
84172bfbe0 Support complete installation of Kayobe as a python package
This adds the ansible playbooks required by kayobe to the manifest by
using the data_files option in setuptools. When using pip to install
kayobe into a virtualenv, these files will be placed in
<venv>/kayobe/share/.

In an editable install, e.g using `pip install -e .`, data_files are not
installed into the virtualenv. Instead, we must follow the egg-link file
to find out the actual location.

Story: 2004252
Task: 27787
Change-Id: Ibef040eceb547476007f83c0d5dcdb2bc6986d1e
2019-02-01 12:55:27 +00:00
Zuul
0341bb3692 Merge "Add docs on building images" 2019-01-30 18:33:43 +00:00
Zuul
0d948bd7fe Merge "Add docs on host configuration" 2019-01-30 18:17:31 +00:00
Pierre Riteau
55f73c52ca Add support for setting defroute
Change-Id: I483d8f4189a569d58bc95591c7c86a88c9c5b5f3
Story: 2004884
Task: 29165
2019-01-29 14:58:21 +00:00
Mark Goddard
31da0cdc29 Add docs on building images
Change-Id: I0074b8ef2153813b3ffdd5e8254d76df25e49302
Story: 2004337
Task: 28486
2019-01-11 17:10:05 +00:00
Mark Goddard
b9ae3e2290 Add docs on host configuration
Change-Id: I2962d148afb77834f78deedf206060b86445055a
Story: 2004337
Task: 27924
2019-01-11 17:10:03 +00:00
Mark Goddard
e12bcd9a4d Document a backup procedure for the seed
Adds instructions for a database backup.

Change-Id: I97c4bdb4e5d7d28c06a03ceb1cc290db9b1dccb5
Story: 2004359
Task: 27959
2019-01-11 16:32:39 +00:00
Mark Goddard
7593a8b925 Test upgrading seed services in CI
Adds the kayobe-seed-upgrade-centos job, which performs an upgrade of
the seed services from the previous release to the current release.

Change-Id: Ia3eb39cf81cb3618fd94c4456bd576b52098c946
Story: 2004308
Task: 27873
2018-12-21 15:21:47 +00:00
Mark Goddard
6496af1f67 Add kayobe seed service upgrade command
Adds a new command to upgrade containerised services on the seed:

kayobe seed service upgrade

This is largely the same as the deploy command, since there is no
kolla-ansible bifrost-upgrade command yet.

A limitation in Bifrost requires us to remove IPA images before
upgrading the bifrost container.

Change-Id: Ibbe01e972487e69dbb753a67efcf13e3ae0800de
Story: 2004308
Task: 27872
2018-12-21 15:21:30 +00:00
Pierre Riteau
058a1351e3 Fix reference to Kolla-Ansible inventory
Change-Id: Iae19672b2ec7e2a9fe39d412f16d0c1a41c0bc99
2018-12-05 16:25:00 +00:00
Zuul
4244a8d7a6 Merge "Reorganise administration guide into sections" 2018-12-04 17:01:26 +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
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
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
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
0bcebebde6 Merge "Support configuration of custom fluentd inputs" 2018-11-09 17:25:27 +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
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
Pierre Riteau
496ff70119 Fix description of --display argument
Change-Id: Ia9589ba33ce4ae83c1fece6fa100c5740432c4e5
2018-11-01 17:38:41 +00:00
Mark Goddard
9dce0488ea Merge pre-reno release notes with reno notes
Prior to the Queens release, release notes were added to the kayobe
sphinx documentation. During the Queens release cycle they were changed
to be generated via the reno tool.

This change moves the pre-Queens release notes to the reno source,
ensuring that all release notes are available in one place.

Change-Id: I9606cbe50aacc498a645bff163e3d2dafac198e3
2018-10-10 19:13:21 +01:00
Zuul
175eb3c891 Merge "Use a virtualenv for remote operations by default" 2018-10-09 16:54:27 +00:00
Zuul
ffb7e06bb8 Merge "Use readthedocs for release notes" 2018-10-09 16:34:55 +00:00
Mark Goddard
a276d1686c Support configuration of custom fluentd inputs
It is now possible to configure custom inputs for fluentd by placing files in
etc/kayobe/kolla/config/fluentd/input/ in the kayobe configuration.

Change-Id: I284e6cff0aa7ddd779530a6de2ea9f8dcdce6450
Story: 2003968
Task: 26898
2018-10-09 13:37:28 +00:00
Zuul
4f829bf6ae Merge "Add host package update to upgrade procedures" 2018-10-08 15:37:31 +00:00
Mark Goddard
ef84890798 Fix IPA image download
The IPA ramdisk and kernel images may be built or downloaded via a URL.
If the latter option is used, any images previously downloaded to
$KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be
updated if the image contents change.

This change introduces variables for setting a URL to a file containing
checksums for the images. The algorithm used to compute the checksum is
also configurable (default sha256). This allows us to ensure we are
using the correct version of the image, while avoiding an expensive few
hundred megabyte image download just to check.

If a checksum is not specified, the image will be downloaded every time
to ensure that it is up to date.

Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1
Story: 2001660
Task: 6693
2018-10-02 13:30:11 +01:00
Zuul
4b33044eb9 Merge "Update ironic IPA deployment images" 2018-10-02 11:00:51 +00:00
Mark Goddard
392f04fa63 Use readthedocs for release notes
OpenStack policy prevents non-official projects from hosting their
release notes on docs.o.o.

Change-Id: I5be1fbf6e0b9f32dff88edc3990a3da4009d1658
2018-10-02 11:07:00 +01:00
Zuul
74c9d431c9 Merge "Allow installing extra packages inside the kolla-ansible virtualenv" 2018-09-28 13:38:46 +00:00