305 Commits

Author SHA1 Message Date
Zuul
bac385ad9e Merge "Docs: Configure firewall to allow testing of baremetal" 2020-04-15 16:23:36 +00:00
Zuul
c069d95099 Merge "Update documentation for release tasks" 2020-04-15 16:23:32 +00:00
Mark Goddard
6e1def534c Update documentation for release tasks
Since Kayobe is now an official OpenStack deliverable, our releases
documentation page is now outdated. It needs to be updated to document
the process using official release tools.

This change makes the releases page more similar to the Kolla release
management page:
https://docs.openstack.org/kolla/latest/contributor/release-management.html.

Change-Id: Ic49a63d66dfdb8e4235a60c1f01ad70bef6bea43
Story: 2007079
Task: 37990
2020-04-02 16:23:43 +00:00
Will Szumski
31ad22abc4 Switch to stackhpc fork of resmo.ntp
There is no activity on the resmo fork of the role and it seems
impossible to get any patches merged.

Change-Id: I1f09f7c11767226e89b34687dab1553e87be76ba
Story: 2005272
Task: 39197
2020-04-02 14:44:27 +02:00
Zuul
1617ce680a Merge "Add support for configuring Cumulus switches with NCLU" 2020-03-28 00:28:35 +00:00
Mark Goddard
dc32b52f08 CentOS 8: Support DNF
Adds support for configuration of DNF repo mirrors for CentOS and EPEL
repositories, as well as custom repositories.

Adds support for DNF automatic, which is a replacement for yum-cron.

Configuration is backwards compatible, falling back to the equivalent
yum variables when DNF variables have not been overridden.

Change-Id: I8bef5e9c8e1c77c25d6077ff690da8f2cde6a643
Story: 2006574
Task: 38922
2020-03-19 11:23:39 +00:00
Zuul
03cff293f1 Merge "Docs: fix libvirt connection URI for tenks" 2020-03-19 09:58:43 +00:00
Radosław Piliszek
e7d7daa531 Remove ceph block device support
It leaves certain ceph mentions in globals.yml.j2 as it needs
syncing with kolla-ansible contents anyways
(these are all comments).

Change-Id: I05e9c6223583e9bb5dc0020edc0b56990275093c
Story: 2007295
Task: 38766
2020-03-18 10:28:33 +00:00
Zuul
be1e3d8853 Merge "CentOS 8: Disable ntpd, enable chrony container" 2020-03-06 19:39:30 +00:00
Mark Goddard
71d36cbe5e CentOS 8: Disable ntpd, enable chrony container
CentOS 8 does not provide an ntp package. Instead fall back to using the
chrony container provided by Kolla Ansible by default.

Depends-On: https://review.opendev.org/711511

Change-Id: If5230854d7565c8b3c91a46da4795c63edf095e4
Story: 2006574
Task: 38866
2020-03-05 16:56:58 +00:00
Pierre Riteau
1ee19568b0 Add support for configuring Cumulus switches with NCLU
This extends the physical network configuration in Kayobe to configure
Cumulus physical switches using the nclu Ansible module.

Change-Id: I960027ead301c5793a0ada1959a23549a71bdbfb
2020-03-03 20:46:32 +00:00
Michal Nasiadka
a0ab81d752 Allow setting pip_proxy
Change-Id: I2547ef2556ca96b614854515069aaca3349cd692
2020-02-26 11:10:01 +01:00
Mark Goddard
b02cdf59fb Docs: Configure firewall to allow testing of baremetal
Due to Docker's iptables configuration, it is now necessary to modify
iptables in order to test bare metal provisioning using Tenks. Update
the development instructions accordingly.

Change-Id: I598066ff2574ff572a88d351e3b4d734a824ae93
2020-02-13 16:00:19 +00:00
Mark Goddard
48463a54c5 Docs: fix libvirt connection URI for tenks
Change-Id: Idd5b2385b70e62c450d6cd5b6537c1976c1e62a9
2020-02-13 15:21:16 +00:00
Julia Kreger
baadf62635 [docs] Change CoreOS URLs to Centos URLs fir IPA
The ironic-python-agent coreos images are unsupported and are
anticipated to be removed from the tarballs.openstack.org site.

In advance of this, we need to remove references to these images.

Change-Id: Ifb402418d7962cf507b190e028a59b94ad5d46ac
2020-02-11 16:05:57 +00:00
chenxing
b41311f128 Docs: show other versions
Change-Id: I9bc19aa9dcea6dad242d93cecfb4f201ae855463
2020-02-11 19:23:39 +08:00
Andreas Jaeger
d5a3c74b16 Update docs building
* Use storyboard instead of launchpad since this project uses
  storyboard. This fixes the "Report a bug" link.
* Remove unneeded configuration bits for doc building, the
  defaults of openstackdocstheme are fine.

