summaryrefslogtreecommitdiff
path: root/devstack
Commit message (Collapse)AuthorAgeFilesLines
* Fix gnocchi install from gitSean Mooney2023-02-034-4/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent changes to git prevent git repos from being parsed if they are not owned by the current user as part of a CVE fix. Some project use stevedore to load plugins and this is broken if gnocchi is installed from git via "sudo pip install". This change uses devstacks git_clone to ensure that the gnocchi repos is clonned under $DEST aka /opt/stack as the current user not root. It then uses pip install -e to install the precloned repo. To enable this GNOCCHI_REPO and GNOCCHI_BRANCH are intoduced and the non standard GNOCCHI_GIT_PATH is removed. A long standing comment to stop installing from git after Gnocchi 4.0 is adressed by only installing from git if gnocchi is listed in LIBS_FROM_GIT. However since 4.4.2 is currently incompatible with openstacks upper-constraits file the ci will continue to git however the git repo will now be prepared by zuul using required-projects. This will have the side effect of allowing Depends on to work for PRs to gnocchi however testing that is out of scope of this patch. This patch adds a sample local.conf that can be used to deploy locally for devopment. Depends-On: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/872350 Change-Id: I833ea3bffb18bec063423450be0f3b8ff92f9a5a
* Exclude metrics from "service" projectYadnesh Kulkarni2022-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | Upon installing ceilometer and gnocchi using devstack, "filter_project" in "pipeline.yaml" is set to "gnocchi_swift" project. However, no such project exists in keystone. ``` publishers: - gnocchi://?archive_policy=ceilometer-low&filter_project=gnocchi_swift ``` This change, will set "filter_project" to "service" project which will exclude all metrics from it. Also add the name of the project to the logs which couldn't be found in keystone. Closes-Bug: #1988923 Signed-off-by: Yadnesh Kulkarni <ykulkarn@redhat.com> Change-Id: Ifc215f86134729665c142bb9bf64f66ca8de2a29
* Do not install libvirt python bindings from pipTakashi Kajinami2021-08-161-3/+2
| | | | | | | | | | | | | | Since [1] was merged, devstack no longer installs libvirt python bindings from pip but use distro packages. This change removes the logic to install the python bindings using pip to follow that change in devstack, otherwise installation fails because of conflict between packages available in pip and one installed by distro packages. [1] https://review.opendev.org/c/openstack/devstack/+/798514 Closes-Bug: #1939990 Related-Bug: #1933096 Change-Id: I369a95cf30e91738d10ad2e5a3d5f6988bdd76cb
* Merge "Do not install libvirt-python on RHEL via pip"Zuul2021-08-121-1/+1
|\
| * Do not install libvirt-python on RHEL via pipMatthias Runge2021-08-111-1/+1
| | | | | | | | | | | | | | | | | | since that is already in place. Closes-Bug: #1896327 Depends-on: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/801038 Change-Id: Ic158561b3f4d8ddcc092f4e8da1b3215f976fc98
* | Gnocchi: replace deprecated [storage] coordination_urlTakashi Kajinami2021-07-061-1/+1
|/ | | | | | | | | [storage] coordination_url was deprecated since Gnocchi 4.1.0 and replaced by [DEFAULT] coordination_url[1]. [1] https://github.com/gnocchixyz/gnocchi/commit/70b9ca427 Change-Id: I7e271ca36216d10ce23942c06ae2f3575c00fdee
* Remove dependency to pankoMatthias Runge2021-05-181-12/+1
| | | | | | Panko is being deprecated and removed from OpenStack. Change-Id: I6948a965cba5e3bdba84edbbb49af279fd0310e5
* Revert "[goal] Migrate testing to ubuntu focal"Eyal2020-10-211-4/+0
| | | | | | | | This reverts commit 3bb7b71e1afb378d47b449e9ba8ff8f633abe7d9. https://github.com/gnocchixyz/gnocchi/issues/1069 was fixed Change-Id: I3277ed13b4b343c553a3c21eab2187bb8abd4251
* [goal] Migrate testing to ubuntu focalGhanshyam Mann2020-09-171-0/+4
| | | | | | | | | | | | | | | | | As per victoria cycle testing runtime and community goal[1] we need to migrate upstream CI/CD to Ubuntu Focal(20.04). Story: #2007865 Task: #40223 Use mariadb because myql has issue on Focal which need below issue fix to be released - https://github.com/gnocchixyz/gnocchi/issues/1069 Depends-On: https://review.opendev.org/#/c/734700/ [1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.html Change-Id: I42f104a924ea09ba13f12311dfdb2f79e0d2b78f
* Merge "Remove _ceilometer_check_for_storage check"Zuul2019-04-251-18/+0
|\
| * Remove _ceilometer_check_for_storage checkzhurong2019-04-221-18/+0
| | | | | | | | | | | | | | | | | | | | | | | | We can check from the history[0], actually it doesn't matter if gnocchi or panko is started first., so this check is unnecessary. Also when i want to migration using native zuulv3, the enabled plugins is in the alphabetical order, so this will caused can not install devstack correctly. [0]: https://review.opendev.org/#/c/387620 [1]: http://logs.openstack.org/99/651999/3/check/telemetry-integration-test/9066108/controller/logs/devstacklog.txt.gz#_2019-04-17_07_26_30_988 Change-Id: I5cbd93739f75b8141f8b79ae03bb8b99756b2a38
* | Merge "tempest: Allow to configure tempest config"Zuul2019-04-252-3/+6
|\ \
| * | tempest: Allow to configure tempest configzhurong2019-04-192-3/+6
| |/ | | | | | | Change-Id: Ied0822ee1031c399c7aa86482e8f570c48c3935e
* | Merge "Replace git.openstack.org URLs with opendev.org URLs"Zuul2019-04-223-6/+6
|\ \
| * | Replace git.openstack.org URLs with opendev.org URLsZhongShengping2019-04-223-6/+6
| |/ | | | | | | | | | | | | Thorough replacement of git.openstack.org URLs with their opendev.org counterparts. Change-Id: I4136406cd6c3e8dc3ac84ceeeed2aca011432272
* | Remove the unused function _ceilometer_config_apache_wsgizhurong2019-04-151-21/+0
|/ | | | | | | Since ceilometer api has removed, _ceilometer_config_apache_wsgi is the unsed function. Change-Id: I51cf3339c581a0de72181026960ad2c8587eb2b7
* Merge "Reduce the alarm_threshold value to make autoscaling test stable"Zuul2019-04-131-1/+1
|\
| * Reduce the alarm_threshold value to make autoscaling test stablezhurong2019-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | telemetry-dsvm-integration sometimes failed due to the alarm_threshold is too high[0], we can just deduce the alarm_threshold value to make test stable. [0]http://logs.openstack.org/62/643262/3/check/telemetry-dsvm-integration/9771ecc/logs/screen-aodh-evaluator.txt.gz#_Apr_11_15_36_33_279860 Change-Id: I63af7f6c804e123395b225244111543dedc67581
* | remove redundant lineEyal2019-04-121-1/+0
|/ | | | | | | get_apache_version function was removed local apache_version is not used anywhere Change-Id: Ib7c71aeda6023fcd587b180e4b1e209270528bf1
* Replace openstack.org git:// URLs with https://Ian Wienand2019-03-242-3/+3
| | | | | | | | | | | | | | | | | This is a mechanically generated change to replace openstack.org git:// URLs with https:// equivalents. This is in aid of a planned future move of the git hosting infrastructure to a self-hosted instance of gitea (https://gitea.io), which does not support the git wire protocol at this stage. This update should result in no functional change. For more information see the thread at http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html Change-Id: If416ba6fe80127f230cffed064da5837d021be80
* pipeline: remove transformer supportJulien Danjou2018-09-062-1/+8
| | | | | | | | | | | | Transformers cannot work correctly on multiple nodes without workload partitioning, which has been removed. The transformation of data is no more the responsability of Ceilometer. The data storage used by default (Gnocchi), is able to handle the scenario that Ceilometer covered by default such as computing the rate of a metric. Change-Id: If3683318b998a37c40bc09314dd8ab3eef326ba7 Depends-On: Ifd1d04ce813028f115c19bc983e7dd1e63c6f8a5 Depends-On: I0330c09d72c20d63d08770b52d3071512a418260
* notification: remove workload partitioningJulien Danjou2018-08-311-1/+0
| | | | | | | | Workload partitioning has been quite fragile and poorly performing so it's not advised to use it. It was useful for transformers: since transformers are going away too, let's simplify the code base and remove it Change-Id: Ief2f0e00d3c091f978084da153b0c76377772f28
* gnocchi: use ceilometer-low as default archive policyJulien Danjou2018-08-311-1/+1
| | | | | | Otherwise it's never used, at all. Change-Id: I68c29a9f9312300474d5e5e9c6944ce617bc1e3a
* Stop gnocchi during unstackPavlo Shchelokovskyy2018-04-181-2/+2
| | | | | | | since it is ceilometer's devstack plugin who enables/starts gnocchi services, it is appropriate to also stop them during unstack phase. Change-Id: I97747a98ddb139a6f89fa54b4d17e0ca1d1bdf62
* remove ceilometerclient referencesgord chung2018-02-121-4/+1
| | | | | | it's gone. Change-Id: Ibbe3f62714fa76e9b4338eeb507e35ad620208c8
* Remove use of unsupported TEMPEST_SERVICES variableghanshyam2018-01-231-3/+0
| | | | | | | | | | | | | | | | TEMPEST_SERVICES global variable is not supported by devstack since long back. - I380dd20e5ed716a0bdf92aa02c3730359b8136e4 - I9c24705e494689f09a885eb0a640efd50db33fcf Service availability of tempest known services will be set by devstack with local check. - I02be777bf93143d946ccbb8e9eff637bfd1928d4 This commit removes the unused TEMPEST_SERVICES setting Related-Bug: #1743688 Change-Id: I50bd32fc2103af0170ee8d350f31cf589d85422f
* devstack: fix gnocchi database setupMehdi Abaakouk2018-01-161-0/+6
| | | | | | | With postgresql, we must wait at least post-config to create the database. Change-Id: I72ce33828febb48136e239d0e70f07674aef9d4a
* Minor update comment of devstack settingsjing.liuqing2017-12-221-1/+1
| | | | Change-Id: I273b4bcf3897416ffa61cfc92369b475d29ea8fb
* Merge "devstack: redis on opensuse needs to have default config"Zuul2017-12-191-1/+8
|\
| * devstack: redis on opensuse needs to have default configSumit Jamgade2017-12-191-1/+8
| | | | | | | | | | | | | | this patch adds a default config and uses template version of unit-file to restart redis Change-Id: I3c3498f408ac832c50d8f0e1834247492570fd4c
* | remove ceilometerclientpangliye2017-12-041-13/+0
| | | | | | | | | | | | ceilometerclient is no longer maintained Change-Id: I73587e194341670951b7edb321d86af4f256cb27
* | Revert "devstack: Set an optimal processing queue"gordon chung2017-11-071-1/+0
| | | | | | | | | | | | | | | | | | | | This reverts commit f1bdf6751a503ee570ce114f9a31fdb2959a79d0. this causes distribution to be either 50/50 or 100/0. in the latter case, the single worker usually fails to process pipeline queues in a timely manner Change-Id: I7c34acb29290de641ccbef4844e1e6982fe8b173
* | Remove deprecated storage driversJulien Danjou2017-10-262-59/+2
| | | | | | | | Change-Id: I6b262dd440a72f25662b64d938ab9e5328709a97
* | Remove Ceilometer APIJulien Danjou2017-10-256-108/+6
| | | | | | | | | | | | This removes the deprecated Ceilometer API. Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
* | kill collectorgord chung2017-10-164-16/+7
| | | | | | | | Change-Id: I7720d20eab345a7835d57fac573332eca0e7d11e
* | Replace the Gnocchi dispatcher by a publisherJulien Danjou2017-10-131-7/+1
|/ | | | | | | This removes the deprecated Gnocchi dispatcher and replaces it by its equivalent publisher. Change-Id: Ie44baf20ccb8de5794f5f0c3d4717f7e56afa63b
* devstack: install ceilometer extraMehdi Abaakouk2017-10-051-1/+8
| | | | | Change-Id: I93ced9915e493f36fe3af42267a798b7ef30e40b Closes-bug: #1720120
* Set default ceilometer storage backend to gnocchiLingxian Kong2017-09-271-1/+1
| | | | | | | | The default storage backend is always set in ceilometer gate job, but it needs to be set to a sensible default value. Closes-Bug: #1707713 Change-Id: Ibe3939f114e843810a12c2f27c35a8a91dbce6ac
* use gnocchi devstack scriptgord chung2017-07-281-3/+3
| | | | | | | check to see if gnocchi enabled independently via enable_plugin. if so, let it do it's thing. Change-Id: Idabbf9b6e874875f8dd3bad52501966385823395
* Merge "fix service path for fedora"Jenkins2017-07-261-3/+3
|\
| * fix service path for fedoragord chung2017-06-141-3/+3
| | | | | | | | | | | | fedora uses /usr/bin and not /usr/local/bin Change-Id: I2fde1cb5a0ad0a44213e9959c9edcdeeac1445c5
* | Limit the default numbers of metrics polledJulien Danjou2017-07-111-1/+2
|/ | | | | | | | | | Enabling everything to be polled and transformed by default is quite heavy and can lead to a massive amount of unused metrics. Limit the default to a few metrics known to be actually useful to common deployers. We keep all pollsters enabled on unit tests and devstack. Change-Id: Ifb5aa684e575b7904726276b7205824f2dcaa7ce
* devstack: install Gnocchi using pipJulien Danjou2017-06-072-17/+76
| | | | | Depends-On: I7a7bc3deeadd094d7a42b47b16cde2e8a8805a24 Change-Id: I55193f2e39a41fe2bb378b4380f2ae52c5685c8d
* tempest: Allow to configure granularityMehdi Abaakouk2017-05-022-0/+5
| | | | Change-Id: I31344a9f8938ae9c7875cad76430508dd9fd4539
* Correct the configuration of pipeline_processing_queues in devstackliusheng2017-04-011-1/+1
| | | | | | | The [notification] section was missed in the configuration of devstack script. Change-Id: If955fad4d5c1ceede8a24cd135c6c7b3195be3cf Closes-Bug: #1678380
* Merge "remove ceilometer-collector condition when configuring storage"Jenkins2017-03-291-4/+7
|\
| * remove ceilometer-collector condition when configuring storagegord chung2017-03-101-4/+7
| | | | | | | | | | | | only the api really matter if we're storing in legacy storage. Change-Id: Id44face0c694f20d6c70bdbbf59cc32156fdd43f
* | Merge "cleanup unused devstack code"Jenkins2017-03-281-2/+0
|\ \
| * | cleanup unused devstack codegord chung2017-03-131-2/+0
| | | | | | | | | | | | | | | | | | - storage retries doesn't exist anymore Change-Id: I2708238a36c5e84f10bd039f930eca34c58f6d31
* | | Merge "start notification agent after restarting apache"Jenkins2017-03-281-2/+2
|\ \ \