Add nfs and ceph jobs to templates

With changing cinder code we potentially can break some backends.
In order to detect this in time we are adding ceph and nfs scenarios.

We also fix lvm backend for use on RedHat.

Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/859339
Change-Id: Ifceb2b816199339ec7725bd95cc890595eed95d9
This commit is contained in:
Dmitriy Rabotyagov 2022-09-26 20:43:44 +02:00
parent 13bf575d23
commit 0d4b994049
3 changed files with 13 additions and 1 deletions

View File

@ -146,6 +146,16 @@
- "cinder_target_helper == 'tgtadm'"
- cinder_backend_lvm_inuse | bool
- name: Ensure iscsi service is started
service:
name: "{{ tgt_service_name }}"
state: started
enabled: true
when:
- "cinder_services['cinder-volume']['group'] in group_names"
- "cinder_target_helper == 'lioadm'"
- cinder_backend_lvm_inuse | bool
- name: Create nfs shares export file
template:
src: nfs_shares.j2

View File

@ -14,7 +14,7 @@
# limitations under the License.
# service names
tgt_service_name: tgtd
tgt_service_name: iscsid
# Common yum packages
cinder_distro_packages:

View File

@ -19,5 +19,7 @@
- openstack-ansible-linters-jobs
- openstack-ansible-deploy-aio_metal-jobs
- openstack-ansible-deploy-aio_distro_metal-jobs
- openstack-ansible-deploy-ceph-jobs
- openstack-ansible-deploy-nfs-jobs
- publish-openstack-docs-pti
- build-release-notes-jobs-python3