25 Commits

Author SHA1 Message Date
Zuul
51df5abb6e Merge "Update packages in virtualenvs" 2019-08-21 19:31:38 +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
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
7f43edf68d Add support for configuring software RAID arrays using mdadm
Change-Id: I647d93bf40d42a1b86b06170c8b4cc96972051c4
Story: 2005017
Task: 29495
2019-03-26 15:16:20 +00:00
Zuul
b725f24314 Merge "Update stackhpc.libvirt-vm and stackhpc.libvirt-host roles" 2019-02-01 19:04:24 +00:00
Zuul
7440d499b0 Merge "Update role requirements for CA certificate support" 2019-02-01 18:59:59 +00:00
Mark Goddard
076fe7db3f Use a fork of the yatesr.timezone role
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
2019-02-01 12:22:19 +00:00
Mark Goddard
72ab538d7c Update role requirements for CA certificate support
Updates the following roles to releases with CA certificate support:

os-images
os-ironic-state
os-networks

Change-Id: I92368dd09330ca81ad9f9ebcfef541f9469e6e17
Story: 2004911
Task: 29261
2019-02-01 10:28:53 +00:00
Mark Goddard
d23658aaf6 Update stackhpc.libvirt-vm and stackhpc.libvirt-host roles
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
2019-01-29 18:55:50 +00:00
Pierre Riteau
55f73c52ca Add support for setting defroute
Change-Id: I483d8f4189a569d58bc95591c7c86a88c9c5b5f3
Story: 2004884
Task: 29165
2019-01-29 14:58:21 +00:00
John Garbutt
222bfc42e0 Fix download of ahuffman.resolv
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
2019-01-15 10:28:23 +00:00
Pierre Riteau
1a3de5e799 Update manage-lvm role to v0.1.4
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
2019-01-04 11:55:15 +00:00
Doug Szumski
d2213de1dd Update grafana-conf role
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
2018-12-04 17:54:26 +00:00
Mark Goddard
c1ecbcda3d Cleanup unused code
Remove testing playbooks, and compute-node-flavors.yml for
autogenerating flavors from baremetal nodes. These are no longer used.

Change-Id: I41903c0110e4b0f4a31942fd41cc9e6fde2a46e2
2018-08-29 09:25:41 +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
aff618d0cb Merge "Add support for Mellanox switches running MLNX-OS" 2018-08-02 17:03:11 +00:00
Mark Goddard
abded1e472 Add support for Mellanox switches running MLNX-OS
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
2018-06-25 16:25:38 +01:00
Mark Goddard
920d9e0eee Add Dell PowerConnect switch support
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
2018-06-22 15:12:29 +01:00
Mark Goddard
07b2f06a82 Support Ansible 2.5
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
2018-06-06 12:45:51 +01:00
Kevin TIBI
80f350b8f0 add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
Doug Szumski
0cd6d17d0c Support configuring Grafana
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
2018-01-23 12:00:12 +00:00
Stig Telfer
d820d09e62
Merge pull request #91 from stackhpc/libvirt-galaxy
Move libvirt-host and libvirt-vm to Ansible Galaxy roles
2018-01-02 12:59:23 +00:00
Mark Goddard
a2cbe94b76 Improve bare metal compute node management
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.
2017-12-13 11:30:26 +00:00
Stig Telfer
bf608b1177 Move libvirt-host and libvirt-vm to Ansible Galaxy roles 2017-12-05 15:59:21 +00:00
Mark Goddard
3970b875d4 Move galaxy requirements.yml to top level
This prevents ansible from expecting it to be a playbook when running syntax
checks against globbed file names.
2017-11-17 12:06:22 +00:00