LVM driver can't create snapshots when run with Ubuntu/Bionic Beaver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Goutham Pacha Ravi |
Bug Description
Steps to Reproduce:
1) Setup manila with the LVM driver on Ubuntu Bionic Beaver (18.04 LTS)
2) Create a share type that supports snapshots and creating shares from snapshots
3) Create a share with share type from 1
4) Create a snapshot of share from 3
5) Monitor status of snapshot
Expected:
Snapshot creation should succeed
Actual:
Snapshot creation fails, this is the error in manila-share manager log:
ERROR oslo_messaging.
Command: sudo manila-rootwrap /etc/manila/
Exit code: 1
Stdout: u'tune2fs 1.44.1 (24-Mar-
Stderr: u''
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
ERROR oslo_messaging.
RCA:
- tune2fs comes from e2fsprogs and that package has been updated in Ubuntu 18.04 https:/
- When executing tune2fs -U random <lvm-share> manually, the error becomes clearer:
$ sudo tune2fs -U random /dev/mapper/
tune2fs 1.44.1 (24-Mar-2018)
This operation requires a freshly checked filesystem.
Please run e2fsck -f on the filesystem.
- Looking at the upstream release notes for e2fsprogs, there seems to be a change in the tune2fs package and the docs were enhanced with debian issue https:/
Changed in manila: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
Changed in manila: | |
importance: | Undecided → Medium |
milestone: | none → stein-1 |
Fix proposed to branch: master /review. openstack. org/611199
Review: https:/