Commit Graph

38 Commits

Author SHA1 Message Date
Dmitriy Rabotyagov 6bb5f7dcdb Add backwards compatibility of ceph_components format
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
2024-01-02 15:59:34 +00:00
Jonathan Rosser e99aab1d69 Add releasenote for ceph immutable object cache and persistent write log cache
Change-Id: I13a8ab2848ab118f290e80398a3e80878b72e93f
2023-05-18 12:26:46 +01:00
OpenStack Release Bot 6acf029ad6 Update master for stable/zed
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
2022-12-13 13:07:19 +00:00
Dmitriy Rabotyagov b3e7560e80 Provide opportunity to define cluster_name
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
2022-08-10 07:07:16 +02:00
Andreas Jaeger 61fa1f9433 Use newer openstackdocstheme and reno versions
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
2020-06-03 19:00:23 +02:00
OpenStack Release Bot 9415a22ccc Update master for stable/ussuri
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
2020-06-01 13:08:47 +00:00
Andreas Jaeger 8b95a44d82 Update docstheme for style
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
2020-05-20 18:44:17 +02:00
Dmitriy Rabotyagov 3e03cd1919 Install virsh for Centos
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
2020-01-24 16:54:39 +02:00
Zuul ec77f7a895 Merge "Importing keyrings from files rather than from mons" 2019-12-02 23:34:11 +00:00
Mikael Loaec db3e9536d4 Importing keyrings from files rather than from mons
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
2019-11-28 17:30:07 +01:00
Dmitriy Rabotyagov b9b1275917 Add ceph.conf override option
This commit implements option to partially override ceph.conf with regular
config_template action plugin.

Change-Id: I60cc9d3a4dde0483aa92714a521675a26ad9cd78
2019-11-20 17:39:13 +00:00
Dmitriy Rabotyagov d3c6ebf03e Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: Ifbc75308e24ee1ef49698848ff8999ea0574c3fe
2019-11-14 20:46:36 +02:00
OpenStack Release Bot 6e0af9d5df Update master for stable/train
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
2019-10-22 18:53:23 +00:00
Jesse Pretorius 706f3b6245 Remove the uca option for ceph_pkg_source
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
2019-04-19 09:53:12 +01:00
OpenStack Release Bot 4b431f8876 Update master for stable/stein
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
2019-04-08 09:14:27 +00:00
cloudnull 4be4113648 Add manila as a configured component
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>
2019-03-25 15:38:00 +00:00
Stuart Grace 58be4bd5e3 Use in-repo GPG keys
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
2019-02-13 20:09:07 +00:00
OpenStack Release Bot af65a3535d Update reno for stable/rocky
Change-Id: I9e82afcc2b30a72577de7921c888082a8bbc93a3
2018-08-10 16:44:34 +00:00
Jean-Philippe Evrard cf55b9b066 Adapt the list of ceph packages for SUSE
SUSE needs more than one distro package for rados support. If
they aren't installed, issues like this [1] appear.

Sadly, the current variable expects only one package name,
and not a list of packages.

This change does the minimum job to make it work, simply
renaming the internal variable (renaming package with
packageS) for readability purposes, and using this new
variable as a list in the provided ``vars/main.yml``.

[1]: http://logs.openstack.org/periodic/git.openstack.org/openstack/openstack-ansible/master/openstack-ansible-deploy-ceph-opensuse-423/266bcd0/job-output.txt.gz#_2018-04-08_07_27_36_061674

Change-Id: I4bb8bb3bc5840fa1d5159ceb91acea83bd5efce4
2018-04-09 16:16:05 +00:00
OpenStack Release Bot ad3ec6ace1 Update reno for stable/queens
Change-Id: I8dc02b100543a80d538a599e2adee4d9a4660584
2018-02-14 15:45:18 +00:00
Andreas Jaeger 022373becf Remove setting of version/release from releasenotes
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
2017-11-17 07:39:08 +01:00
Jean-Philippe Evrard aca2340279 Initial OSA zuul v3 role jobs
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
2017-10-17 16:40:41 +00:00
OpenStack Release Bot 6db5f41c6c Update reno for stable/pike
Change-Id: I60a29b7e3b9537a97b85aa26eac8602524561c1b
2017-08-18 12:30:51 +00:00
Miguel Alex Cantu 96b8a41312 Add ceph_extra_components, move gnocchi component
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
2017-07-27 01:34:48 +00:00
ZhongShengping b60410758a Fix openstackdocstheme settings
To use openstackdocstheme 1.11.0 properly, this patch fixes
some settings according to follow[0].

[0]https://docs.openstack.org/openstackdocstheme/latest/

Change-Id: I24f1bad22299d035bd387cc8c24f3ffa81e557d4
2017-07-03 15:48:15 +08:00
ZhongShengping 214555ff49 Switch from oslosphinx to openstackdocstheme
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
2017-06-26 14:30:41 +08:00
Marc Gariepy 802af2fb32 Add CentOS support
Add ceph support for ceph repos.

Change-Id: I677d890378e636813fbea34afe4e4656b4fc6282
2017-02-27 12:43:39 -05:00
Jenkins 517ad1e82f Merge "Update reno for stable/ocata" 2017-02-06 09:29:38 +00:00
gecong1973 e41fc2a18c Use https instead of http for git.openstack.org
TrivialFix

Change-Id: Ic7a88d01cdc37543fd51ed1a941e55b002d7c28a
2017-02-06 12:03:21 +08:00
OpenStack Release Bot 0a7d3e8c99 Update reno for stable/ocata
Change-Id: I7377a197861608ba6802fa482c94ae8e14f07992
2017-02-03 18:57:33 +00:00
Jean-Philippe Evrard 722a84eb7a Allow override of the repo filename
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
2017-01-20 12:15:00 +00:00
Logan V 20d00997a1 Use Jewel as default Ceph release
Jewel has been the latest stable release for almost a year now and
Hammer was scheduled for EOL in 11/2016.

Reference the following for more information:
http://docs.ceph.com/docs/master/releases/
https://www.spinics.net/lists/ceph-devel/msg34028.html

Change-Id: Id030688c2203cc11ac68a2c988c95b6850217b9f
2017-01-09 13:12:31 -06:00
Michael Gugino b818c7f832 Properly distribute extra ceph client keys
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
2016-12-09 16:40:32 -05:00
Andreas Jaeger 60f0ffa024 Enable release notes translation
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
2016-10-06 20:34:28 +02:00
Michael Gugino f3eeb2fa15 Deploy files for multiple ceph clusters
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
2016-09-30 13:34:58 -04:00
Davanum Srinivas ca903a1c8f Update reno for stable/newton
Change-Id: I4e86ff8315ba5867f4d970207998afd80a73addc
2016-09-29 18:58:40 +00:00
Michael Gugino aa47f369ab Support deployment of extra ceph.conf files
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
2016-09-14 17:04:24 -04:00
Jesse Pretorius b17bda5e26 Add scaffolding for OpenStack-CI tests 2016-08-21 16:59:34 +01:00