Commit Graph

23 Commits

Author SHA1 Message Date
Hasan Acar a24fd834d0 fix: migrate CI to jammy
fix: change tox.ini

fix: change queries for list_dimension_names and list_dimension_values because of influxdb time filter problem

fix: remove build_sphinx group from setup.cfg

fix: handle hashlib security problem

Change-Id: I0d31a8db5ed71c70e7b878ce5e7940e041d0fa43

Change-Id: I6f7066da10e834550cbf0c053c7bf425ac0ead93

Change-Id: If9575aee73d600bbc84fcdf58deb1c57b508d9c2

Change-Id: If515eaeee7539da3ca49997e88785dc65572b334
2024-02-22 14:35:03 +00:00
Pierre Riteau 5b2af7db13 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.

Enable again the docker-build and docker-publish Zuul jobs.

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

Change-Id: Ic78169052517701b235e906852923388d93776e8
2021-06-07 13:12:36 +02:00
Ghanshyam Mann dea6f95c15 [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:

1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.

2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.

Also replace policy.json to policy.yaml ref from doc and tests.

[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html

Change-Id: Ibfb162f88cb04c0b2af3fbf41cfcd96bc7e351be
2021-02-02 14:36:06 +00:00
Zuul 39abe6cdc8 Merge "Add option to choose Kafka client in Docker" 2020-10-23 14:49:04 +00:00
Adrian Czarnecki 654d01c9c9 Update gevent version to 1.5.0
Change-Id: I6aca14f9862237691bd87cf135c50dc379e33bdb
2020-10-23 10:26:21 +00:00
Martin Chacon Piza ef433f084c Add option to choose Kafka client in Docker
- Add docker option to choose confluent-kafka or legacy kafka.
- Set confluent-kafka as default.

Change-Id: I5464f999ace16d9093e90e7ce7204406131bdf15
Story: 2006436
Task: 41145
2020-10-23 12:14:14 +02:00
Andreas Jaeger abad342eb2 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Remove hacking and friends from lower-constraints, they are not needed
there at all.

Change-Id: I35d848e9af297d3561ea2838a4808166d1c36601
2020-04-22 07:37:55 +00:00
Adrian Czarnecki b6eeb9a391 Adjust docker image to support new configuration option
Add option that allow to disable/enable log and metric part

Change-Id: I07fa8ec983a9720b600470f6538cd50141726d85
2019-12-09 13:55:30 +01:00
zhangjianweibj 3064898685 Support cassandra connection timeout option
Support cassandra connection timeout option in Dockerfile.

Change-Id: Ib9045b9cb81472beb044960fcb3d4e109a4d187c
2019-08-20 11:48:39 +00:00
Shubham82 6cc6c9ba4f Switch python3 versions of test jobs to match Train PTI
In Train, we will use python 3.6 and 3.7 for python3 runtime
in our gate jobs [1]. This commit also adds python 3.7.
In Python3.7 async is a reserved keyword so replacing it with is_async.

[1] https://governance.openstack.org/tc/reference/runtimes/train.html

Change-Id: I05f40c4a9304cad551cefd4f10c3ba9a72d69a6f
2019-07-26 14:31:42 +05:30
Zuul 936c50861e Merge "Change repository links usage in Dockerfile and build image" 2019-05-30 09:13:30 +00:00
Arseni Lipinski 54d7da3446 Change repository links usage in Dockerfile and build image
Used to be: git.openstack.org/openstack/monasca-persister?h=stable/pike
Now : opendev.org/openstack/monasca-persister/src/branch/stable/pike

Since the way links to specific branches changed, usage of
those links has to be changed as well.
CONSTRAINTS_BRANCH variable was removed because CONSTRAINTS_FILE
contains link to the upper-requirements file with specified branch.

Story: 2005666
Task: 30967
Depends-On: https://review.opendev.org/#/c/659073/
Change-Id: I444e7c43ab52206d433cb20339ddf0caecaba61a
2019-05-30 06:43:20 +00:00
zhangjianweibj f39b1d9b53 Fix mysql connection error in docker env
Fix mysql connection bug.Support mysql connection port option.

Change-Id: Ifca5768d271a9a074e23aa60721cd9cbca107688
2019-05-30 06:42:42 +00:00
Zuul bd6d88b10e Merge "Improve Docker README file" 2019-04-18 14:22:26 +00:00
Dobroslaw Zybort 22ae276697 Improve Docker README file
Change-Id: I1a10cb9ddba8619127b4c862570c6badf2d00ca8
2019-04-18 14:13:25 +02:00
zhangjianweibj 8369c5c259 Docker support cassandra keyspace option
Support user configure cassandra keyspace.

Story: 2005472
Task: 30553

Change-Id: Ifd1e6787825f79c8854ea3f771a45324e89b8e6f
2019-04-17 11:54:25 +00:00
zhangjianweibj b13f2c4239 cassandra docker support
support docker environment,user can config cassandra option
through docker env.

Change-Id: I31dfd5eecb34badaffbb9983fa1455d5d9660cd6
2019-04-11 16:17:38 +08:00
zhangjianweibj 2b3ff63ac5 Keystone region name option redefined
Keystone region name defined at line 489 and line 558.Reduce a
redundant one.

Change-Id: Ic358963ecb09b6c2cb2ab6ba7ee8179a22188a21
2019-04-11 09:01:11 +08:00
zhangjianweibj 8a4f20dc97 Keystone region name support
Support keystone section config region_name option.
Task: 30252
Story: 2005324

Change-Id: I0618729f8b37cd37b72e665a2e8156067ec2ae11
2019-03-29 11:04:53 +08:00
Dobroslaw Zybort 189056a501 Update default docker monasca-api conf
Synchronise with default output from tox genconfig. Bring improvements
from monasca/monasca-docker repository.

Change-Id: I134a55610abe0cabc31881cee7c22b705d9e40ff
2019-02-21 09:46:35 +01:00
Dobroslaw Zybort e6b9af00ac Use global job for building docker image
Story: 2001694
Task: 24234

Change-Id: Ic84c66f239ae09e84eb76fb6a9385b7713876989
Depends-On: https://review.openstack.org/#/c/632087/
2019-02-11 15:54:51 +01:00
Thomas Bechtold 96e13dad75 Replace api-config.conf with monasca-api.conf
api-config.conf is the deprecated path for the configuration file. The
new path is /etc/monasca/monasca-api.conf .

Story: 2004708
Task: 28987

Change-Id: If06d9114529c3ef4520247dfc7c32d3769f07084
2019-01-19 12:15:22 +01:00
Christian Brandstetter c8116864a1 Add tooling for building Docker image
Change-Id: I5398a5f38525eabce8b8cf4d686ae68c666a6d00
Story: 2001694
Task: 24231
2018-10-09 10:47:15 +02:00