1256 Commits

Author SHA1 Message Date
Mark Goddard
f91cf43876 Set provisioning and cleaning networks as non-shared
Modifies provisioning and cleaning networks in multi-tenant ironic
environments to be non-shared. Flat networks remain shared.

To apply the change to an existing environment, run 'kayobe overcloud
post configure'.

Change-Id: Ie59f0c729381e5bea112ab7f5d0c738a9488b772
Story: 2006409
Task: 36295
2019-08-28 15:15:53 +00:00
Zuul
45b4961de1 Merge "Update release documentation" 2019-08-22 13:20:25 +00:00
Zuul
81912ab534 Merge "Fix inspector iPXE boot with UEFI compute nodes" 2019-08-21 22:00:56 +00:00
Zuul
51df5abb6e Merge "Update packages in virtualenvs" 2019-08-21 19:31:38 +00:00
Zuul
2638f83d08 Merge "Update release notes for stable/stein" 2019-08-21 14:14:04 +00:00
Mark Goddard
cd973178ea Update release notes for stable/stein
Change-Id: Ifc5a36743c98f32a9d841636119bc0d33621cef3
2019-08-16 13:32:19 +00:00
Mark Goddard
f2aae6349d Update release documentation
Add notes about switching dependencies.

Fix RC creation commands.

Change-Id: Ia171e43747aa2ea938120d8e7020ce0acb60f875
2019-08-16 14:29:05 +01:00
Pierre Riteau
2194bc2b5f Fix formatting of lists of commands in release notes
Without markup to generate a list, multiple commands are rendered on the
same line.

Change-Id: Ibc6d55c653a3d3f6523af42e7960cfc649989c9d
2019-08-16 15:17:14 +02:00
Zuul
9317024930 Merge "Generate openrc files during control host bootstrap" 2019-08-15 22:13:16 +00:00
Zuul
6b3462d384 Merge "Add alternative tenks deploy and teardown entrypoints." 2019-08-15 15:35:27 +00:00
Mark Goddard
ddfd6b6202 Update packages in virtualenvs
Kayobe uses a number of virtual environments on the remote hosts for
python dependencies such as shade, python-openstackclient, docker, etc.
By default these are stored in /opt/kayobe/venvs/. Typically we do not
provide version restrictions when installing these packages, so over the
course of time they may become stale and incompatible.

This change installs the latest version of packages allowed by OpenStack
upper constraints.

It also adds a new variable, 'pip_upper_constraints_file', to set the
upper constraints file. The existing variable
'kolla_upper_constraints_file' now defaults to the value of
'pip_upper_constraints_file'.

Change-Id: I8d2956f95bbc44b5a9e88e7569372048a62f12f5
Story: 2005923
Task: 34193
2019-08-15 11:01:49 +00:00
Zuul
1e8bdda350 Merge "Update links to docs and IRC for kolla governance" 2019-08-14 19:35:36 +00:00
Zuul
d094629926 Merge "Restrict ncclient to 0.6.2 to avoid unknown host key issue" 2019-08-14 19:35:33 +00:00
Zuul
fa4d345842 Merge "Remove storage management network from controllers" 2019-08-14 19:15:34 +00:00
Zuul
49b3dc66af Merge "Stop allocating network and broadcast addresses" 2019-08-14 19:12:46 +00:00
Zuul
90e713fd67 Merge "Add support for custom CloudKitty configuration" 2019-08-14 19:12:41 +00:00
Zuul
7ab223a30c Merge "Sort overcloud inventory hosts and groups" 2019-08-14 18:56:15 +00:00
Zuul
d3f72d6d17 Merge "Only run ncclient installation task once" 2019-08-14 18:56:14 +00:00
Mark Goddard
9d01cf39b7 Generate openrc files during control host bootstrap
Fixes an issue where the admin-openrc.sh and public-openrc.sh files
would not be generated when preparing a new control host environment for
an existing cloud. These files are now generated during 'kayobe control
host bootstrap' if the Kolla Ansible 'passwords.yml' file exists in the
Kayobe configuration.

Change-Id: I47cc95bc4c4198532c8cfd2c105f1c7033e7b932
Story: 2001667
Task: 6713
2019-08-14 16:52:48 +00:00
Mark Goddard
9c9eaf079d Only run ncclient installation task once
It runs on localhost, no need to run for every switch host.

TrivialFix

Change-Id: Ia1576850af29a6f859ce88caee7b71157cbd4474
2019-08-13 16:32:17 +01:00
Mark Goddard
a1addc3565 Sort overcloud inventory hosts and groups
This provides a more predictable and stable ordering for the inventory
generated via 'kayobe overcloud inventory discover'.

