Commit Graph

67 Commits

Author SHA1 Message Date
Jaromir Wysoglad 16ea9ee168 Add GITREPO for aodhclient
Calling git_clone_by_name without the GITREPO set doesn't work
correctly.

Change-Id: I449189431564b983f044c3a2bca2407f5a1a11c1
2024-01-04 08:44:15 -05:00
Takashi Kajinami a55d9620e9 Use devstack helper for installation
... to make sure the destination is selected according to some
environment variables in devstack.

Change-Id: I1de8dbf693a7109b4fcceea98eab9f0782f7bd4a
2023-09-22 13:14:13 +00:00
Eyal 857e5a19dc Remove deprecated tail_log function
This function has been deprecated for a long time, let's finally
remove it. It is only generating a warning anyway.

Depends-On: https://review.opendev.org/c/openstack/panko/+/763941
Change-Id: I02372642b94ef508aed28942fe49a09f3ad35728
2020-11-24 09:00:37 +00:00
Rabi Mishra 8635b67777 Use SETUPTOOLS_USE_DISTUTILS=stdlib for global pip installs
A new setuptools release has changed the way pip installs are done,
see [0]. With this change we switch back to using the distro
method for global pip installs.

This patch also disables including aodh.conf sample to fix
PDF build. This follows the same pattern like in
https://review.opendev.org/#/c/737230/

[0] http://lists.openstack.org/pipermail/openstack-discuss/2020-August/016905.html

Depends-On: https://review.opendev.org/749543
Change-Id: Ied9bf958c6b19e5a25224b7a63ef8756ecd56666
2020-09-03 08:34:44 +02:00
ZhongShengping 65eb29477b Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I5adbc8490a6ab23d080e60b813febd1334f3f4e0
2019-04-22 14:20:45 +08:00
ghanshyam 0e40e57c1a Set Tempest's service_availability setting for Aodh
Tempest's service_available config option includes all the service
availability which is further used by tests to take decision of skip
or run the test.

For example, [service_available].aodh is true then, aodh test will run
or if [service_available].aodh is false then, all aodh related tests either
in telemetry tempest plugin or any other plugins will be skipped.

This commit add the setting of aodh service[1] on aodh devstack plugin.

Closes-Bug: #1743688
[1] https://github.com/openstack/telemetry-tempest-plugin/blob/master/telemetry_tempest_plugin/config.py#L27

Change-Id: Idac9f38aac6964ce4d40b6afccbd9dfbf6e16a41
2019-04-14 13:01:41 +00:00
Zuul e703110c48 Merge "Replace openstack.org git:// URLs with https://" 2019-04-03 20:52:38 +00:00
Ian Wienand 9021d6f1a9 Replace openstack.org git:// URLs with https://
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: Ie1e19ff80f313a92536e1f2fd656f02135b5f670
2019-03-24 20:32:39 +00:00
Eyal 71f1a6c8bb remove redundant line
get_apache_version function was removed
local apache_version is not used anywhere

Change-Id: I5ac8974b903a4b8c113fb036efbd2aa49f0b77b8
2019-01-07 17:11:36 +02:00
ghanshyam f9d322ea9e Remove use of unsupported TEMPEST_SERVICES variable
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: I753390dd237dd5091025d7fea8f6153fc5362a0f
2018-01-25 02:38:08 +00:00
Mehdi Abaakouk ce21543a5f tempest: use new plugin + tripleo to experimental
This change uses the new telemetry integration plugin
and move the tripleo jobs to experimental

