147 Commits

Author SHA1 Message Date
Zuul
4b33044eb9 Merge "Update ironic IPA deployment images" 2018-10-02 11:00:51 +00:00
Zuul
74c9d431c9 Merge "Allow installing extra packages inside the kolla-ansible virtualenv" 2018-09-28 13:38:46 +00:00
Pierre Riteau
372058c19f Allow installing extra packages inside the kolla-ansible virtualenv
It may be necessary to install extra Python packages inside the
kolla-ansible virtualenv, such as when required by Ansible plugins. For
example, using the hashi_vault lookup plugin requires the hvac Python
package to be installed.

This patch adds a kolla_ansible_venv_extra_requirements list variable
which contains Python package requirements to add to the kolla-ansible
requirements file. Its default value is an empty list.

Change-Id: Ie0541dc05e2ab94af230d0113a23c544755424c7
2018-09-27 12:20:31 +01:00
Mark Goddard
f7badb2b37 Use openstack-hosted development config
The Kayobe development configuration has moved to
openstack/kayobe-config-dev. It was previously hosted at
stackhpc/dev-kayobe-config on Github.

This change updates the Zuul configuration and development documentation
to use the new location. It also uses a location for the kayobe source
code that works when kayobe is not the repository against which the code
review is targetted. This allows us to run kayobe jobs for
kayobe-config-dev changes.

Configuration for the seed VM and seed hypervisor development
environments is not yet supported by kayobe-config-dev, so the
documentation references a branch in my personal fork on Github.

Change-Id: I621324093b8dff0ac52a648539cd91bc12da4862
2018-09-24 10:25:48 +01:00
Mark Goddard
1b5d05dc2e Update ironic IPA deployment images
This will update the the deploy_ramdisk and
deploy kernel properties of  'Driver info'
field on Ironic nodes if the locally built
or externally referenced images are updated.

Change-Id: Id3997db452dde6e6e242a9b1091cb219c53ebda1
2018-09-03 15:29:58 +01:00
Pierre Riteau
1ee04846f6 Fix command for copying the Kayobe configuration
There were two problems with this command. First, we needed to copy the
etc/kayobe directory instead of just etc, to avoid generating an extra
layer of kayobe directories. Second, its behavior was different
depending on whether the target directory already existed or not:
instead, copying files under etc/kayobe always produces a predictable
result.

Change-Id: I3923e1fad2e1e9a5b206db93d48c08545cbdccef
2018-08-31 15:18:00 +01:00
Zuul
026e57af51 Merge "Add commands to update packages on hosts" 2018-08-30 17:11:35 +00:00
Mark Goddard
491ed919d6 Add commands to update packages on hosts
Just performs a yum update.

Change-Id: I4cdc23a3e491c5a2f92e8beeb7eaebf2df818df3
Story: 2003305
Task: 24257
2018-08-23 13:40:43 +01:00
Mark Goddard
4f20a2f00f Pin Ansible Galaxy dependencies
Currently kayobe's ansible galaxy dependencies are unpinned. For
versioned roles, any new release will be picked up. For unversioned
roles, any new commit to master will be picked up. This is clearly not
ideal for stability, and we should pin these dependencies to specific
versions to avoid things changing under our feet. For unversioned roles,
we may want to consider adding versioning where we have the power to do
so.

Change-Id: Ib83a0d95b9061b3a57cb0e7c4cff3488ee076664
Story: 2003437
Task: 24633
2018-08-15 09:50:50 +01:00
Zuul
34e410dd46 Merge "Fix path to virtualenv in usage guide" 2018-08-02 20:52:17 +00:00
Mark Goddard
cc47f7d0d4 Point README and docs to official release notes
OpenStack publishes release notes for non-official projects as well as
official projects at https://docs.openstack.org/releasenotes.

Change-Id: I4b4f0f37b9341d0009b4ea8c77ec014d289cd2af
2018-08-01 19:33:25 +01:00
Mark Goddard
c852c59a51 Fix path to virtualenv in usage guide
Change-Id: Ia200efce040a009bbb35292cf846d36f2edb259b
Story: 2003107
Task: 23224
2018-07-30 09:21:42 +01:00
Zuul
10382bce9e Merge "Support forcing rebuild of deployment images" 2018-07-23 15:40:29 +00:00
Doug Szumski
6c2e68a545 Support configuring tunnel network
Support configuring a separate tunnel network for tenant
overlay network traffic.

