With [1] we have broken compatibility of potentially provided extra components
config without any notice.
In order to handle this now we fix backwards compatibility along with
adding a deprecation note on the format of ``client``.
[1] https://review.opendev.org/c/openstack/openstack-ansible-ceph_client/+/882827
Closes-Bug: #2047783
Change-Id: I89b67f0f0545d799194d8486a6bb25227279af84
Add file to the reno documentation build to show release notes for
stable/zed.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/zed.
Sem-Ver: feature
Change-Id: I534f5bdb19a1e1f75eeeeefbe01c8ec3bcdbe38f
In some cases, like AZ scenarios, deployments may interact with
several clusters at a time, while they will be distinguished by
the cluster_name. However, ceph_client role now assumes that
cluster name is `ceph` without any way to override such assumption.
Change-Id: I9dcad1e1c63294f4f59a1755507904808acb785e
The sync from https://review.opendev.org/733244 updated to
openstackdocstheme 2.2.1 and reno 3.1.0 versions.
Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.
openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.
See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
Change-Id: I0471cc6eb2f02c1352d15db7eeeafceb31c881f1
Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: I731b562a565a7c0cd51035f74c5c7bcd55d6394c
Sem-Ver: feature
New version of openstackdocstheme (Victoria+) respects pygments_style.
Since this repo is using now Victoria (master) requirements but has
not branched for Ussuri yet, it uses the new version.
Change pygments_style to 'native' since old theme version always used
'native' and the theme now respects the setting and using 'sphinx' can
lead to some strange rendering.
Change-Id: I0fec216a16b3a7f359c389e9a76f1f88936bc3da
Virsh binary is not part of the package libvirt-daemon-kvm and it's not
installed by dependecy. So `libvirt_package` was converted to a list
and `libvirt-client` is installed additionally, which provides virsh.
Change-Id: I967fd6e20e18310b4599fa00d003d7424ed73ae5
This change permits users to specify a directory where the keyrings are
located.
It is useful when openstack-ansible have no ssh access to the ceph
cluster.
Change-Id: I6693a7f9d0bc7fe1e20eee53a96de8df8985e148
This commit implements option to partially override ceph.conf with regular
config_template action plugin.
Change-Id: I60cc9d3a4dde0483aa92714a521675a26ad9cd78
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I8cbe6d8eb8a7cde0a1526658750b5ab8bdf171c1
Sem-Ver: feature
Having 'uca' as a valid value for ceph_pkg_source means that we
have to maintain the UCA parameters in another repo other than
the openstack_hosts role, and it has not been maintained well.
This is evidenced by the fact that the current value is set to
'pike', which is very old.
To reduce this maintenance burden, we simply remove this option.
Change-Id: I78bfd1585804c0261645a8e008a7acef66b5795a
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: I1763950f5ad9169a468d9a73dfe0c31eb11f3bcb
Sem-Ver: feature
Manila can be used with openstack and when deployed in a venv the ceph
client role will need to link the appropriate libs into the venv for
this to work. This change adds manila into the default component list so
that should manila be deployed it'll be automatically configured without
needing to provide an override.
Change-Id: I732066e3a3aea77c2c7e43398c833bba1664fde0
Signed-off-by: cloudnull <kevin@cloudnull.com>
We make remote network hits to get the GPG keys which are quite
unreliable, and apt_key does not support using a proxy properly [1]
so this change installs them from files inside the role.
The implementation here is derived from that which was done in the
galera_server role in I7ac1a5e3a05aa3d0b4fae86c4a325ef147a9a528.
[1] https://github.com/ansible/ansible/issues/31691
Change-Id: Id040de19dbefc820851928c9a3589f20a6b4bd61
Closes-Bug: #1815430
Release notes are version independent, so remove version/release
values. We've found that projects now require the service package
to be installed in order to build release notes, and this is entirely
due to the current convention of pulling in the version information.
Release notes should not need installation in order to build, so this
unnecessary version setting needs to be removed.
This is needed for new release notes publishing, see
I56909152975f731a9d2c21b2825b972195e48ee8 and the discussion starting
at
http://lists.openstack.org/pipermail/openstack-dev/2017-November/124480.html
.
Change-Id: Icec0c0d222063f8edb912107534895104c0d2597
This patch implements an initial set of jobs intended to match
the current job execution method. It does not intend to improve
how the jobs are executed - only to replicate what is currently
in openstack-infra/openstack-zuul-jobs and provide the platform
to iterate on.
Change-Id: I0fdf23d144eaf7e712df0c1c88e7765d31956282
The telemetry roles within OSA are in the process of getting moved
out of the OSA integrated repo. As a result, the gnocchi groups
will no longer be part of the inventory by default.
This commit adds a new variable, called 'ceph_extra_components',
that will allow the deployer to specify any extra services
and packages that might not ship by default with OSA.
Change-Id: I5b1bcf670e6ed6018cd3de25f069b65747fb5532
As part of the docs migration work[0] for Pike we need to switch to use the
openstackdocstheme.
[0]https://review.openstack.org/#/c/472275/
Change-Id: I309f69538722be87a233b4336d8c70f085205131
Apt cannot have 2 mirrors with the same content in 2 different files.
This commit makes possible to decide the filename for the repo to
avoid possible clashes.
Change-Id: I8be9b49e40b755cb90928067c60fe8a5d9c5ae0b
When adding extra ceph clusters, client keys are not currently
distributed to hypervisors; This patch ensures that
the keys are properly distributed and cleaned up by ansible.
Change-Id: I3eb8fa201f4601565e88e0e68af68e9dfdadc88f
Releasenote translation publishing is being prepared. 'locale_dirs'
needs to be defined in conf.py to generate translated version of the
release notes.
Note that this repository might not get translated release notes - or
no translations at all - but we add the entry here nevertheless to
prepare for it.
Change-Id: I3ac0a6d17806d05097b8b1e99d7ac7f4c8ac7876
Deploy necessary configs and keyrings for multiple
ceph cluters. Specifically, the intent is to enable
multiple backends for cinder that can be accessed by
compute nodes.
This change will allow automatic retrieval of
ceph.conf and client keyrings from multiple ceph clusters.
Additionally, libvirt ceph client secrets will be created
to support attaching volumes to instances from multiple
ceph clusters.
Change-Id: Icee061b35f374955154a3dd703444b94da0117da
Currently, ceph_client role only deploys one ceph.conf
file to a hard-coded location of /etc/ceph/ceph.conf
Cinder is able to utilize multiple configs for Ceph
when using multiple Ceph clusters by defining the
variable rbd_ceph_conf in each rbd backend defined in
cinder_backends.
This patch allows a deployer to define the dictionary
variable ceph_extra_confs to deploy more ceph.conf files.
Change-Id: I1e8d1c6bb10915789ab4d08b5596844f01d2b8d7