Merge "Move gnocchi and ceilometer static configs"
This commit is contained in:
commit
8dc5a888c5
|
@ -1106,6 +1106,45 @@ data:
|
||||||
anti:
|
anti:
|
||||||
type:
|
type:
|
||||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||||
|
gnocchi:
|
||||||
|
indexer:
|
||||||
|
driver: mariadb
|
||||||
|
keystone_authtoken:
|
||||||
|
interface: internal
|
||||||
|
dependencies:
|
||||||
|
static:
|
||||||
|
db_sync:
|
||||||
|
jobs:
|
||||||
|
- gnocchi-storage-init
|
||||||
|
- gnocchi-db-init
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
metricd:
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_cache
|
||||||
|
- endpoint: internal
|
||||||
|
service: metric
|
||||||
|
tests:
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: identity
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
- endpoint: internal
|
||||||
|
service: metric
|
||||||
|
manifests:
|
||||||
|
daemonset_statsd: false
|
||||||
|
job_db_init_indexer: false
|
||||||
|
secret_db_indexer: false
|
||||||
|
service_statsd: false
|
||||||
|
endpoints:
|
||||||
|
oslo_cache:
|
||||||
|
hosts:
|
||||||
|
default: memcached
|
||||||
source:
|
source:
|
||||||
type: tar
|
type: tar
|
||||||
location: http://172.17.0.1/helm_charts/gnocchi-0.1.0.tgz
|
location: http://172.17.0.1/helm_charts/gnocchi-0.1.0.tgz
|
||||||
|
@ -1269,6 +1308,8 @@ data:
|
||||||
oslo_messaging_notifications:
|
oslo_messaging_notifications:
|
||||||
topics:
|
topics:
|
||||||
- notifications
|
- notifications
|
||||||
|
notification:
|
||||||
|
batch_size: 100
|
||||||
pipeline:
|
pipeline:
|
||||||
sources:
|
sources:
|
||||||
- name: meter_source
|
- name: meter_source
|
||||||
|
|
|
@ -1106,6 +1106,45 @@ data:
|
||||||
anti:
|
anti:
|
||||||
type:
|
type:
|
||||||
default: requiredDuringSchedulingIgnoredDuringExecution
|
default: requiredDuringSchedulingIgnoredDuringExecution
|
||||||
|
gnocchi:
|
||||||
|
indexer:
|
||||||
|
driver: mariadb
|
||||||
|
keystone_authtoken:
|
||||||
|
interface: internal
|
||||||
|
dependencies:
|
||||||
|
static:
|
||||||
|
db_sync:
|
||||||
|
jobs:
|
||||||
|
- gnocchi-storage-init
|
||||||
|
- gnocchi-db-init
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
metricd:
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_cache
|
||||||
|
- endpoint: internal
|
||||||
|
service: metric
|
||||||
|
tests:
|
||||||
|
services:
|
||||||
|
- endpoint: internal
|
||||||
|
service: identity
|
||||||
|
- endpoint: internal
|
||||||
|
service: oslo_db
|
||||||
|
- endpoint: internal
|
||||||
|
service: metric
|
||||||
|
manifests:
|
||||||
|
daemonset_statsd: false
|
||||||
|
job_db_init_indexer: false
|
||||||
|
secret_db_indexer: false
|
||||||
|
service_statsd: false
|
||||||
|
endpoints:
|
||||||
|
oslo_cache:
|
||||||
|
hosts:
|
||||||
|
default: memcached
|
||||||
source:
|
source:
|
||||||
type: tar
|
type: tar
|
||||||
location: http://172.17.0.1/helm_charts/gnocchi-0.1.0.tgz
|
location: http://172.17.0.1/helm_charts/gnocchi-0.1.0.tgz
|
||||||
|
@ -1269,6 +1308,8 @@ data:
|
||||||
oslo_messaging_notifications:
|
oslo_messaging_notifications:
|
||||||
topics:
|
topics:
|
||||||
- notifications
|
- notifications
|
||||||
|
notification:
|
||||||
|
batch_size: 100
|
||||||
pipeline:
|
pipeline:
|
||||||
sources:
|
sources:
|
||||||
- name: meter_source
|
- name: meter_source
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 Wind River Systems, Inc.
|
# Copyright (c) 2018-2019 Wind River Systems, Inc.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
@ -112,19 +112,14 @@ class CeilometerHelm(openstack.OpenstackBaseHelm):
|
||||||
return shared_services_types
|
return shared_services_types
|
||||||
|
|
||||||
def _get_conf_ceilometer_notification_overrides(self):
|
def _get_conf_ceilometer_notification_overrides(self):
|
||||||
notification_overrides = {
|
|
||||||
'batch_size': 100
|
|
||||||
}
|
|
||||||
|
|
||||||
system = self._get_system()
|
system = self._get_system()
|
||||||
if system.system_type == constants.TIS_AIO_BUILD:
|
if system.system_type == constants.TIS_AIO_BUILD:
|
||||||
batch_timeout = 25
|
batch_timeout = 25
|
||||||
else:
|
else:
|
||||||
batch_timeout = 5
|
batch_timeout = 5
|
||||||
|
|
||||||
notification_overrides.update(
|
notification_overrides = {'batch_timeout': batch_timeout,
|
||||||
{'batch_timeout': batch_timeout,
|
'messaging_urls': {'values': self._get_notification_messaging_urls()}}
|
||||||
'messaging_urls': {'values': self._get_notification_messaging_urls()}})
|
|
||||||
return notification_overrides
|
return notification_overrides
|
||||||
|
|
||||||
def _get_notification_messaging_urls(self):
|
def _get_notification_messaging_urls(self):
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 Wind River Systems, Inc.
|
# Copyright (c) 2018-2019 Wind River Systems, Inc.
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: Apache-2.0
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
#
|
#
|
||||||
|
@ -26,11 +26,6 @@ class GnocchiHelm(openstack.OpenstackBaseHelm):
|
||||||
common.HELM_NS_OPENSTACK: {
|
common.HELM_NS_OPENSTACK: {
|
||||||
'images': self._get_images_overrides(),
|
'images': self._get_images_overrides(),
|
||||||
'pod': self._get_pod_overrides(),
|
'pod': self._get_pod_overrides(),
|
||||||
'conf': self._get_conf_overrides(),
|
|
||||||
'dependencies': {
|
|
||||||
'static': self._get_static_dependencies_overrides()
|
|
||||||
},
|
|
||||||
'manifests': self._get_manifests_overrides(),
|
|
||||||
'endpoints': self._get_endpoints_overrides(),
|
'endpoints': self._get_endpoints_overrides(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -68,53 +63,6 @@ class GnocchiHelm(openstack.OpenstackBaseHelm):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
def _get_static_dependencies_overrides(self):
|
|
||||||
return {
|
|
||||||
'db_sync': {
|
|
||||||
'jobs': [
|
|
||||||
'gnocchi-storage-init',
|
|
||||||
'gnocchi-db-init',
|
|
||||||
],
|
|
||||||
'services': [
|
|
||||||
{'endpoint': 'internal', 'service': 'oslo_db'}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
'metricd': {
|
|
||||||
'services': [
|
|
||||||
{'endpoint': 'internal', 'service': 'oslo_db'},
|
|
||||||
{'endpoint': 'internal', 'service': 'oslo_cache'},
|
|
||||||
{'endpoint': 'internal', 'service': 'metric'}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
'tests': {
|
|
||||||
'services': [
|
|
||||||
{'endpoint': 'internal', 'service': 'identity'},
|
|
||||||
{'endpoint': 'internal', 'service': 'oslo_db'},
|
|
||||||
{'endpoint': 'internal', 'service': 'metric'}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def _get_manifests_overrides(self):
|
|
||||||
return {
|
|
||||||
'daemonset_statsd': False,
|
|
||||||
'service_statsd': False,
|
|
||||||
'job_db_init_indexer': False,
|
|
||||||
'secret_db_indexer': False,
|
|
||||||
}
|
|
||||||
|
|
||||||
def _get_conf_overrides(self):
|
|
||||||
return {
|
|
||||||
'gnocchi': {
|
|
||||||
'indexer': {
|
|
||||||
'driver': 'mariadb'
|
|
||||||
},
|
|
||||||
'keystone_authtoken': {
|
|
||||||
'interface': 'internal'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
def _get_endpoints_overrides(self):
|
def _get_endpoints_overrides(self):
|
||||||
return {
|
return {
|
||||||
'identity': {
|
'identity': {
|
||||||
|
@ -125,9 +73,6 @@ class GnocchiHelm(openstack.OpenstackBaseHelm):
|
||||||
'auth': {
|
'auth': {
|
||||||
'memcached_secret_key':
|
'memcached_secret_key':
|
||||||
self._get_common_password('auth_memcache_key')
|
self._get_common_password('auth_memcache_key')
|
||||||
},
|
|
||||||
'hosts': {
|
|
||||||
'default': 'memcached'
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
'oslo_db': {
|
'oslo_db': {
|
||||||
|
|
Loading…
Reference in New Issue