Commit Graph

85 Commits

Author SHA1 Message Date
Matthias Runge ca45bbdca0 Retire panko, the code is no longer maintained.
The contents of this repository are still available in the Git source
code management system. To see the contents of this repository before it
reached its end of life, please check out the previous commit with
"git checkout HEAD^1".

For any further questions, please email
openstack-discuss@lists.openstack.org or join #openstack-telemetry on OFTC.

Change-Id: Ic8a7001e708d8da7cf8951eefd0a96762ea5fa46
2021-05-27 11:36:44 +02:00
Eyal 0a7684460b 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/+/764418
Change-Id: I6f120922c5101987a0eea08bf7e0b2b05332fddd
2020-11-27 07:08:53 +00:00
ghanshyam a725f64412 Set Tempest's service_availability setting for panko
Tempest's service_availability 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_availability].panko is true then, panko test will run
or if [service_availability].panko is false then, all panko related tests either
in telemetry tempest plugin or any other plugins will be skipped.

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

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

Change-Id: I57e182850fbf7fcab5df75c05f0ef95a8c23e923
2020-01-06 03:53:46 +00:00
ZhongShengping 0a3a0f9738 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their opendev.org
counterparts.

Change-Id: I5368ea99dfe8ba3763b50e915b0b7852ef51db33
2019-04-22 14:32:58 +08:00
Trinh Nguyen ea0fec328d Move elasticsearch installation script to panko
Only panko uses the openstack-dev/devstack/pkg/elasticsearch.sh
script. It is a good practice to move it here and maintain the
the way we want.

Change-Id: I9119d4d720318fe9d1aa1bd8a6a4946dfa61940d
2019-04-11 14:39:50 +00:00
Ian Wienand 8aa9708dfe 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: Ibb811e9c7f3ee7c50b8e4e9325f35f400b027b28
2019-03-24 20:35:34 +00:00
ghanshyam b996581f86 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: I610527a56f13662ed6f10ae429d670f864582b33
2018-01-23 16:37:30 +03:00
lingyongxu e4debf9512 Fix to use . to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: Id306e25c313f8b44b28e55aed1fc602199af7828
2018-01-03 14:55:26 +00:00
Lance Bragstad 52417d4ab8 Move default policies into code
This is part of a community effort to provide better user experience
for those having to maintain RBAC policy. More information on this
effort can be found below:

  https://governance.openstack.org/tc/goals/queens/policy-in-code.html

bp policy-and-docs-in-code
Co-authored-By: Hieu LE <hieulq@vn.fujitsu.com>
Change-Id: I9bad70abcf5543c3e5e5da25c56c408ee3ff0346
2017-11-08 04:35:54 +00:00
zhurong 343bfddbe7 Devstack install with pankoclient
Change-Id: Ic9933387bd843d348a5e22b21cb3258c9d34654b
2017-07-10 11:25:40 +00:00
ZhongShengping 0bbaa20089 Fix the port for Panko API in devstack
The port used for Panko in devstack is conflicts with Trove[1].
The 8777 port has been occupied by ceilometer. So set the panko
api port to 8977.

[1]https://github.com/openstack/trove/blob/master/devstack/plugin.sh#L61

Change-Id: If6621a6bd1c6a5486d85ee33ec0760c8bbe1f860
Closes-Bug: #1696613
2017-06-08 09:12:08 +08:00
gord chung 4d21a8d943 support uwsgi
this is basically a copy of I5f42f0e87e8f020f89a0ad840dc50754e6298200

Change-Id: I5080aa35f54338a36280b6840012896e2388f93c
2017-05-25 14:40:12 +00:00
zhangguoqing 89a6baf3d6 Delete unused local variable apache_version in devstack
Change-Id: I3eea8b27229d1033942310dacaabe9301d1cc4ee
2017-04-28 12:39:43 +08:00
DeepaJon 03d4753611 Added example for stable branch
This will help who wants the stable branch code to plugin

Change-Id: Iafe695a8553835c178e7317f33a8cdaaa16ad365
2017-04-05 13:39:17 +05:30
Jenkins 7f9694f84c Merge "remove event_* prefixes" 2017-01-23 13:02:52 +00:00
gord chung 97742e644d remove event_* prefixes
we don't need this.

