Kayobe provides support for setting arbitrary sysctls on hosts. These
should be persistent, but the configuration file used
(/etc/sysctl.d/kayobe) does not have the required .conf extension, so
the file is ignored.
This change adds a .conf suffix to make the file
/etc/sysctl.d/kayobe.conf.
Change-Id: I222250a91bc28aed9577293534cf481579992f52
Story: 2002972
Task: 22980
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
In certain environments, a user's primary group doesn't necessarily
match that of their username. This change updates various playbooks to
make use of the `ansible_user_gid` fact instead.
This change also makes ownership explicit by using `ansible_user_uid`
instead of `ansible_user` or `ansible_user_id`, where appropriate.
Change-Id: Ifc2ea7d95ec90e91791ccb10772b15d991379479
Story: 2002770
Task: 22636
This enables:
* Disabling MariaDB if external MariaDB is used
* Merging additional configuration with the default Kolla
provided configuration for MariaDB
Story: 2002704
Task: 22545
Change-Id: I345f56d50dd64b516d563a025ec877bc4a4034e1
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
PowerConnect switches do not support the dellos Ansible modules, since
they are based on DellOS version 4. This role uses the expect module to
perform simple switch configuration.
Change-Id: Icb59aaff75f9faf089423610fecb06598f75e35e
Story: 2002106
Task: 19784
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
Kolla provides a flag, enable_neutron_provider_networks, to enable
virtualised compute nodes to access provider (e.g. flat, VLAN) networks.
In kayobe, we now connect compute nodes to the external networks when
this flag is set. This ensures that the OVS network on compute nodes
is wired into the external networks.
Change-Id: Ida3d8eb2e2bfc95f6007c105ce410b3e5d360afe
Story: 2002636
Task: 22278
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: I9aaae4949e2cf6c8a33fb6fbf8be15e1d09cce44
a new variable, kolla_enable_ironic_ipxe is added to control whether or not
iPXE is used as the network boot program in ironic. You can set this is in
etc/kayobe/kolla.yml, e.g:
kolla_enable_ironic_ipxe: True
Change-Id: I7da15e7ceea580e5b7bee7fc732351cbec666f4c
Story: 2001949
Task: 15068
Depends-On: I08fca1864a00afb768494406c49e968920c83ae7
Raises the maximum Ansible version in requirements.txt to Ansible 2.5.x
for both kayobe and kolla ansible.
Also removes the hack to use a patched parted module for ceph block
device management, as Ansible 2.4 contains the required fix.
Change-Id: I0d2f564eb1ddb63b07829d6f0d918af26887db97
Story: 2001649
Task: 6668
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
The provider_physical_network, as passed to neutron, can
now be configured with the physical_network attribute on
workload provisioning network.
TrivialFix
Change-Id: I96ff4b5ef3da32c07c01a9378fac5c34503fa08d
In some cases we may have a kolla group defined in
'kolla_overcloud_inventory_top_level_group_map' which has no kayobe
groups mapped to it. This causes no entry to be added to the inventory
for the group. If the group is referenced elsewhere in the inventory,
then Ansible will fail to parse the inventory file.
The specific case that failed was when setting
'kolla_overcloud_inventory_storage_groups' to an empty list.
This change ensures that we add an empty definition for the group in the
kolla inventory.
Change-Id: I8e797aa6c55f8cf0cf6d52a33f213d8131581fea
Story: 2002105
Task: 19783
Adds the storage group to the example inventory. The storage group is a
subgroup of the overcloud and docker groups.
TrivialFix
Change-Id: I18897c3bd86e12291cd4b13641beb5a8b6fdb89f
As for 'when' clauses, 'until' should no longer use brackets, lest you
receive a written warning from Ansible.
TrivialFix
Change-Id: I1f10092ce283d288ae75600c4d0a450697b37c9f