Merge "Fix Swift with kernel 4.19 and later"

This commit is contained in:
Zuul 2019-12-04 10:16:10 +00:00 committed by Gerrit Code Review
commit f52082abf7
2 changed files with 8 additions and 1 deletions

View File

@ -25,7 +25,7 @@
mount:
src: "UUID={{ item.fs_uuid }}"
fstype: xfs
opts: "noatime,nodiratime,nobarrier,logbufs=8"
opts: "noatime,nodiratime,logbufs=8"
state: mounted
name: "{{ swift_devices_mount_point }}/{{ item['fs_label'] }}"
with_items: "{{ swift_disks }}"

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes Swift volume mounting failing on kernel 4.19 and later due to
removal of `nobarrier` from XFS mount options.
See `bug 1800132 <https://bugs.launchpad.net/kolla-ansible/+bug/1800132>`__
for details.