Change-Id: I74274823d6fe3a42aabcca00c8cd20e1abb3d219
Story: 2003054
Task: 23091
2018-07-20 13:57:03 +01:00
Will Miller
2d5fd703a0 Reconcile all 'Ansible control host' references
Ensure all references to the Ansible control host are worded as such, to
ensure consistency and avoid potential confusion with the OpenStack
controllers.

Change-Id: Id92e537ccbfdd55287b8eae296f649640c70ce17
2018-07-11 17:19:18 +01:00
Kevin Tibi
fc9ef3e9d1 Fix typo doc administration
Change-Id: I755d0cf9b9302b1698c199088514a0e7242009bd
2018-07-10 17:41:10 +02:00
Will Szumski
3fca0d00a9 Adds a separate admin network
The admin network is intended for remote admin access to
the overcloud hosts e.g SSH. If admin_oc_net_name is not set
it will default to provision_oc_net_name for backwards
compatability.

Story: 2002096
Task: 19774

Change-Id: Ib04bbc07f97218d7503000cc363624c60c287822
2018-06-25 14:21:51 +00:00
Mark Goddard
22cf08e882 Support forcing rebuild of deployment images
It is hard to know when disk images need to be rebuilt, and the
stackhpc.os-images role simply checks for the presence of the DIB output
directory to indicate that an image exists. In some cases, we may wish to force
the rebuilding of a deployment (IPA) image, when we know there are changes to
apply. This change adds a --force-rebuild argument to the following commands:

kayobe seed deployment image build
kayobe overcloud deployment image build

Change-Id: I580811a4f621df9445ef32773ca66bcf303dad9b
2018-06-22 14:43:29 +01:00
Zuul
811ce46959 Merge "add cloud-init workaround" 2018-06-22 10:50:19 +00:00
Will Szumski
d1ba6d5027 add cloud-init workaround
The version of cloud-init included with CentOS7.5 (0.7.9-24)
fails to assign an IP address on VLAN subinterfaces. This
workaround upgrades cloud-init to 18.2 using a private
repository.

Story: 2002610
Task: 22229
Change-Id: Idc570b9ca7558dfd42246c74b1ec0331011d692f
2018-06-21 15:58:01 +01:00
Will Szumski
05dfcc8199 Adds new command to rename baremetal compute nodes
Story: 2002176
Task: 20042
Change-Id: I2174a4719aaff63fff24e35ce62eab57b369b457
2018-06-19 10:07:16 +01:00
Zuul
f034ae4741 Merge "Add documentation for custom ansible playbooks" 2018-06-06 10:01:14 +00:00
Will Szumski
0511f67eb2 Adds configuration option for separate cleaning network
To improve network isolation it is desirable to perform
cleaning on a separate network. A new network, `cleaning_net`
was added. If cleaning_net_name is not overriden cleaning
will still be performed on the workload provisioning network
to maintain backwards compatability.

Story: 2002097
Task: 19775
Change-Id: I7dd246ca830820f9c2468b281f6ac8f0db2e9cbe
2018-06-06 09:11:56 +01:00
Will Szumski
2294cf3357 Adds controllers to inspection network by default
Change-Id: I976cd0727219314150ed5b1b6f715756151a0089
Story: 2002109
Task: 19788
2018-06-05 12:51:57 +00:00
Zuul
1b8c98ff24 Merge "Update kayobe-config repo URL to openstack/kayobe-config" 2018-05-24 10:03:43 +00:00
zhangdebo
f231baee77 Replace Chinese quotes with English quotes
Change-Id: I79afa2e05932e152eda46f91c20fb750234224d2
2018-05-23 16:49:50 +08:00
Mark Goddard
2c27566d8c Add documentation for custom ansible playbooks
Change-Id: Ia00bd15d037ce3f1db66a953f9c327074e509627
Story: 2001663
Task: 12599
2018-05-21 16:00:57 +01:00
Mark Goddard
97905f98b6 Update kayobe-config repo URL to openstack/kayobe-config
The kayobe-config repo is now under the openstack git namespace.

Change-Id: I3e29d33accc947473d0d2c6a01f2c1d5c823a197
Story: 2001637
Task: 19738
2018-05-21 09:20:21 +01:00
stack
8cf23b7578 Support DHCP for managed network interfaces
Adds support for setting the boot protocol of a network interface. Valid values
are 'static' and 'dhcp'.  The default is 'static'. When set to 'dhcp', an
external DHCP server must be provided.

Change-Id: Ie4cafdcd24c6706009ca9e8accac2017d7d6bba7
Story: 2001967
Task: 15717
2018-05-09 19:12:00 +01:00
stack
53c5ee1366 Allow resolv.conf configuration to be prevented
In some cases we may wish to use an existing DNS resolver configuration, or to
acquire the configuration via a protocol such as DHCP. In these cases the
variable resolv_is_managed should be set to false.

