Browse code

Change the default bind_port for swift

The default bind_port (6011-6013) in the sample config files for swift
use port numbers that are in the range registered by X11 (6000-6063) and
can prevent swift from starting if the ports are in use.

We should use an unregistered range (6611-6613).

Change-Id: Ifd95b99004aead5ddc8ae1a8dd3ccd9c4f2abe91
Closes-Bug: #1254328

Denis Afonso authored on 2015/10/03 12:51:41
Showing 1 changed files
... ...
@@ -130,9 +130,9 @@ SWIFT_MAX_HEADER_SIZE=${SWIFT_MAX_HEADER_SIZE:-16384}
130 130
 # Port bases used in port number calclution for the service "nodes"
131 131
 # The specified port number will be used, the additinal ports calculated by
132 132
 # base_port + node_num * 10
133
-OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6013}
134
-CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6011}
135
-ACCOUNT_PORT_BASE=${ACCOUNT_PORT_BASE:-6012}
133
+OBJECT_PORT_BASE=${OBJECT_PORT_BASE:-6613}
134
+CONTAINER_PORT_BASE=${CONTAINER_PORT_BASE:-6611}
135
+ACCOUNT_PORT_BASE=${ACCOUNT_PORT_BASE:-6612}
136 136
 
137 137
 # Enable tempurl feature
138 138
 SWIFT_ENABLE_TEMPURLS=${SWIFT_ENABLE_TEMPURLS:-False}