218 Commits

Author SHA1 Message Date
Pierre Riteau
8e69fb0ae8 Add command to update packages on the seed hypervisor host
Change-Id: I6edda0527a892c55261cc6fc48a0feb899b348d6
2019-06-07 16:36:28 +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
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
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
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
Isaac Prior
4495910428 Add welcome page overview doc
Change-Id: I8005dd608bbaed3fcafcce56fc5dd9c307434a77
2019-05-22 09:30:55 +01:00
Isaac Prior
863fe9e261 Remove out of date statements
Change-Id: I4ddf077913ddc620c60c78ca491e70b2e8f59489
2019-05-21 16:55:47 +01:00
Zuul
bfc19d3ee6 Merge "Multiple updates for Kayobe" 2019-05-20 20:50:38 +00:00
Zuul
8052b5109b Merge "Remove release notes readthedocs webhook job" 2019-05-20 20:38:37 +00:00
Zuul
19b31b9705 Merge "Add external resources section" 2019-05-20 18:53:07 +00:00
Isaac Prior
d4c661231a Add external resources section
Change-Id: I1f76056254454abe2e4dbc49bdb694a67b464299
2019-05-20 18:30:09 +00:00
Mark Goddard
6c5fbcf942 Remove release notes readthedocs webhook job
This was found not to work, and prevents releases from being made.

The cause of the issue is that the trigger-readthedocs-webhook job (in
project-config) is marked as 'final', meaning that a non-trusted Zuul
config source can't override its variables. Instead, you're supposed to
use the trigger-readthedocs-webhook project template, but only one
instance of this can be instantiated by design.

Let's revert to manually updating the release notes for now.

Change-Id: I271c972c7fdde23085f3026137806bb1e3048e5e
2019-05-20 15:41:05 +01:00
Ross Martyn
d8ee0fa027 Multiple updates for Kayobe
---

1. Gather facts for localhost in kolla-ansible.yml
2. Don't include unconfigured networks in network_interfaces
3. Added Keystone configuration extra config merge

---

1. Facts are necessary for the kolla-ansible role,
which references the ansible_user_uid fact

2. It is possible to skip configuring a network,
by setting its name to None

This is done in networks.yml as follows:

admin_oc_net_name:

Currently, these networks may still be included in the 'network_interfaces'
list for each host, despite the fact that they are not in use.

A classic example is when ironic is not enabled, it is currently still
necessary to define provisioning and cleaning networks.

This change avoids including any networks that have their name set to None
in network_interfaces.

3. Added support for Keystone custom configuration

Added tests and documentation to add support for keystone extra configuration

Co-Authored-By: Mark Goddard <mark@stackhpc.com

Change-Id: Iaa304221b8093ac71f9cdbb23edc84d1517578da
2019-05-20 15:30:07 +01:00
Isaac Prior
ac85dc6064 Update supported CentOS version
Change-Id: I2495c97455e40cf1f0573cee6ae845da14d762b5
2019-05-20 12:12:39 +01:00
Pierre Riteau
9f92afc383 Fix table generation
Change-Id: Idf94a64b70d4684a75ec8e8ccc38d64fa6274431
2019-05-17 09:42:01 +01:00
Zuul
c020751a5d Merge "Support for Ceph and Swift storage networks, and improvements to Swift" 2019-05-15 13:48:05 +00:00
Mark Goddard
7bec3fe383 Small update to automated development docs
Include information on how to test bare metal instance creation.

Change-Id: Ie40f258a31d4b72cd9867d321a3ff712522daec5
2019-05-14 12:10:13 +01:00
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
Scott Solkhon
6496cfc0ba Support for Ceph and Swift storage networks, and improvements to Swift
In a deployment that has both Ceph or Swift deployed it can be useful to seperate the network traffic.
This change adds support for dedicated storage networks for both Ceph and Swift. By default, the storage hosts are
attached to the following networks:

* Overcloud admin network
* Internal network
* Storage network
* Storage management network

This adds four additional networks, which can be used to seperate the storage network traffic as follows:

* Ceph storage network (ceph_storage_net_name) is used to carry Ceph storage
  data traffic. Defaults to the storage network (storage_net_name).
* Ceph storage management network (ceph_storage_mgmt_net_name) is used to carry
  storage management traffic. Defaults to the storage management network
  (storage_mgmt_net_name).
* Swift storage network (swift_storage_net_name) is used to carry Swift storage data
  traffic. Defaults to the storage network (storage_net_name).
* Swift storage replication network (swift_storage_replication_net_name) is used to
  carry storage management traffic. Defaults to the storage management network
  (storage_mgmt_net_name).

This change also includes several improvements to Swift device management and ring generation.

The device management and ring generation are now separate, with device management occurring during
'kayobe overcloud host configure', and ring generation during a new command, 'kayobe overcloud swift rings generate'.

For the device management, we now use standard Ansible modules rather than commands for device preparation.
File system labels can be configured for each device individually.

For ring generation, all commands are run on a single host, by default a host in the Swift storage group.
A python script runs in one of the kolla Swift containers, which consumes an autogenerated YAML config file that defines
the layout of the rings.

Change-Id: Iedc7535532d706f02d710de69b422abf2f6fe54c
2019-04-24 12:40:20 +00: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