mounting the freshly formatted xfs on the lv occasionally fails

Bug #1524656 reported by Csaba Henk on 2015-12-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack-plugin-glusterfs
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-vg/manila-glusterfs-native-vol-20G-20
2015-12-08 09:44:41.627 | meta-data=/dev/glusterfs-vg/manila-glusterfs-native-vol-20G-20 isize=512 agcount=16, agsize=327680 blks
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/data/manila/export/manila-glusterfs-native-vol-20G-20
2015-12-08 09:44:41.630 | ++ sudo mount /dev/glusterfs-vg/manila-glusterfs-native-vol-20G-20 /opt/stack/data/manila/export/manila-glusterfs-native-vol-20G-20
2015-12-08 09:44:41.642 | mount: /dev/mapper/glusterfs--vg-manila--glusterfs--native--vol--20G--20 already mounted or /opt/stack/data/manila/export/manila-glusterfs-native-vol-20G-20 busy
2015-12-08 09:44:41.643 | + exit_trap

Reviewed: https://review.openstack.org/255726
Committed: https://git.openstack.org/cgit/openstack/devstack-plugin-glusterfs/commit/?id=21d2009e02bab24ec8a5985f24e83bf56ddca1b4
Submitter: Jenkins
Branch: master

commit 21d2009e02bab24ec8a5985f24e83bf56ddca1b4
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
    Change-Id: I0fff95b434a6572efd2af3ac2ec89b5772459cd5

Changed in devstack-plugin-glusterfs:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers