mounting the freshly formatted xfs on the lv occasionally fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack-plugin-glusterfs |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
excerpt from devstack.log exhibiting this issue:
2015-12-08 09:44:41.117 | ++ sudo mkfs.xfs -i size=512 /dev/glusterfs-
2015-12-08 09:44:41.627 | meta-data=
2015-12-08 09:44:41.627 | = sectsz=512 attr=2, projid32bit=0
2015-12-08 09:44:41.627 | data = bsize=4096 blocks=5242880, imaxpct=25
2015-12-08 09:44:41.627 | = sunit=0 swidth=0 blks
2015-12-08 09:44:41.627 | naming =version 2 bsize=4096 ascii-ci=0
2015-12-08 09:44:41.627 | log =internal log bsize=4096 blocks=2560, version=2
2015-12-08 09:44:41.627 | = sectsz=512 sunit=0 blks, lazy-count=1
2015-12-08 09:44:41.627 | realtime =none extsz=4096 blocks=0, rtextents=0
2015-12-08 09:44:41.629 | ++ '[' 0 -eq 0 ']'
2015-12-08 09:44:41.629 | ++ break
2015-12-08 09:44:41.629 | ++ local mkfs_duration=0.1
2015-12-08 09:44:41.629 | ++ '[' 0 -eq 0 ']'
2015-12-08 09:44:41.629 | ++ echo 'mkfs.xfs succeeded after retrying for 0.1'
2015-12-08 09:44:41.629 | mkfs.xfs succeeded after retrying for 0.1
2015-12-08 09:44:41.629 | ++ true
2015-12-08 09:44:41.629 | ++ mkdir -p /opt/stack/
2015-12-08 09:44:41.630 | ++ sudo mount /dev/glusterfs-
2015-12-08 09:44:41.642 | mount: /dev/mapper/
2015-12-08 09:44:41.643 | + exit_trap
Reviewed: https:/ /review. openstack. org/255726 /git.openstack. org/cgit/ openstack/ devstack- plugin- glusterfs/ commit/ ?id=21d2009e02b ab24ec8a5985f24 e83bf56ddca1b4
Committed: https:/
Submitter: Jenkins
Branch: master
commit 21d2009e02bab24 ec8a5985f24e83b f56ddca1b4
Author: Csaba Henk <email address hidden>
Date: Thu Dec 10 09:30:01 2015 +0100
_create_ thin_lv_ gluster_ vol: retry mounting the lv
Also took the opportunity to move to test_with_retry
instead of using a hand-rolled retry loop.
Closes-Bug: #1524656 2efd2af3ac2ec89 b5772459cd5
Change-Id: I0fff95b434a657