Dump detail of swift rings
... so that we can review nodes and devices registered in swift rings easily. Change-Id: I6b316894cdcb3ea09d09498fdeeb6cc2283c0314
This commit is contained in:
parent
ab3efd68dd
commit
980894eaad
@ -378,6 +378,13 @@ fi
|
|||||||
unset OS_CLOUD
|
unset OS_CLOUD
|
||||||
unset OS_CLIENT_CONFIG_FILE
|
unset OS_CLIENT_CONFIG_FILE
|
||||||
|
|
||||||
|
# swift rings
|
||||||
|
if [ -d $LOG_DIR/swift ]; then
|
||||||
|
sudo swift-ring-builder /etc/swift/account.builder >> $LOG_DIR/swift-rings.txt
|
||||||
|
sudo swift-ring-builder /etc/swift/container.builder >> $LOG_DIR/swift-rings.txt
|
||||||
|
sudo swift-ring-builder /etc/swift/object.builder >> $LOG_DIR/swift-rings.txt
|
||||||
|
fi
|
||||||
|
|
||||||
# end of log capture
|
# end of log capture
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user