TrivialFix

Change-Id: Ie784b7e91cd70ed5c552723789958e32724b17a8
2019-08-12 18:14:49 +01:00
Zuul
9d2430c13d Merge "Publish docs and release notes on openstack.o.o" 2019-08-12 15:52:25 +00:00
Zuul
75e7ce98a7 Merge "Move to openstackdocstheme for docs & release notes" 2019-08-12 14:11:19 +00:00
Mark Goddard
2a17775514 Restrict ncclient to 0.6.2 to avoid unknown host key issue
Juniper physical network device configuration fails when running the
following command:

kayobe physical network configure --group switches

The error is as follows:

fatal: [switch]: FAILED! => {
        "msg": "Unknown host key [<key>] for [[<IP>]:830]"
}

This is due to a bug [1] in ncclient.

This patch avoids the issue by pinning ncclient to version 0.6.2 or
lower.

[1] https://github.com/ncclient/ncclient/issues/302

Change-Id: I7ecd6cd3460bea56d0ab9cb221d0ef5b5ec2d0bb
Story: 2006378
Task: 36174
2019-08-08 14:20:57 +01:00
Zuul
5a473202b7 Merge "Revert "Workaround: stop bifrost services before seed upgrade"" 2019-08-07 17:52:50 +00:00
Zuul
f3be413b46 Merge "Use new kolla-ansible upgrade-bifrost command" 2019-08-07 17:48:19 +00:00
Pierre Riteau
f5490793fb Remove storage management network from controllers
There is no need to connect controllers nodes to the storage management
network by default. It should only be used by storage nodes.

Change-Id: I6fa7640658fd112aaddbe08c4af01711fb1f7916
Story: 2006273
Task: 35973
2019-08-06 14:13:41 +01:00
Mark Goddard
913c8b7530 Update links to docs and IRC for kolla governance
Change-Id: I92f1e5b2482da8aa16133844e3a78f6bbc225291
2019-08-04 19:26:20 +01:00
Mark Goddard
4286c32299 Publish docs and release notes on openstack.o.o
Kayobe is now a kolla deliverable [1], so should use the official
site for publishing release notes and docs.

Links will be updated once these have been published.

[1] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/007250.html

Change-Id: I9cc0bf08aa69386a18278f240c751a4d9956f926
2019-08-03 19:02:20 +01:00
Mark Goddard
c44f27b4ae Move to openstackdocstheme for docs & release notes
Sphinx configuration adapted from kolla ansible.

Change-Id: Ibcfbd9114a099d8b487f543d526b0cde0744d84a
2019-08-03 19:02:20 +01:00
Zuul
d65e1f122a Merge "Fix typo in upgrade documentation" 2019-08-03 16:30:45 +00:00
Zuul
0270fd72be Merge "Build placement images by default" 2019-08-02 14:59:10 +00:00
Pierre Riteau
4b42743604 Fix typo in upgrade documentation
Change-Id: I6164d9f1d89a3d8124922f3bac9c4bea1b505e45
2019-08-02 14:43:06 +02:00
Zuul
9dcc4bd54b Merge "Fix parsing of etc/kayobe/ceph.yml with no variables defined" 2019-08-02 12:19:17 +00:00
Pierre Riteau
697e74e41a Stop allocating network and broadcast addresses
When an allocation pool range is not defined by the operator, we should
not include network and broadcast addresses in the list of IP addresses
to give to hosts.

Change-Id: Id6e14286b5eb2b767a515e7edfc56741fb8d2c78
Story: 2006267
Task: 35958
2019-08-02 14:08:34 +02:00
Zuul
2bce627040 Merge "Bump version of stackhpc.dell-powerconnect-switch" 2019-08-02 11:51:40 +00:00
Will Szumski
9bae1c5d1c Build placement images by default
placement has been split from nova, see:

2f657085c6 (diff-c5172145fe90316d5c16e60e61a592a2)

Change-Id: Icf54da6a0d1439fc416b556707a62df300daa9bf
Story: 2006248
Task: 35857
2019-08-02 11:26:12 +00:00
Mark Goddard
0fe787ee08 Revert "Workaround: stop bifrost services before seed upgrade"
This reverts commit 77e8044a406b0cfeef377e0155b2fbcb5f05a67e.

Change-Id: I97827a9cf0056b5341811c37dc996fd6b69f2f1f
Depends-On: https://review.opendev.org/667630
2019-08-02 12:10:16 +01:00
Mark Goddard
cd97a9d721 Use new kolla-ansible upgrade-bifrost command
This command slightly modifies the deploy operation to first stop the
bifrost services and container if they are running.

