summaryrefslogtreecommitdiff
path: root/devstack/settings
Commit message (Collapse)AuthorAgeFilesLines
* Fix gnocchi install from gitSean Mooney2023-02-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* 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
* | tempest: Allow to configure tempest configzhurong2019-04-191-0/+3
|/ | | | Change-Id: Ied0822ee1031c399c7aa86482e8f570c48c3935e
* pipeline: remove transformer supportJulien Danjou2018-09-061-1/+5
| | | | | | | | | | | | 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
* gnocchi: use ceilometer-low as default archive policyJulien Danjou2018-08-311-1/+1
| | | | | | Otherwise it's never used, at all. Change-Id: I68c29a9f9312300474d5e5e9c6944ce617bc1e3a
* 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
* Minor update comment of devstack settingsjing.liuqing2017-12-221-1/+1
| | | | Change-Id: I273b4bcf3897416ffa61cfc92369b475d29ea8fb
* Remove Ceilometer APIJulien Danjou2017-10-251-10/+1
| | | | | | This removes the deprecated Ceilometer API. Change-Id: I752b36b3dfe8f935b68c4d3d59ccb5b8b60c582f
* 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
* devstack: install Gnocchi using pipJulien Danjou2017-06-071-12/+15
| | | | | Depends-On: I7a7bc3deeadd094d7a42b47b16cde2e8a8805a24 Change-Id: I55193f2e39a41fe2bb378b4380f2ae52c5685c8d
* tempest: Allow to configure granularityMehdi Abaakouk2017-05-021-0/+3
| | | | Change-Id: I31344a9f8938ae9c7875cad76430508dd9fd4539
* Deprecate collectorHanxi Liu2017-02-091-2/+0
| | | | | | | | | | | | | | To optimise performance, We have to update ceilometer architecture. The most important step is to deprecate collector. From now on, we can configure multiple publishers in pipeline for pushing data to internal or external system. Highlight using multiple dispatchers. Change pipeline publisher and disable ceilometer-collector by default. Co-Authored-By: gordon chung <gord@live.ca> Change-Id: I25a6e0b9221844adb4412f1829d9e290b6e198a3
* Merge "devstack: check for ceilometer+panko service"Jenkins2017-01-041-5/+17
|\
| * devstack: check for ceilometer+panko serviceHanxi Liu2017-01-041-5/+17
| | | | | | | | | | | | | | | | Make sure panko is enabled before ceilometer in case potential issues occur. Change-Id: I7d27f6188557249789193cbb3a1928a2d7ee84b4 Partial-Bug: #1633592
* | simplify fail gnochi+ceilometer checkgord chung2016-12-201-2/+2
|/ | | | | | | for some reason existing logic fails on my machine. seems similar to just have conditions part of conditional branch. Change-Id: Ia73d0d423698b521df9912c2c3411c7c39b6c0fa
* Merge "Make sure gnocchi is enabled before ceilometer"Jenkins2016-12-201-0/+18
|\
| * Make sure gnocchi is enabled before ceilometerLianhao Lu2016-12-141-0/+18
| | | | | | | | | | | | | | | | Ceilometer upgrade will contact gnocchi so we must make sure gnocchi is enabled before ceilometer in devstack. Change-Id: I876b6b7551b00991685c3f9dee7610668b8a8864 Closes-Bug: #1649259
* | devstack: Don't enable api by defaultMehdi Abaakouk2016-12-131-2/+3
|/ | | | Change-Id: Id53007370763ca1499202835d1be322842a29254
* devstack: allow to configure not backendMehdi Abaakouk2016-11-041-2/+2
| | | | | | | | | | This change allows to configure ceilometer with no backend. For example if we want to use only panko. This also change the default backend to this one since mysql is not recommanded. Change-Id: Ie85d7fa5476fc68a0a867072517191ae6ed7aad7
* Remove store_events optionsJulien Danjou2016-09-131-1/+0
| | | | | | | | | | | | | | The current option is misnamed, as it does not enable any storing but just the processing of events from the notification agent to the collector. This means that even if you set event_dispatchers=panko and forget to set store_events=true, nothing will happen. This patch enable the event processing as soon as something is configured in the pipeline. Change-Id: I5a906684f6371b0548ac08cacc13aa238f780f78
* Merge "devstack: allow ceilometer-api and keystone to run on different hosts"Jenkins2016-07-061-1/+1
|\
| * devstack: allow ceilometer-api and keystone to run on different hostsLianhao Lu2016-03-231-1/+1
| | | | | | | | | | | | | | | | User now can specify CEILOMETER_SERVICE_HOST to a different host so ceilometer-api and keystone can run on different machines. Also create keystone accounts in post-config phase, by following gnocchi convention. Change-Id: Ide55f9e07d4d94e900a3596922da4c40eca8ec3c
* | [Trivial] Remove CEILOMETER_API_LOG_DIR option for devstackZhiQiang Fan2016-04-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option is used for ceilometer-api when CEILOMETER_USE_MOD_WSGI=False, and create a dedicate directory for ceilometer-api log. However, there is no such need, because for such case, ceilometer-api is just a normal process like ceilometer-polling. We should let oslo.log decide where to store the log, image that user configures a path and we override in installation process, then he needs to hack into screenrc to adjust the path, it is not friendly. Here I propose to put the api log files in same directory as ceilometer-polling, by default, it will be /opt/stack/logs. Change-Id: Icca16dbef53929686950a72b40b2544f45f4afdd
* | Disable ceilometer-aipmi by default for devstackDrew Thorstensen2016-03-311-2/+2
|/ | | | | | | | | | Due to change https://review.openstack.org/#/c/295011/ the ceiloemter-polling --polling-namespaces ipmi polling agent no longer works by default. This change set updates Ceilometer's devstack plugin to disable that for standard stacks. Change-Id: If445953e7ce2090632fe428c0ddd03f9cc6dedc6 Closes-Bug: 1564176
* enable notification agent partitioninggordon chung2016-01-261-1/+1
| | | | | | | we should just enable this so we can at least catch major major breakage. Change-Id: Ib49257ac45c9baef997e24f5ae3327f951b97e2b
* devstack: add support for Gnocchi backendJulien Danjou2016-01-181-0/+3
| | | | Change-Id: Ie5beee502ab07e4fca3353dae03c2f1f524a48c7
* Revert "Revert "devstack config for dogpile cache""gordon chung2015-12-151-0/+5
| | | | | | | | This reverts commit a0bb0f16b1fd9785ceb5a8dc933ba2bcae54412a. Closes-Bug: #1519477 Co-Authored-By: Chris Dent <cdent@anticdent.org> Change-Id: I34aa352c39d80692d7c3aa71eb108f0257d36484
* Merge "Revert "devstack config for dogpile cache""Jenkins2015-11-271-5/+0
|\
| * Revert "devstack config for dogpile cache"gordon chung2015-11-271-5/+0
| | | | | | | | | | | | | | This reverts commit 5bcd6469d39dc5d9ad2176ab5ee297818d6a091e. i think this is making the gate fail quite hard. let's temporarily revert it. Change-Id: I3fc8d4e9f79f2fde4fbc3b6b82e349f670926965
* | Merge "devstack config for dogpile cache"Jenkins2015-11-271-0/+5
|\ \ | |/
| * devstack config for dogpile cacheChris Dent2015-11-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Cause devstack to configuration a [cache] section in ceilometer.conf if CEILOMETER_CACHE_BACKEND is set. Currently set to default to using dogpile.cache.redis and a redis server on localhost. This options are not sufficient for generic use as the "backend_argument"s are not controlled. For general use it is probably best that tools just modify their local.conf to post config ceilometer.conf. Change-Id: I058e60f9440350f80262039171716a3ceb4dec62
* | Remove alarming codeJulien Danjou2015-11-241-2/+0
|/ | | | | | | | | Since we moved all the alarming code and subsystem to the Aodh project, remove it from Ceilometer. Depends-On: I3983128d2d964b0f1f3326948b27f5d94df65a04 Depends-On: I99c9f2be0bbc70f289da5c2ba22698b8b7dc4495 Change-Id: Id169a914c1d1f2f5ad03ebb515d3d052204d5c5c
* Add missing ceilometerclient repo locationMehdi Abaakouk2015-10-061-0/+2
| | | | Change-Id: I7cbe0afa12c9d11ce2eaed1f4d29f41507e273f8
* devstack: add new option to support event-alarmRyota MIBU2015-09-031-0/+2
| | | | Change-Id: I71c11f3c57e4a055893a80083ce472cc92e27fb9
* Create a devstack plugin for ceilometerChris Dent2015-06-291-0/+48
This is mostly a straight port of devstack:lib/ceilometer with some minor cleanups in the code. Notable changes include: * default values are moved to devstack/settings * all services provided by ceilometer are turned on by default, use disable_service to turn them off * mongod smallfiles is no longer used as it is not (apparently) used with deb-based installs and there's a lot of water under the bridge since then, so let's remove the complexity * config handling is broken down into smaller sub-functions * explicitly require python redis driver if needed, otherwise it will not be available in a virtualenv * install_ceilometermiddleware is not included, it is moved to lib/swift Change-Id: If36faa72b8c8d0f58a4ab5d02ed9cf92de3583b7