You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 6296a16
Browse filesBrowse the repository at this point in the historyBrowse files
# swift-init has a bug using /etc/swift until bug #885595 is fixed
988
997
# we have to create a link
@@ -1023,7 +1032,7 @@ if is_service_enabled swift; then
1023
1032
local log_facility=$3
1024
1033
local node_number
1025
1034
1026
-
fornode_numberin{1..4};do
1035
+
fornode_numberin$(seq ${SWIFT_REPLICAS});do
1027
1036
node_path=${SWIFT_DATA_LOCATION}/${node_number}
1028
1037
sed -e "s,%SWIFT_CONFIG_LOCATION%,${SWIFT_CONFIG_LOCATION},;s,%USER%,$USER,;s,%NODE_PATH%,${node_path},;s,%BIND_PORT%,${bind_port},;s,%LOG_FACILITY%,${log_facility}," \
@@ -1046,29 +1055,48 @@ if is_service_enabled swift; then
1046
1055
tee /etc/rsyslog.d/10-swift.conf
1047
1056
sudo restart rsyslog
1048
1057
1049
-
# We create two helper scripts :
1050
-
#
1051
-
# - swift-remakerings
1052
-
# Allow to recreate rings from scratch.
1053
-
# - swift-startmain
1054
-
# Restart your full cluster.
1055
-
#
1056
-
sed -e "s,%SWIFT_CONFIG_LOCATION%,${SWIFT_CONFIG_LOCATION},;s/%SWIFT_PARTITION_POWER_SIZE%/$SWIFT_PARTITION_POWER_SIZE/"$FILES/swift/swift-remakerings | \
0 commit comments