Issue warning when old Swift ports are used
https://bugs.launchpad.net/swift/+bug/1521339 changed the default ports from 6000-6002 to 6200-6202 so as not to conflict with X or other services. This patch is to prepare operators for the eventual change of the default values. Change-Id: I84501747af7b3ab46c22f1d76adfe3c629144378
This commit is contained in:
@@ -125,6 +125,18 @@ class swift::storage::all(
|
||||
|
||||
include ::swift::deps
|
||||
|
||||
if ($object_port == '6000') {
|
||||
warning('The default port for the object storage server has changed from 6000 to 6200 and will be changed in a later release')
|
||||
}
|
||||
|
||||
if ($container_port == '6001') {
|
||||
warning('The default port for the container storage server has changed from 6001 to 6201 and will be changed in a later release')
|
||||
}
|
||||
|
||||
if ($account_port == '6002') {
|
||||
warning('The default port for the account storage server has changed from 6002 to 6202 and will be changed in a later release')
|
||||
}
|
||||
|
||||
class { '::swift::storage':
|
||||
storage_local_net_ip => $storage_local_net_ip,
|
||||
}
|
||||
|
@@ -0,0 +1,8 @@
|
||||
---
|
||||
features:
|
||||
- Adds a warning when ports 6000-6002 are used for object, container,
|
||||
and/or account storage servers. LP#1521339
|
||||
upgrade:
|
||||
- Operators shoud prepare for the port change by specifying ports for the
|
||||
object storage server, container storage server, and account storage
|
||||
server.
|
Reference in New Issue
Block a user