1467 Commits

Author SHA1 Message Date
Zuul
4169f2468f Merge "Revert "Use OpenStack Stein release"" 2019-09-03 18:50:58 +00:00
Zuul
c58cb2fbb8 Merge "Include branch name in URL for IPA on master" 2019-09-03 18:50:57 +00:00
Mark Goddard
45ef33ba91 Use earliest-version 6.0.0 for Stein reno
Change-Id: I7d6bbc700136a332e4e93d3c8e347f7efad196fd
2019-08-30 15:11:24 +01:00
Zuul
1f83d69aca Merge "Execute kayobe in verbose mode in CI" 2019-08-30 11:41:19 +00:00
Mark Goddard
37d313d461 Add source code orientation to development docs
Change-Id: Id26bc7f8f064aa979560e0d2d88d4675f701c89e
2019-08-30 10:12:48 +00:00
Zuul
f005dc2162 Merge "Set provisioning and cleaning networks as non-shared" 2019-08-28 19:24:58 +00:00
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
Will Szumski
300f90134e Only set up the kolla ansible venv on hosts in the kolla ansible inventory
Change-Id: Iaed6320f23a4dfe7a69e2921d363bf3bdcf035ef
Story: 2006247
Task: 35856
2019-08-27 17:22:58 +01:00
Mark Goddard
691ddeb614 Execute kayobe in verbose mode in CI
Also refactors the CI job playbooks to create the previous git repo
clones for upgrade jobs in the kayobe-base job.

Change-Id: I10c2b872887a47fab1a373fc0525dcd6fc78f7e2
2019-08-22 14:36:01 +00:00
Stig Telfer
c6263dbfd4 Add support for Arista switches
Support for invoking Ansible EOS network modules for Arista switches.

Change-Id: I3a570adf43e1addce5eeab88e29ae4ded44669f0
2019-08-22 16:20:40 +02:00
Zuul
45b4961de1 Merge "Update release documentation" 2019-08-22 13:20:25 +00:00
Mark Goddard
ebe13df6f7 Revert "Use OpenStack Stein release"
This reverts commit b46b2b72bbec2a076a8175fc0aff96cbdefcabff.

Switch dependencies and upper constraints back to master branch for
development after cutting stable/stein branch.

Change-Id: Ie7f588aab59e57efe240a58a3bd0a6f09fbcefb7
2019-08-22 13:52:42 +01:00
Mark Goddard
48c643abbe Include branch name in URL for IPA on master
While CoreOS images have a copy with and without the -master suffix,
tinyipa images which kayobe-config-dev has switched to, do not.

This change includes the branch name always.

https://tarballs.openstack.org/ironic-python-agent/coreos/files/

TrivialFix

Change-Id: Iff1504d17ecefd901d1c29c748a776a69a45b304
2019-08-22 13:52:42 +01: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" 6.0.0.0rc1 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