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
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
The yatesr.timezone role has been forked to stackhpc.timezone, since the
upstream role includes symlinks which do not play nicely with PBR. Once
the PBR issue is fixed, we can revert to using the upstream role.
Change-Id: Ib8fe11cdf7e2571f99eb13c0e5ebd3e200c77c6e
Story: 2004252
Task: 27787
Updates the following roles to releases with CA certificate support:
os-images
os-ironic-state
os-networks
Change-Id: I92368dd09330ca81ad9f9ebcfef541f9469e6e17
Story: 2004911
Task: 29261
Update libvirt-host to 1.3.0
Update libvirt-vm to 1.6.0
These bring in support for non-hardware accelerated VMs, amongst other
things.
Change-Id: I46a0a63092321ce8ec271563fe259a66fa0e2a7b
We currently request v1.2, but this is no longer available to download
and causes a 404 error. Moving to the latest version of 1.3.1 seems to
get over this bump. The lack of "v" in the version is required, I
presume due to the recent ansible galaxy changes.
Change-Id: I29a6b8dc7d0759e43b1a64f4d6ab835687d0ab10
This role now expects disks to be passed as a list instead of a
comma-separated string.
This commit updates group variables to stop transforming disk lists to
comma-separated strings and adds a check for users overriding LVM
variables. The playbook is also tagged as upgrade-check.
Change-Id: Ia8001c28a8be034ae79a1c584beb40bc66891db3
Ansible Galaxy switched to semantic versioning. In order to get it
to import the latest release, a tag following this scheme was added
after a minor update to the grafana-conf role. This appears to have
broken the accessibility of the original version. This commit moves
to the later release to work around the issue.
Change-Id: I5a0ba9e18bc5db54f899b545b88c319c7922bf9e
Remove testing playbooks, and compute-node-flavors.yml for
autogenerating flavors from baremetal nodes. These are no longer used.
Change-Id: I41903c0110e4b0f4a31942fd41cc9e6fde2a46e2
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
Mellanox switches running MLNX-OS cannot be managed using the Ansible onyx*
modules, as the OS is too old. This change uses the stackhpc.mellanox-switch
Ansible role to configure these devices using the Ansible expect module.
Change-Id: I86f654c95be05e3a82d6015e4c89093127553408
Story: 2002687
Task: 22512
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
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
This add supports for running the stackhpc.grafana-conf Ansible
Galaxy role against a monitoring server to configure Grafana
post deployment. This includes:
* Creating an organisation
* Configuring dashboards for the organisation from a git repo
* Configuring datasources for the organisation
Adds these new commands:
kayobe baremetal compute inspect
kayobe baremetal compute manage
kayobe baremetal compute provide
These can be used to set the provision state of ironic nodes in the
baremetal-compute group.