Change-Id: If0fe1115f01738254a61c0f5460548b0d6ae6b9a
Depends-On: https://review.opendev.org/667630
Story: 2006050
Task: 34743
2019-08-02 12:10:16 +01:00
Pierre Riteau
ffb7f96e16 Add support for custom CloudKitty configuration
Change-Id: I0c0589387da53458f41df280dff0179715448aaa
Story: 2006292
Task: 36003
2019-07-27 15:58:43 +02:00
Zuul
d1b51adb3d Merge "Ignore --limit for localhost plays" 2019-07-26 09:55:23 +00:00
Stig Telfer
a3f105c215 Bump version of stackhpc.dell-powerconnect-switch
Version v1.1.0 includes useful updates needed for supporting the
PowerConnect 6248, such as support for 'enable' and quirky differences
in the CLI.

Change-Id: I1a9e0471f34183c85002de30c395b82baa5f3ef4
2019-07-26 09:57:08 +01:00
Pierre Riteau
57d7d276a3 Fix typo
Change-Id: I058d75af0236b8589667229a78b46b42aa3579b5
2019-07-23 16:20:18 +02:00
Zuul
473df9b811 Merge "Updating Jinja filters to conform to Ansible 2.5+" 2019-07-17 18:47:19 +00:00
Will Szumski
4fa517b461 Fix parsing of etc/kayobe/ceph.yml with no variables defined
TrivialFix

Change-Id: Ia0ed200d73811c1787ec4f08dc72079cadc40675
2019-07-17 16:19:07 +01:00
Mark Goddard
0b4b6cb79d Ignore --limit for localhost plays
If using the kayobe --limit <hosts> argument, only those hosts matching
the limit will have an inventory generated for Kolla Ansible. This can
cause problems for Kolla Ansible, even when using a similar limit via
--kolla-limit <hosts>, since it gathers facts for all hosts, and expects
all host variables to be defined.

This change adds a new 'ignore_limit' argument to the playbook running
methods, which allows us to override and ignore the --limit argument
provided by the user, ensuring that we always run these plays.

Change-Id: I104d6af48ddd916460ee454e17a50a2475de6bff
Story: 2004805
Task: 28960
2019-07-16 10:34:53 +01:00
Mark Goddard
0ee55e19fa Fix inspector iPXE boot with UEFI compute nodes
The IPA ramdisk fails to boot on UEFI compute nodes with iPXE. We see
the following error on the console, followed by a kernel panic:

Fix kernel panic-not syncing: VFS: unable to mount root fs on unknown
block(0,0)

The cause is the lack of an initrd=ironic-agent.initramfs kernel
argument in inspector.ipxe.

The initrd argument is present in the kolla-ansible version of
inspector.ipxe, and now contains all parameters that we need (since
Rocky), so this change simply removes our custom template, and passes
through the extra kernel argument option configuration value.

Story: 2006214
Task: 35804

Story: 2006213
Task: 35803

Depends-On: https://review.opendev.org/670566
Change-Id: I8a103b7c6d3dd1f0433f922ae90deae9b92c0c78
2019-07-15 09:31:03 +01:00
Mark Goddard
650919f527 Disable chrony container by default
Fixes an issue where multiple NTP daemons could be running on the
overcloud hosts, due to Kolla Ansible deploying a chrony container by
default starting with the Rocky release.

Kayobe now overrides this default, to ensure that chrony does not conflict
with the NTP daemon deployed on the host. To use the containerised chrony
daemon instead, set ``kolla_enable_chrony`` to ``true`` in
``${KAYOBE_CONFIG_PATH}/kolla.yml``. This will also disable the host NTP
daemon.

To ensure that chrony is not running, Kayobe removes the chrony container
if ``kolla_enable_chrony`` is ``false`` in the following commands:

* ``kayobe overcloud service deploy``
* ``kayobe overcloud service reconfigure``
* ``kayobe overcloud service upgrade``

The play in Kayobe is tagged with ``stop-chrony``.

Change-Id: I89a973c0b600abece79bddcba5a46cc28a4f1df9
Story: 2005272
Task: 30122
2019-07-15 09:29:25 +01:00
Zuul
abc1791623 Merge "Change examples to apply all security-related package updates" 2019-07-15 08:10:20 +00:00
Zuul
590f5ca885 Merge "Add command to update packages on the seed hypervisor host" 2019-07-12 21:28:44 +00:00