Depends-On: I72ce33828febb48136e239d0e70f07674aef9d4a
Change-Id: Ie29449e64b6745707ea8593bd716f6104f4882bf
2018-01-16 11:00:23 +01:00
Julien Danjou e11d5f0f00 Add `aodh-config-generator' tool to generate sample configuration file
This makes sure our etc/ folder is now empty by default.

Change-Id: I2b9059449ae50b9440f712e064937e2191e25a8f
2017-05-02 14:23:25 +02:00
Julien Danjou b0c91f9267 Move policy.json out of etc
Change-Id: I94c5b0f21e28eeaf8d87d33fa59e1e3a26c32a51
2017-01-19 14:59:35 +01:00
Julien Danjou 7b0435a706 Move api-paste file to common code location
Change-Id: I33c8055245de5821fd8a605d4ea6bf388a01637e
2017-01-17 20:01:31 +01:00
Yarko Tymciurak 57e79667d9 Simple pip install fails for python3
uses: new python preferred method of calling the pip module directly
attempts: to clean up (by invitation) an attempt at this by dims
When USE_PYTHON3 is specified, run the pip module for aodh installation
from the correct python version, as shown in the documentation since
python3.4 (it works with all current versions of python2 and python3).
https://docs.python.org/3.4/installing/#basic-usage

Change-Id: I02090077781bc335a0df4dc54ff37edece281210
2017-01-06 16:01:38 -06:00
Davanum Srinivas ae1b17203f Simple pip install fails under python3
Existing code ends up installing aodh in py2.7 environment even
when USE_PYTHON3 is specified. Since Aodh team does not want
to pull in global requirements, we cannot use setup_develop like
other projects. So let's find the pip script and run it using
the correct python3 version.

Change-Id: I538e2f430954385033c7a1869a4ccc419e9e4108
2017-01-05 13:00:24 -05:00
zhangyanxian 3a788c7320 Fix typo in plugin.sh
TrivialFix: "vitualenv" should be "virtualenv"
Change-Id: I2543ff8d2f34e3618436a8819e4ceebf116a83ed
2016-12-07 07:02:57 +00:00
Jenkins a4ee13489f Merge "devstack: fix mispelling of aodh-api in ENABLED_SERVICES" 2016-10-14 15:01:30 +00:00
Kevin_Zheng f6dfbee925 devstack: fix mispelling of aodh-api in ENABLED_SERVICES
Change-Id: I67cda0a8b7e211c33209de16502dee1da621569e
2016-10-14 09:53:57 +00:00
Jenkins a5f1b9b6ab Merge "Remove deprecated non-SQL drivers" 2016-10-14 07:29:47 +00:00
Julien Danjou 4570e42803 Remove deprecated non-SQL drivers
Change-Id: I1eb890fe422718e986bb92139a023868bace7d96
2016-10-13 15:21:58 +02:00
Julien Danjou d24dff237f Remove pecan_debug option
There's no need to expose that option to users.

Change-Id: If122b2aa4ea3269236bb54e161d374de1de5993a
2016-10-12 19:13:11 +02:00
Lianhao Lu 3e1ed2ef66 devstack: set correct port number for aodh-api
Since the aodh-api is generated by pbr wsgi_scripts, we should set
correct port number to launch it.

Change-Id: Ic632aa05a85b7d08dc2c297427a0feb2ae658299
Closes-Bug: #1620880
2016-09-09 10:08:58 +08:00
Julien Danjou 3990c5b7e1 devstack: fix aodh-api launch
This now uses the pbr wsgi_scripts facility, so the current command line is
invalid. Let's remove -v and -d as debug level is conrtolled by
$ENABLE_DEBUG_LOG_LEVEL. The configfile is hardcoded to the default location in
settings, so there's no neeed to pass it too.

Change-Id: I6d13c17d32017544b8fa8411fdef4af86a7b0a4d
Closes-Bug: #1620880
2016-09-07 09:21:23 +02:00
Julien Danjou 67b607fdb6 Use pbr wsgi_scripts to build aodh-api
Change-Id: Iefd6f4d9f76c69ed9b49483e1feda0b7dbe2cb81
2016-05-24 19:37:09 +02:00
ZhiQiang Fan 229d35adbd move aodh-config-generator.conf to etc/aodh dir
This will allow package or devstack to install
aodh-config-generator.conf under /etc/aodh, which enables end users
run ``oslo-config-generator \
--config-file=/etc/aodh/aodh-config-generator.conf \
--output-file=/etc/aodh/aodh.conf`` to generate a sample
configuration file.

Change-Id: Ib7986d689386d2f44f72754661e328967d94e88d
2016-05-10 19:22:22 +08:00
ZhiQiang Fan 85c207fe52 [Trivial] Remove AODH_API_LOG_DIR option for devstack
This option is used for aodh-api when AODH_DEPLOY=werkzeug,
and create a dedicate directory for aodh-api log.

However, there is no such need, because for such case, aodh-api
is just a normal process like aodh-evaluator. 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
aodh-evaluator, by default, it will be /opt/stack/logs.

Change-Id: If758cb7ddcc0087ed495721eeccf4723900e2ef3
2016-04-28 03:35:13 +08:00
Jenkins b502a4e50e Merge "install aodhclient instead of ceilometerclient" 2016-04-23 08:25:23 +00:00
Jenkins 8cf7da9040 Merge "document how to enable aodh stable branch in devstack" 2016-04-22 03:00:45 +00:00
ZhiQiang Fan 90d373df6d document how to enable aodh stable branch in devstack
Change-Id: I51bdccca7018ccf328c501bff4766ad26bbb451d
Closes-Bug: #1510617
2016-04-19 06:32:22 +08:00
Jenkins e7cc013ca2 Merge "Remove an unrelated comment" 2016-04-18 06:13:26 +00:00
liusheng ed7c3b9199 Remove an unrelated comment
Change-Id: Ieaa2039d0e7f9474012756c6e5dc94bd2e8cfc59
2016-04-18 09:37:51 +08:00
ZhiQiang Fan b28665210e remove store_events option in devstack/plugin.sh
store_events is not used in aodh

Change-Id: Ibce3cab1a355d6b1d1caccd1ba320b432c4c6aa0
2016-04-18 05:23:18 +08:00
ZhiQiang Fan 450bdc1b84 install aodhclient instead of ceilometerclient
python-ceilometerclient already in requirements list, and we already
have python-aodhclient, let's use it

Change-Id: I7f2f01d411b4aaa6433846717bbc9966bb9548cf
2016-04-18 05:19:22 +08:00
ZhiQiang Fan f85cb4d3f6 use default option for notification topics
[DEFAULT]notification_topics is deprecated in oslo.messaging, the
default name has been changed to [oslo_messaging_notifications]topics

also remove the verbose setting, it is deprecated and default value
is already True

Change-Id: I06a65e5c25c053df708d8a8658baf7cbe61735ce
2016-04-06 22:57:53 +08:00
liusheng c07b0ca9ef Clean deprecations from old "alarm" group
These options were inherited from ceilometer and for compatibility,
they have been marked being deprecated in group "alarm". We are in Aodh
3.0 now, it is time to remove them.

Change-Id: I41ef467750a403841ad96bfa7607ad63bd55702d
2016-03-26 09:10:19 +08:00
Mehdi Abaakouk 3315341727 devstack: allow uwsgi deployments
This change allows to use uwsgi as web server.

Change-Id: I5f42f0e87e8f020f89a0ad840dc50754e6298200
2016-03-17 07:41:53 +01:00
liusheng a2d9ce5258 Change the SERVICE_TENANT_NAME to SERVICE_PROJECT_NAME
The intergation test job has been broken, it seems because the replace
TENANT => PROJECT change in devstack scrpts, see[1]. This patch change the
SERVICE_TENANT_NAME to SERVICE_PROJECT_NAME in devstack plugin.

[1] https://review.openstack.org/#/c/281779/

Closes-Bug: #1548634
Change-Id: I9c7d1a6d28510e5d42deb4aa0280e8a48f042a4d
Depends-On: Ibb1f78d47311117f6718707c5961bc2841473924
2016-02-24 02:11:48 +00:00
liusheng 4171cdff8a Remove ceilometer-alarm-* related content of installation
We have removed the alarm service from ceilometer code tree.

Change-Id: Ib214d36b06a17c6ff7b7656be87ccabf1af33048
2016-02-16 13:51:28 +08:00
gordon chung b914ad9060 KEYSTONE_CATALOG_BACKEND is deprecated
this removes it
see: http://lists.openstack.org/pipermail/openstack-dev/2016-February/086272.htm

Change-Id: Idfbec51799a714433d295d6223d1126cb3a0be36
2016-02-10 17:38:09 -05:00
Mehdi Abaakouk f2d147804d devstack: Fix Keystone v3 configuration typo
When Keystone v3 is enabled, 'default' is the id, not the name,
of the domain created by devstack.

Change-Id: I244db7023cb3215dc6fe26d783c6338c8391a0f4
2016-02-10 10:11:04 +01:00
Mehdi Abaakouk 43f0002f50 devstack: use password with version discovery
Devstack will move to keystone v3, so support it here.

Change-Id: I169d6bcce23ef93b1bd12572721375b3c8c87707
Closes-bug: #1539728
2016-02-02 17:35:16 +01:00
Julien Danjou bc8a433260 devstack: add support for Gnocchi
Change-Id: I1df51ea79775adef7d64cdc408b2e7698e8b25c4
2015-12-30 14:47:25 +01:00
Julien Danjou ce0a9456eb Use extras for dependency installation
This allows to only install precisely what's required.

Change-Id: I2e9f19b03aca8452ae8fa83f50f7dbfc8e69b56f
2015-12-20 19:29:22 +01:00
gordon chung 50bbd80993 clean up integration test urls
the endpoints for aodh, ceilometer and gnocchi end with trailing
slash. because of that, our tests are calling <endpoint>//<path>.
this works but is technically incorrect. this patch cleans it up.

Change-Id: I187ea35b6158ac86bc2c4f19597c37e0b75cf2e4
2015-11-25 18:19:03 -05:00
Julien Danjou dcdfe266a2 devstack: fix HBase functional tests
Co-Authored-By: Ryota MIBU <r-mibu@cq.jp.nec.com>

Change-Id: I080e666f92f5a3231e32d7b19e712fa17801bbc9
2015-11-20 12:47:48 +01:00
Julien Danjou 3b4f23e2b0 devstack: install PostgreSQL devel tool for psycopg2
Change-Id: I830018cb3008f1036880c29c9a851b109a9be65e
2015-11-06 11:10:35 +01:00
Christian Berendt 3d6082f7e3 Fix indent of code blocks in Devstack plugin README file
Change-Id: I658a6d87b58df33dbfddd22506cf59c26d9ba265
2015-10-23 11:05:35 +02:00
Jenkins d71c56eb7b Merge "remove unused configuration options" 2015-10-21 10:30:47 +00:00
Jenkins f168153a4f Merge "devstack: Fix some comments" 2015-10-21 03:57:12 +00:00