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 a95efab
Browse filesBrowse the repository at this point in the historyBrowse files
# swift-init has a bug using /etc/swift until bug #885595 is fixed
987
996
# we have to create a link
@@ -1022,7 +1031,7 @@ if is_service_enabled swift; then
1022
1031
local log_facility=$3
1023
1032
local node_number
1024
1033
1025
-
fornode_numberin{1..4};do
1034
+
fornode_numberin$(seq ${SWIFT_REPLICAS});do
1026
1035
node_path=${SWIFT_DATA_LOCATION}/${node_number}
1027
1036
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}," \
@@ -1045,29 +1054,48 @@ if is_service_enabled swift; then
1045
1054
tee /etc/rsyslog.d/10-swift.conf
1046
1055
sudo restart rsyslog
1047
1056
1048
-
# We create two helper scripts :
1049
-
#
1050
-
# - swift-remakerings
1051
-
# Allow to recreate rings from scratch.
1052
-
# - swift-startmain
1053
-
# Restart your full cluster.
1054
-
#
1055
-
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