1246 Commits

Author SHA1 Message Date
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
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
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
Zuul
85330b9166 Merge "Add support for custom Ceilometer configuration" 2019-07-12 21:28:40 +00:00
Zuul
8076acdb74 Merge "Adds support for Ansible 2.7, bump mimimum to 2.5" 2019-07-12 21:28:37 +00:00
Zuul
02efc0b4ce Merge "Move paramiko cap to test-requirements.txt" 2019-07-12 21:28:36 +00:00
Zuul
c31f5b152e Merge "Add support for overriding OpenStack configuration globally" 2019-07-12 21:15:32 +00:00
Pierre Riteau
460c6751f4 Change examples to apply all security-related package updates
This is more representative of the typical use case of applying all
security-related package updates rather than just specific ones.

Also escape `*`, since most people will need to do so in their shell.

Change-Id: Ibd602b7fe30d7c6eb7c81b5f028ab6b5852da988
2019-07-12 19:05:47 +02:00
Zuul
31cb4ff37e Merge "Improve diagnostics for seed jobs" 2019-07-11 20:46:40 +00:00
Pierre Riteau
4667fd4e54 Add support for overriding OpenStack configuration globally
This commit allows Kayobe to generate a global.conf file for use by
Kolla Ansible to override configuration across all OpenStack services.

Change-Id: I6d144a945e1cde06fa9fdd03c30102458c0c9f8d
Story: 2005904
Task: 34153
2019-07-11 16:29:14 +00:00
Mark Goddard
0707e2c53d CI: Don't create an external network in init-runonce
This network conflicts with the ironic provision-net since both are flat
networks on physnet1. We don't need the external network in our CI, so
don't create it.

Change-Id: Id17d4ea00ceb684b34bf12e911758d504c520de0
Depends-On: https://review.opendev.org/#/c/670129/
2019-07-11 06:58:35 +00:00
Zuul
7e83b264e0 Merge "Fix custom ironic python agent environmental variables" 2019-07-08 16:24:54 +00:00
Zuul
2002cf6019 Merge "Support customising refactored HAProxy config" 2019-07-08 16:17:11 +00:00