Add missing swift configuration
Swift service is already included in undercloud but doesn't work properly - missing endpoint, misconfigured swift-proxy service. This patch fixes the issues. Swift is needed by Heat for using "tempurl" signallig. Change-Id: I8676423684080e1281da1089449a177e80939d4e
This commit is contained in:
parent
9c2462c222
commit
e131b46f4b
@ -198,6 +198,7 @@ class { 'neutron::agents::ml2::ovs':
|
||||
# swift proxy
|
||||
include ::memcached
|
||||
include ::swift::proxy
|
||||
include ::swift::ringbuilder
|
||||
include ::swift::proxy::proxy_logging
|
||||
include ::swift::proxy::healthcheck
|
||||
include ::swift::proxy::cache
|
||||
@ -227,6 +228,20 @@ $swift_components = ['account', 'container', 'object']
|
||||
swift::storage::filter::recon { $swift_components : }
|
||||
swift::storage::filter::healthcheck { $swift_components : }
|
||||
|
||||
$controller_host = hiera('controller_host')
|
||||
@@ring_object_device { "${controller_host}:6000/1":
|
||||
zone => 1,
|
||||
weight => 1,
|
||||
}
|
||||
@@ring_container_device { "${controller_host}:6001/1":
|
||||
zone => 1,
|
||||
weight => 1,
|
||||
}
|
||||
@@ring_account_device { "${controller_host}:6002/1":
|
||||
zone => 1,
|
||||
weight => 1,
|
||||
}
|
||||
|
||||
# Ceilometer
|
||||
include ::ceilometer
|
||||
include ::ceilometer::api
|
||||
|
@ -53,7 +53,8 @@ ENDPOINT_LIST="--glance-password $UNDERCLOUD_GLANCE_PASSWORD
|
||||
--nova-password $UNDERCLOUD_NOVA_PASSWORD
|
||||
--tuskar-password $UNDERCLOUD_TUSKAR_PASSWORD
|
||||
--ironic-password $UNDERCLOUD_IRONIC_PASSWORD
|
||||
--ceilometer-password $UNDERCLOUD_CEILOMETER_PASSWORD"
|
||||
--ceilometer-password $UNDERCLOUD_CEILOMETER_PASSWORD
|
||||
--swift-password $UNDERCLOUD_SWIFT_PASSWORD"
|
||||
|
||||
REGISTER_SERVICE_OPTS=
|
||||
|
||||
|
@ -44,6 +44,7 @@ export UNDERCLOUD_NEUTRON_PASSWORD=${UNDERCLOUD_NEUTRON_PASSWORD:-$(tripleo os-m
|
||||
export UNDERCLOUD_NOVA_PASSWORD=${UNDERCLOUD_NOVA_PASSWORD:-$(tripleo os-make-password)}
|
||||
export UNDERCLOUD_IRONIC_PASSWORD=${UNDERCLOUD_IRONIC_PASSWORD:-$(tripleo os-make-password)}
|
||||
export UNDERCLOUD_TUSKAR_PASSWORD=${UNDERCLOUD_TUSKAR_PASSWORD:-$(tripleo os-make-password)}
|
||||
export UNDERCLOUD_SWIFT_PASSWORD=${UNDERCLOUD_SWIFT_PASSWORD:-$(tripleo os-make-password)}
|
||||
|
||||
if [ -z "$INSTACK_ROOT" ]; then
|
||||
sudo -E /usr/share/instack-undercloud/undercloud-stack-config/install.d/02-undercloud-stack-heat-metadata
|
||||
|
Loading…
Reference in New Issue
Block a user