Remove usage of deprecated auth_uri in swift proxy
auth_uri param is removed in favor of www_authenticate_uri in [1], this patch switch to it in swift proxy authtoken. Also remove usage of deprecated param 'auth_uri' in swift::proxy::ceilometer as its not used[2]. [1] https://review.opendev.org/#/c/725119/ [2] https://review.opendev.org/#/c/707748/ Change-Id: I76dbf86f37a2d2ac12b45d8a455fded5865b33e9
This commit is contained in:
@@ -11,7 +11,6 @@ class packstack::swift::ceilometer ()
|
|||||||
control_exchange => 'swift',
|
control_exchange => 'swift',
|
||||||
driver => 'messaging',
|
driver => 'messaging',
|
||||||
ignore_projects => ['service'],
|
ignore_projects => ['service'],
|
||||||
auth_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
|
|
||||||
auth_url => hiera('CONFIG_KEYSTONE_ADMIN_URL'),
|
auth_url => hiera('CONFIG_KEYSTONE_ADMIN_URL'),
|
||||||
password => hiera('CONFIG_SWIFT_KS_PW'),
|
password => hiera('CONFIG_SWIFT_KS_PW'),
|
||||||
}
|
}
|
||||||
|
@@ -93,12 +93,12 @@ class packstack::swift::proxy ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
class { '::swift::proxy::authtoken':
|
class { '::swift::proxy::authtoken':
|
||||||
username => 'swift',
|
username => 'swift',
|
||||||
project_name => 'services',
|
project_name => 'services',
|
||||||
password => hiera('CONFIG_SWIFT_KS_PW'),
|
password => hiera('CONFIG_SWIFT_KS_PW'),
|
||||||
# assume that the controller host is the swift api server
|
# assume that the controller host is the swift api server
|
||||||
auth_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
|
www_authenticate_uri => hiera('CONFIG_KEYSTONE_PUBLIC_URL'),
|
||||||
auth_url => hiera('CONFIG_KEYSTONE_ADMIN_URL'),
|
auth_url => hiera('CONFIG_KEYSTONE_ADMIN_URL'),
|
||||||
}
|
}
|
||||||
|
|
||||||
class { '::swift::objectexpirer': }
|
class { '::swift::objectexpirer': }
|
||||||
|
Reference in New Issue
Block a user