Change-Id: Ia2008bb8de5335776b58b8e5e5f69f7ec88d30b9
2017-01-13 20:50:14 +00:00
gord chung 06a3652001 add tempest plugin base
- drop clients, exception as they don't relate to anything

Change-Id: I455419bd215c45ece19b27317bf10282b48b7a96
2017-01-13 19:29:59 +00:00
gord chung 84088bedd6 move integration to ceilometer
similar to how gnocchi is set up

Change-Id: Iaf83100aa2226ef159810e878ef1a652f1d8aea1
2017-01-10 18:09:58 +00:00
zhangyanxian 658407c11b Fix typo in plugin.sh
TrivialFix: "vitualenv" should be "virtualenv"

Change-Id: If0f58c00a8d6bb0e303d39e908155b2219439f27
2016-12-07 07:07:02 +00:00
Julien Danjou dc07901fbc Remove pecan_debug option
There's no need to have this exposed to users.

Change-Id: Ie2cc75f167421fcc306f35bcd8e1a797fe7d35b1
2016-10-12 19:08:53 +02:00
Mehdi Abaakouk f1f24faee0 devstack: don't override ceilometer setup
Since we have enabled panko, the Gnocchi event dispatcher is overrided
in gate, while we can tests both.

Change-Id: Ia37a5430362cd1aa4e8f49cccfad16a91b1332ea
2016-10-06 13:33:24 +02:00
Jenkins 9db932c252 Merge "Remove wrong comment in devstack plugin" 2016-07-25 08:50:43 +00:00
Jenkins 00b19aec5c Merge "Set Keystone endpoint type to `event'" 2016-07-25 08:50:38 +00:00
Julien Danjou 35a4fc4aeb Remove wrong comment in devstack plugin
Change-Id: I620e909df499f54936277364287e486893bc8c0b
2016-07-22 12:23:33 +02:00
Julien Danjou ad068f5544 Set Keystone endpoint type to `event'
Change-Id: I60014ade7358df27a5868f5b00f58ee61905df00
2016-07-22 12:23:28 +02:00
Julien Danjou 81242a7508 Enable Panko in devstack if ceilometer-collector is enabled
Change-Id: I9cd624e462bd2a82bd31b4e58a7c53cd953296c9
2016-07-20 13:01:34 +02:00
Julien Danjou d9d224d362 devstack: prefix _drop_database
This avoids any kind of potential conflict with other projects.

Change-Id: If5dd2bd78d74e426e34dc8e92f02bc3bb3df1203
2016-07-05 10:49:43 +02:00
Julien Danjou 4758fe4793 devstack: fix service name in global check
Change-Id: I7a8bc9ef392d7372f11fc8b3621c80c09b441a66
2016-07-05 10:49:26 +02:00
Julien Danjou 69b2b5682b devstack: do not wait for service
There's no need to wait.

Change-Id: I047d5e074d3e45f48e7bfc62c9e72cbb1e798f59
2016-06-28 17:38:30 +02:00
Julien Danjou 3009be7ee7 Rename to Panko
Change-Id: I50b5f6c7b74a4431ccb7af271c11fe9c027f83ab
Signed-off-by: Julien Danjou <julien@danjou.info>
2016-06-14 17:00:22 +02:00
Julien Danjou ba4f572fd3 Remove code that is not related to events storage and API
Change-Id: I63128835613eb5959244c2fd34bc266ddcf4251c
2016-06-14 17:00:22 +02:00
Julien Danjou f3817aa027 devstack: remove useless policy_file setting
Change-Id: I55643425e3d6070dee0e947bc234bfc6326d1c82
2016-05-02 22:43:19 +02:00
ZhiQiang Fan 54887ff59e [Trivial] Remove CEILOMETER_API_LOG_DIR option for devstack
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
2016-04-28 01:43:53 +08:00
ZhiQiang Fan 0958f16a14 document how to enable ceilometer stable branch in devstack
Change-Id: I7d70f9798e1715bd42570a67e067ef5ec8c81ba1
Closes-Bug: #1510617
2016-04-19 06:30:25 +08:00
Drew Thorstensen 4c491b52e2 Disable ceilometer-aipmi by default for devstack
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
2016-03-31 22:22:04 +00:00
Jenkins 7ed2468814 Merge "'ceilometer-polling' should fail with no valid pollsters" 2016-03-29 12:12:50 +00:00
jizilian bb6032fd1b 'ceilometer-polling' should fail with no valid pollsters
The command 'ceilometer-polling --pollster-list' should fail with
invalid pollsters.

When executing the command 'ceilometer-polling --pollster-list' with
a wrong pollster like aaa, it still executes and no error will
be shown. It occupies the system resources and shows no errors.

Remove the test case for
"ceilometer-polling --polling-namespaces ipmi" in the upgrade.sh.
In the test environment, the ipmi is not ready. It should fail.

Change-Id: If1f9f9fdbba1832e66d89d6b61f749790df5c2b6
Closes-Bug: #1553926
2016-03-29 11:58:18 +02:00
Lianhao Lu 49a204e41a Devstack: install coordination backend for compute agent
Since compute agent now supports coordination, we need to install
the corresponding backend too.

Change-Id: I680a25ba089504e62930f61615f5a509480fe432
2016-03-23 03:29:30 +00:00
Jenkins 001d706b5c Merge "clean devstack plugin" 2016-03-21 19:25:02 +00:00
ZhiQiang Fan 337cd3c41b remove SERVICE_TENANT_NAME from devstack plugin
Previously we have to set this option to enable Aodh integration test
because there is circle dependency, but now since Aodh can parse
SERVICE_PROJECT_NAME properly, this is safe to remove.

Change-Id: I014ec7d62edfcc433b84e9237a63e37c427747ec
2016-03-19 04:23:52 +08:00
ZhiQiang Fan 7cae72527e clean devstack plugin
* remove verbose option: it is deprecated and True is its default value
* change [DEFAULT]notification_topics to [oslo_messaging_notifications]topics,
  the old style is deprecated
* remove uncleaned ceilometer-alarm-evaluator condition

Change-Id: If2d0592612c389e08826717fdf38d2e0086cec38
2016-03-17 08:55:54 +08:00
liusheng 8d7def1f7a 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.

And to avoid with aodh change, this change temporarily skip the
gabbits-live test.

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

Closes-Bug: #1548634
Change-Id: Ibb1f78d47311117f6718707c5961bc2841473924
2016-02-23 19:40:10 +08:00
Jenkins 7259b77565 Merge "KEYSTONE_CATALOG_BACKEND is deprecated" 2016-02-11 12:10:34 +00:00
gordon chung 7b23b3f185 KEYSTONE_CATALOG_BACKEND is deprecated
this removes it
see: http://lists.openstack.org/pipermail/openstack-dev/2016-February/086272.htm

Change-Id: Ic1ba628e00db114b4e2b219d094ab7db7e6e622b
2016-02-10 17:31:26 -05:00
Mehdi Abaakouk b7d2c8eb43 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:14:03 +01:00
gordon chung bb699bc3df set higher batching requirement
in practice, there are much more than 10 resources on the queue at
any given time so the amount of grouping done is minimal currently.
let's set a higher number so we have more groupings

Change-Id: I6bd0b9797f3a90c744002f4cf364faa696ab63ec
Closes-Bug: #1536277
2016-02-04 11:22:32 -05:00
Mehdi Abaakouk ae591af8c1 devstack: use password with version discovery
Devstack will move to keystone v3, so support it here.

Change-Id: I2a6eb7ec63ab6d2d7ac5c8e162ef96197137a966
Closes-bug: #1539728
2016-02-02 17:36:17 +01:00
gordon chung 628ac86f48 enable notification agent partitioning
we should just enable this so we can at least catch major major
breakage.

Change-Id: Ib49257ac45c9baef997e24f5ae3327f951b97e2b
2016-01-26 14:13:31 -05:00
Mehdi Abaakouk c1120aed0d Don't store events with Gnocchi
Since we move the Gnocchi configuration in Ceilometer devstack plugin
the event subsystem is enabled but unconfigured. So disable the
event subsystem by default if Gnocchi is used like before.

Change-Id: I33a6e962dcd01e12f828c4c126f6220439e5bfac
2016-01-19 19:52:18 -05:00
Julien Danjou 014fa900cd devstack: add support for Gnocchi backend
Change-Id: Ie5beee502ab07e4fca3353dae03c2f1f524a48c7
2016-01-18 14:28:40 +01:00