Change-Id: Id7513b245d1b4eac09f717a7f47469fd7bb4d3b5
2020-01-30 09:40:39 +01:00
Zuul
47aeacbacb Merge "Add Nova Cells documentation" 2019-12-20 13:43:14 +00:00
Zuul
e65ac9ac08 Merge "Support custom Kolla group_vars" 2019-12-20 11:37:29 +00:00
Doug Szumski
aee2af7a75 Add Nova Cells documentation
Clearly not very user friendly at the moment. We probably want to
include these files as part of test.

Change-Id: Ib6ed0e68b55a98920cbaf3e8ec828901b4b9ed9f
Story: 2004291
Task: 37810
2019-12-18 18:34:34 +01:00
Doug Szumski
72d4d64609 Support custom Kolla group_vars
In Kayobe hosts which are part of a Nova cell can be managed via the
existing controller and compute groups. However, since Nova Cells are
configured via group vars in Kolla Ansible we need some way of setting
these. We could pass vars through to Kolla Ansible host vars using
`kolla_overcloud_inventory_pass_through_host_vars` but the list of
variables which may be set on a per cell basis is large and undefined.

This change allows the user to directly specify Kolla Ansible group vars
as part of Kayobe config, allowing the deployment of Nova Cells by
Kayobe to be largely unchanged from the procedure documented in Kolla
Ansible.

Change-Id: I2695034d36936fcc77a4828c67f9552155781dd6
Story: 2004291
Task: 37804
2019-12-18 16:45:36 +01:00
Zuul
01f04e500d Merge "Improve detection of base path" 2019-12-13 15:01:35 +00:00
Zuul
30e9c3af8a Merge "Use mariabackup for database backups" 2019-12-12 13:07:45 +00:00
Mark Goddard
e93bbd9ed5 Use mariabackup for database backups
Kolla ansible switched its database backup support to mariabackup from
xtrabackup due to incompatibilities. See
https://bugs.launchpad.net/kolla/+bug/1843043 for details.

Change-Id: Ib95771f09fd6d5e71a2af471de47f811e1cab88b
Related-Bug: #1843043
Story: 2006952
Task: 37634
2019-12-11 17:16:59 +00:00
Mark Goddard
c8f105a907 Support internal API TLS encryption
Kolla Ansible Train introduces support for TLS encryption of the
internal API. This change introduces support for internal API encryption
in Kayobe.

The following new variables are introduced:

* kolla_enable_tls_internal
* kolla_internal_tls_cert
* kolla_internal_fqdn_cacert

Also only set kolla_*_fqdn_cacert in globals.yml if set.

Change-Id: If432afde374fe247d09c952e110c9567e17daea1
Story: 2006959
Task: 37649
2019-12-11 17:13:38 +00:00
Pierre Riteau
5d6de8fc8b Add example to Bridges and VLANs section
Change-Id: I45c64dfe6a28f73b3c4f7ac4444e49b8488e55f7
2019-12-10 15:44:09 +00:00
Mark Goddard
8b80e8f2c5 Improve docs on kolla-ansible
Change-Id: Iff5788914c111944f1b4d74362c0f86428ebebe8
Story: 2004337
Task: 28504
2019-12-09 16:14:19 +00:00
Zuul
78de8c1dd8 Merge "Add command to deploy only containers" 2019-12-09 11:21:38 +00:00
Zuul
3bd981508a Merge "Use versioned links to OpenStack documentation" 2019-12-09 11:14:02 +00:00
Zuul
27138f3a2f Merge "Support installing packages in IPA images" 2019-12-06 18:04:36 +00:00
Zuul
7575bcf501 Merge "Add cross references from deployment to config docs" 2019-12-06 18:04:31 +00:00
Zuul
70f1a95363 Merge "Add documentation for Bifrost and IPA configuration" 2019-12-06 18:04:23 +00:00
Will Szumski
bf760189f2 Improve detection of base path
On Ubuntu sys.prefix is set to '/usr' even though pip will install
packages to '/usr/local' when not using a virtualenv. This change fixes
the detection in this instance. Non standard install locations are not
currently supported.

Change-Id: I214e11e7d099d1b39041fdc6b91002e1929d9c00
Story: 2005510
Task: 30620
2019-12-06 13:47:01 +00:00
Mark Goddard
ca19d786c6 Add cross references from deployment to config docs
Hopefully this provides access to relevant information without breaking
the flow.

Change-Id: I40b71cdf782dda6971dafb5894670c30e446ccb0
Story: 2004337
Task: 37387
2019-11-28 16:46:55 +00:00
Mark Goddard
6b4f180a1e Support installing packages in IPA images
Diskimage builder supports specifying a list of packages to install via
-p. We currently support this for the root image, but not IPA images.

This change adds a new configuration option, 'ipa_build_dib_packages',
that should be a list of additional packages to install in locally built
IPA images. This affects the following commands:

kayobe seed deployment image build
kayobe overcloud deployment image build

