Commit Graph

21 Commits

Author SHA1 Message Date
Pierre Riteau 31152e169d Fix Docker build
The default nodeset was just changed to focal [1], which in the absence
of the python-is-python3 package doesn't provide a python binary.

[1] https://review.opendev.org/c/opendev/base-jobs/+/789098

Change-Id: I2b208db2b7b34da034071a4fc0c5d49768b6dad3
2021-05-20 18:28:51 +02:00
Martin Chacon Piza 6569b1e944 Set legacy_kafka_client_enabled = False on default for Docker
We change the default value of kafka.legacy_kafka_client_enabled from
True to False. The use of new Confluent Kafka client is recommended.

Change-Id: I9c685dc3cfa4c6795c441ea37f86af9ad7451ee2
Story: 2006436
Task: 41151
2020-10-23 13:25:41 +02:00
Andreas Jaeger b306576d27 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, it's not needed
there.

Change-Id: Iadf750a1e6d3181b645ceccdf75cf910bc23adfd
2020-04-21 19:27:10 +02:00
Witek Bedyk a8b8d3efef Fix batch_size configuration option in Docker
The configuration option name for Kafka batch size (max. number of
messages before commiting them to Kafka broker) has been changed in
Queens release. The option passed to Docker image must reflect that.

Change-Id: Ib720c4d0358a5e67734fbc38d9a7d513e662d65f
Story: 2007225
Task: 38492
2020-01-28 10:09:24 +01:00
zhangjianweibj 53fd59fddd Support Kafka events enable option
Support Kakfa events enable option.This option alread suppprted
in monasca_persister/conf/kafka_events.py file.and described in
Readme file.

Change-Id: I3734e764debf13f8f86f8fcc031c2798e779056e
2019-11-08 15:52:14 +08:00
Zuul d0d28a87ae Merge "Support multiple kafka consumers" 2019-11-06 15:47:57 +00:00
zhangjianweibj ce964e4f8d Support multiple kafka consumers
We ues two monasca-persister components and two influxdb nodes.one
for collecting metrics and another for backup db.so kafka consumer
should hava different groupid option.

Change-Id: Iae25b34ea282fcc3e7cf01147fd3e9093ee9a8a0
2019-10-09 15:48:42 +08:00
zhangjianweibj e7956c9dfa Add option for kafka client
Add docker option for kafka client,enable confluent kafka or not.

Change-Id: Ib709bfaa8cc0f0fcebb191e6fc12e3cb888955a1
Task: 36351
Story: 2006436
2019-08-23 18:19:15 +08:00
zhangjianweibj cc27836cdc Support Kafka_events option in docker evn
Support kafka_events option in dockerfile.

Change-Id: Ie97cdef3f8314efea4292ea80c05a7dfea2bf609
Story: 2006138
Task: 35634
2019-08-14 12:38:42 +00:00
Zuul 53d289f10c Merge "Support cache_size option in docker env" 2019-07-04 15:13:05 +00:00
zhangjianweibj 1d58e986ba Support kafka num_processors option
Support kafka num_processors option in docker env.

Change-Id: I2e4135c928c50c6b3b331e385fccd0e0758fbf76
2019-07-01 09:40:38 +08:00
zhangjianweibj 3907142241 Support cache_size option in docker env
Add option cache_size which set maximum number of cached metric definition entries in memory.

Change-Id: I4aa834b2300262370aab07b29139feb73d4fe66d
2019-06-10 17:02:05 +08:00
zhulingjie 3aa33e62a3 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I66f8508ab8e29e189a16e7155caa21484486a825
2019-06-03 15:33:15 +02:00
Arseni Lipinski bfd5ce5c57 Fix app_repo in Docker with new git url
Story: 2005666
Task: 30969

Change-Id: Ifb696ed67670d6e96369c3d90512fd7e5aee51a1
2019-05-15 11:52:21 +00:00
Dobroslaw Zybort 650105fe16 Improve Docker README file
Change-Id: I208c4b4957a40616a9f66c74bcd307630747e1c9
2019-04-18 14:16:47 +02:00
Dobroslaw Zybort f911fb85a0 Add logging configuration to docker image
Story: 2005462
Task: 30536

Change-Id: I6cd41b442b052ef6df118ada6abaa4cc45795d49
2019-04-17 13:42:11 +02:00
zhangjianweibj 9900e18422 Docker support influxdb parse point error
Add option 'ignore_parse_point_error' for docker env. Refer(
github.com/openstack/monasca-persister/blob/master/
monasca_persister/conf/repositories.py).

Change-Id: Ia19c45a34c56dcb50d2a39cf42efc53f70a6c2db
2019-03-28 20:59:48 +08:00
Dobroslaw Zybort 4c96a96bf8 Fix config file in docker
Set all Cassandra environment variables to defaults.

Change-Id: I6b96d8bd435e8686d804dee7ba4d5a27c997def9
2019-03-26 14:41:17 +01:00
zhangjianweibj 2ae274853d persister support cassandra in docker env
at present,dockerfile not support cassandra as backend database.
so we add this feature.

Change-Id: I575c0169451ec3e19d2bfc26696b6648d92a35d3
2019-03-20 18:52:57 +08:00
Dobroslaw Zybort b91d3c7e97 Use global job for building docker image
Update build_image script to latest version.

Change-Id: I958e653d9ed267f3b9082800d27624cc7586912c
Story: 2001694
Task: 23215
2019-02-18 11:26:44 +01:00
Christian Brandstetter 55cd9984f2 Add tooling for building Docker image
Story: 2001694
Task: 23063

Change-Id: I5192adba0b815bc07db0498f170a0916009c5c40
2018-08-01 11:01:10 +02:00