Change-Id: I1e4661f3eedd87da15142d2d6815aaeb0493be6c
Story: 2001967
Task: 15718
2018-05-09 19:12:00 +01:00
Mark Goddard
1c376f071e Build release notes using reno
The current approach of adding release notes to a single file means that
we end up with merge conflicts every time a change is merged. This is
wasteful of time and resources.

Change-Id: I19f956e4e3991e39252eaa3a1b97a3b2812858d2
Story: 2001637
Task: 6649
2018-05-04 15:11:23 +01:00
Kevin Tibi
b850bb90f7 Disable live-restore by default
Live-restore is not support by redhat[1]. We need
to disable option by default.

[1] https://access.redhat.com/solutions/2991041

Change-Id: Ie4814983613a40fb6ff14aa63ddfd59f4ed62daf
2018-05-04 14:26:50 +02:00
Mark Goddard
f86c0ff48f Use queens version of dependencies
Use queens release of:

* Kolla
* Kolla ansible
* Bifrost
* IPA
* OpenStack services

Changes to kolla inventory files were made by comparing the multinode
inventory in kolla-ansible with the overcloud-services and
overcloud-components templates.

Kolla ansible added the concept of inner-compute and external-compute,
and these groups have been added to the top-level inventory.

We also synchronise globals.yml and kolla enablement flags.

Change-Id: I87b052f777567226e41294b955f736040e55e102
Story: 2001863
Task: 14315
2018-05-02 11:40:46 +01:00
Nick Jones
1c976bc125
Update release notes to mention TLS certicate bundle handling
Add a section in the release notes calling attention to this new feature.

Change-Id: Ibe96181311cda4e523e4584cba81b0696e18afab
2018-04-25 09:28:51 +01:00
Kevin Tibi
8ba28c2df3 Support docker live-restore option
Change-Id: Ifc17d132322f84e92655c7ee45dd3566a32ef4b2
Story: 2001783
Task: 12496
2018-04-18 18:46:34 +02:00
Zuul
1488f49184 Merge "Add support for custom yum repositories" 2018-04-13 09:00:56 +00:00
Kevin Tibi
8038e6ef9e Add support for custom yum repositories
Change-Id: I0370663b2d8ee7526dd2ba64266d6702800dfb76
Story: 2001775
Task: 12481
2018-04-11 13:38:19 +01:00
Mark Goddard
02c1efe61a Change github URLs to git.openstack.org
It seems that a number of URLs in the documentation were not changed
following the switch to git.openstack.org.

Change-Id: If23f60ad04f77f9990bf229bc38c687106abeda6
2018-04-04 14:48:33 +01:00
Mark Goddard
0ca7049adb
Add release note for Grafana post-deployment config 2018-02-27 16:09:49 +00:00
Mark Goddard
eef61c7955 Add release notes & bump version for kayobe 3.1.0 release
This release is based on the OpenStack Pike release.
2018-02-26 17:10:31 +00:00
Mark Goddard
abb6243d81
Merge pull request #133 from markgoddard/dev-docs
Improve automated development environment documentation
2018-02-26 17:06:35 +00:00
Mark Goddard
dc6f95ecf5 Improve automated development environment documentation
Adds invocation of install.sh and setup of bridge when not using Vagrant.
2018-02-26 16:44:54 +00:00
Mark Goddard
91119f9f7e Add documentation on writing tests 2018-02-22 15:55:41 +00:00
Mark Goddard
823e50cce7
Merge branch 'master' into molecule-kolla-openstack 2018-02-22 15:19:15 +00:00
Mark Goddard
d57969beb9
Merge pull request #84 from ktibi/ceph_tag
add storage group and ceph tag
2018-02-22 14:51:45 +00:00
Mark Goddard
b160237f9b Add documentation on running tests 2018-02-21 10:33:07 +00:00
Kevin TIBI
80f350b8f0 add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
Mark Goddard
cd33ebc405 Dev automation documentation review changes 2018-02-06 14:14:57 +00:00
Mark Goddard
820f9f2977 Address dev environment review comments
Improves shell script quoting, and adds

set -u
set -o pipefail
2018-02-06 14:08:45 +00:00
Mark Goddard
b3880aa264 Add scripting around the development environment
The following top level scripts are added under dev/:

* overcloud-deploy.sh
* seed-deploy.sh
* seed-hypervisor-deploy.sh

Some amount of configuration is possible via dev/config.sh.
2018-01-31 10:58:19 +00:00