Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 925892 Details for
Bug 1120456
rebalance is not resulting in the hash layout changes being available to nfs client
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Test case reproducing the problem
bug-1120456.t.rhs21 (text/plain), 1.64 KB, created by
Shyamsundar
on 2014-08-12 01:52:57 UTC
(
hide
)
Description:
Test case reproducing the problem
Filename:
MIME Type:
Creator:
Shyamsundar
Created:
2014-08-12 01:52:57 UTC
Size:
1.64 KB
patch
obsolete
>#!/bin/bash > >. $(dirname $0)/../include.rc >. $(dirname $0)/../volume.rc >. $(dirname $0)/../nfs.rc > >create_files () { > for i in {1..10}; do > orig=$(printf %s/file%04d $1 $i) > echo "This is file $i" > $orig > done > for i in {1..10}; do > mkdir $(printf %s/dir%04d $1 $i) > done > sync >} > >create_dirs () { > for i in {1..10}; do > mkdir $(printf %s/dir%04d $1 $i) > create_files $(printf %s/dir%04d $1 $i) > done > sync >} > >stat_files () { > for i in {1..10}; do > orig=$(printf %s/file%04d $1 $i) > stat $orig > done > for i in {1..10}; do > stat $(printf %s/dir%04d $1 $i) > done > sync >} > >stat_dirs () { > for i in {1..10}; do > stat $(printf %s/dir%04d $1 $i) > stat_files $(printf %s/dir%04d $1 $i) > done > sync >} > >cleanup; > >TEST glusterd >TEST pidof glusterd >TEST $CLI volume info; > >TEST $CLI volume create $V0 replica 2 $H0:$B0/${V0}{1,2,3,4}; > >EXPECT "$V0" volinfo_field $V0 'Volume Name'; >EXPECT 'Created' volinfo_field $V0 'Status'; >EXPECT '4' brick_count $V0 > >TEST $CLI volume start $V0; >EXPECT 'Started' volinfo_field $V0 'Status'; > >EXPECT_WITHIN 30 1 is_nfs_export_available; >TEST ! mount -t nfs -o vers=3 localhost:/$V0 $N0 > >TEST create_dirs $N0 >TEST stat_dirs $N0 > >TEST $CLI volume add-brick $V0 replica 2 $H0:$B0/${V0}{5,6,7,8} > >TEST cd $N0 >TEST ls -lR > >TEST $CLI volume rebalance $V0 start force >EXPECT_WITHIN $REBALANCE_TIMEOUT "completed" rebalance_status_field $V0 > >TEST ls -lR >TEST rm -rf ./* ># At this point some directories would not be deleted with errors stating ># that they are not empty. On further inspection, we can see that any ># unlink operation on some of these directories fails, with the internal ># state of the layout for the directory in an inconsistent fashion
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 1120456
:
918559
|
918560
|
918857
|
918858
| 925892