This depends on
https://github.com/stackhpc/ansible-role-os-images/pull/25.

Also adds an example to the documentation for the equivalent option for
root image.

Change-Id: I04191d9541894b6a264e966c9ecb1056e0edade4
Story: 2006855
Task: 37446
2019-11-28 16:32:30 +00:00
Mark Goddard
66cb51a8bf Add command to deploy only containers
Kolla ansible train adds a new command, kolla-ansible deploy-containers,
that will only deploy containers, and skips registration, bootstrapping
and configuration.

This change adds a new 'kayobe overcloud service deploy containers'
command to make use of the new kolla-ansible command.

Change-Id: I999dfe4b1d082bc88148f54b236644abcbd96a5a
Story: 2006951
Task: 37633
2019-11-28 13:31:21 +00:00
Zuul
a30cf063d1 Merge "Document requirements for BIOS and RAID configuration" 2019-11-25 14:17:05 +00:00
Zuul
e1d4774fdc Merge "Improve docs on updating the Ansible control host" 2019-11-25 14:17:01 +00:00
Mark Goddard
3c7a6ef6a3 Document requirements for BIOS and RAID configuration
Ideally we will fix these issues, but documenting them is a good first
step.

Change-Id: I9a840005d62b974f0681ac39e1ff02ae3ff0120e
Story: 2004967
Task: 29410
2019-11-25 13:57:43 +00:00
Mark Goddard
410466bb5c Improve docs on updating the Ansible control host
Also reorder upgrade documentation to make it clear that configuration
migration is something that should be done as a preparatory task.

Change-Id: I97ada3c6fd94a9ab7b5add97e90717f2a56bc8f3
Story: 2006677
Task: 36953
2019-11-25 13:57:23 +00:00
Mark Goddard
8c01771e29 Add documentation for Bifrost and IPA configuration
Depends-On: https://review.opendev.org/690559/

Change-Id: I4e766424607317e5817d26461f7a1e180e9b2146
Story: 2004337
Task: 37378
Task: 37381
2019-11-25 13:42:21 +00:00
Zuul
b6caf483e8 Merge "Add note to docs about overcloud node names being required" 2019-11-19 13:08:20 +00:00
Mark Goddard
25ea46debc Add note to docs about overcloud node names being required
If the kayobe overcloud provision command is executed with overcloud
ironic nodes without names, cloud-init will fail with the following
Traceback when the deployed image boots:

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 447, in find_source
    if s.get_data():
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 132, in get_data
    self._get_standardized_metadata())
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 110, in _get_standardized_metadata
    'local-hostname': self.get_hostname(),
  File "/usr/lib/python2.7/site-packages/cloudinit/sources/__init__.py", line 317, in get_hostname
    if util.is_ipv4(lhost):
  File "/usr/lib/python2.7/site-packages/cloudinit/util.py", line 544, in is_ipv4
    toks = instr.split('.')

This is a bug [1] in cloud-init. The symptom is that hosts provision
successfully, but are not accessible via SSH. A solution is to ensure
that all nodes are named.

Until we have a release of CentOS with the cloud-init fix included, we
should at least mention this limitation in our documentation.

[1] https://bugs.launchpad.net/cloud-init/+bug/1852100

Change-Id: If54f56fb9f0b626d9fae80db622b0feeae5464b9
Story: 2006832
Task: 37405
2019-11-19 13:51:38 +01:00
Zuul
27fa6b10af Merge "Add reference to zero touch provisioning blog in docs" 2019-11-14 15:31:59 +00:00
Zuul
483ad8f1c5 Merge "Fix customised inventory section" 2019-11-14 11:49:42 +00:00
Michal Nasiadka
ed8e1a63da Fix customised inventory section
Add a note to base customised inventory on a kayobe kolla-ansible
inventory template.

Change-Id: I75ace6878d36cb523c38a33daa9eecd62826fe43
2019-11-14 10:15:57 +00:00
Zuul
5820064ee6 Merge "Remove some references to Github" 2019-11-14 10:12:09 +00:00
Mark Goddard
8c1f3af579 Use versioned links to OpenStack documentation
The :project-doc: format is part of the openstackdocstheme, and allows
us to link to the same release of the documentation for other projects,
without having to keep our links in sync.

Change-Id: Ifff2fd2d4e3680a9a757d77928acf84b7e5a3dd7
2019-11-11 14:26:58 +00:00
Mark Goddard
5408bb5453 Add reference to zero touch provisioning blog in docs
While not proper documentation, this should help people follow the ZTP
model.

Change-Id: If84a472826110bce151109ce80e70e1cef2a8177
Story: 2006640
Task: 37389
2019-11-11 10:16:31 +00:00
Mark Goddard
ee98efa8f0 Remove some references to Github
Change-Id: I358585260cc85fb1d364d2e246656557a2398ef9
2019-10-31 17:17:35 +00:00