43 Commits

Author SHA1 Message Date
inspurericzhang
5ade29389e Replace git.openstack.org with opendev.org
Change-Id: Ie5c8748d84de0353cba53ee5ec86d2c8f0b4eb48
2019-11-19 16:01:28 +08:00
Eyal
1655af027e use the NOVA_NOTIFICATION_FORMAT for notification format
override the NOVA_NOTIFICATION_FORMAT in the override-defaults
file instead of the local.conf in gate_hook

Change-Id: I5ff3ae6b8584c4a5a33dba5b2e5d3680cf3edea7
2019-07-22 17:05:35 +03:00
Eyal
1a4d2bf7b9 Configure nova to send versioned and unversioned notifications
Nova change https://review.opendev.org/603079/ is changing the
default configuration to send only unversioned notfications rather
than both versioned and unversioned notifications.

make sure vitrage uses both.

Change-Id: Ia2c78071091a7f1b673d8ff2e03d36bbbb1ebe8c
2019-06-06 10:16:21 +00:00
Ivan Kolodyazhny
f296bbb942 Extend default datasources settings
Add ability to configure such datasources like:
* static (VITRAGE_USE_STATIC)
* doctor (VITRAGE_USE_DOCTOR)
* prometheus (VITRAGE_USE_PROMETHEUS)

All these datasources are disabled now by default.

Change-Id: I60b2810defbd5d2ce63a6408ed5a835efd7c6904
2019-04-07 19:14:04 +00:00
Ian Wienand
718042c61c 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: I9ff8306f34ffa9cfd524172138bc01da2aa3d3f5
2019-03-24 20:36:22 +00:00
Ifat Afek
832522c292 Use Nova versioned notifications by default
Changed the behavior of the Nova instance datasource to use by
default the versioned notifications.

Change-Id: Ife5c78c6568939f919174b5072fd70f461de0bd1
Story: 2004052
Task: 28501
2018-12-13 16:33:54 +00:00
Ifat Afek
ed9f7d86f3 Remove the static physical datasource
The static physical datasource was deprecated in Queens and removed in
Stein. Please use the static datasource instead.

Story: 2003172
Task: 23316

Depends-On: Ib20c4f2811cd1e1ebd100a67aa747268f6443a81
Change-Id: Id8e4de401c0bde8b06dba647fec7b1236b18ccc2
2018-12-10 09:36:39 +00:00
Idan Hefetz
09a7f43927 remove enable_persistency from configuration.
Persistency wont be optional.
This parameter was not used so far thus is simply removed, without deprecating it.

Change-Id: I44baad84429c552b87364fa6659ca2ee193bef58
2018-07-25 08:01:49 +00:00
Zuul
5f5f11089d Merge "undo the removal of persistency tables" 2018-02-28 08:30:59 +00:00
Idan Hefetz
a22833206a undo the removal of persistency tables
Change-Id: I9fa1fd7a2edc4a475ec63f7cecc9d8bc980b2f32
2018-02-25 07:51:07 +00:00
Eyal
61d3428c5c tempest cleanup
make sure vitrage installed last
remove duplication

Change-Id: I3d09206b6467f86ad49eed692043364185378a84
2018-02-12 11:39:01 +02:00
Eyal
cea206a982 tempest cleanup
Change-Id: I6f66b696651ae5acc6e790c4871101429c794733
2018-02-11 15:54:30 +02:00
Eyal
bcd91511ca remove tempest.conf and other cleanup
tempest.conf we don't use it
enable plugin enables all the relevant services
should be enough

Change-Id: I0fe5e658325bf52770ca7e457fc3c5b933fbaae5
2018-02-11 13:45:24 +02:00
Idan Hefetz
5b2a6354a6 remove persistency tables from db
this feature is not completed

Depends-On: I971bcca223dd1e2e8c78ebe03b582d7cc8eee976
Change-Id: I5d2a78332a54ee892d37f2cca062dc461c0b17f9
2018-02-07 12:41:10 +00:00
Niv Oppenhaim
274c5b71bf add support for webhooks
Implements: blueprint configurable-notifications
Change-Id: I0c808c5e44f9d6092d113bb277c8ab8cf0d69716
2018-01-22 10:15:40 +00:00
Muhamad Najjar
9c47a1178e Graph Persistor
Store/Load graph snapshots in/from database

Part from Vitrage HA and History Vision
https://docs.openstack.org/vitrage/latest/contributor/vitrage-ha-and-history-vision.html

Change-Id: I92ca74dabc22e8991c96d7f090be9978b8c93894
2018-01-14 14:34:04 +00:00
Eyal
3e03f500b2 heat moved to policy in code
create a policy.yaml to change the default behavior

Change-Id: I84708d64188c2fa6d8555182e024efec85edbe2c
2017-12-27 13:38:15 +02:00
Muhamad Najjar
a6c2621998 persistor test fix
Change-Id: Iabafbcbae23b7806559572dd5bd70a8e0c28fda5
2017-12-10 15:52:46 +00:00
Idan Hefetz
885857cea7 new e2e tempest to check actions
Change-Id: I744418aa0407dd4bf34335d37527b32b98785c83
2017-11-23 08:05:57 +00:00
dongwenjuan
8a86ff0b0b fix the name of 'aodh-api' service
Change-Id: Ia3030f57cdbc18cec2cb719193959c94dc1f6927
Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-11-20 10:35:08 +08:00
Ifat Afek
43f7ea634c Tempest test for Vitrage integration with Mistral
Change-Id: I0021442ce0b426282fc22e4af39dcb001a45e7e0
Depends-On: Ie892482f1dede7487fbd690aff85febb17d17462
Implements: blueprint integration-with-mistral
2017-08-13 07:31:12 +00:00
Eyal
2b6fc051cf make tempest work under py3
use the -E for sudo when running testr
this will pass the PYTHON environment variable
so python3 will run

Change-Id: I231090694fafb8dcc71c9595174ba82185b59348
2017-08-10 21:31:16 +03:00
Alexey
5c981e40ed Vitrage was enabled twice.
Remove the enable_plugin from Vitrage and keep it in config-infra

Change-Id: I418a65524f2b39fb0ac09169e8d0c70f7692e866
2017-06-04 05:31:44 +00:00
Eyal
011a187f58 fix local config due to devstack change in gate
Change-Id: Ia997aae10ffc1583c510d3f6e10eaea2785b96a5
2017-02-26 14:37:45 +02:00
Alexey Weyl
10006a9cbe not condition
add name property to the openstack cluster entity

Change-Id: Icbd146e8773cbfa26a37a69e59f8705d5d37a851
2017-02-02 08:01:34 +00:00
dongwenjuan
d57af3234d Implement aodh alarm notification
Implement: blueprint aodh-message-bus-notifications

Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>

Change-Id: Ibd55345dea3b465006cdbd89bff2e67c3ac9daba
2016-12-26 10:22:16 +08:00
Alexey Weyl
bd02779a9c enable heat in gate
Change-Id: I521ed424aba9256dfa1fc4c7db45394cd2cd84d7
2016-12-07 14:00:26 +02:00
Alexey Weyl
c4a4a4eb11 Enable heat tempests
Change-Id: Ia9ce9aa2574eba5f48244e1e6897c565b32d92b5
2016-09-04 11:16:36 +03:00
Alexey Weyl
34091c20d9 heat tempests
Change-Id: I63830b715ea8fc9255db4d604ebf75d22eb00b7e
2016-08-28 19:30:48 +03:00
Idan Hefetz
b34c21d697 Allow static physical configuration to include all sorts of resources and make relationships non mandatory.
Change-Id: I68ddb738fd101eac6f0c715b76f117b23bd37068
2016-08-21 15:07:24 +00:00
Alexey Weyl
d3f9449733 Add new Tempest for datasources in the gate
Change-Id: I627b53634ce09e47d83f1522f4ca74433066fc1c
2016-08-03 10:14:10 +03:00
Alexey Weyl
1f72b96035 Change tempest configuration
Change-Id: I567627f91486dc05330b5b3bf6f7999ae2908b82
2016-07-26 16:27:54 +03:00
Alexey Weyl
c6dfef80f1 tempests changes
Change-Id: I2a845fed8eeb06f52a0e3859242aae9106ead4f2
2016-07-12 14:18:28 +03:00
Noam Bloom
159da54244 Gate-hook devstack post-config
Changed datasources snapshot interval(get_all) to two hours
 instead of 10 min. This is to avoid having a difference in sample time
 during tempests. Given that the tempests run in an isolated environment
 and that all changes occur from within the tempests, the change should not affect
 current tempests consistency.

Change-Id: I2c238275c8ffee0fc24915e98b49ee946a71069d
2016-07-05 10:01:37 +03:00
Noam Bloom
bad9a0a832 Tempest Gate - Update
1. Bring back import for Ceilometer.
2. Trying to update post_test_hook.sh to use the Tempest project for running

Change-Id: I16e8a48ed8f82d2d72d7348d8d7c2b30d6c694e3
2016-05-08 14:44:48 +03:00
Noam Bloom
eb76d8f2e5 Tempest Gate - Update
1. Remove DEVSTACK_GATE_NO_SERVICES since it disables all default services
(see devstack-gate/features.yaml no_services variable.)
2. Remove redundant imports, ceilometer is enabled by default as a service(see 1.) and
 adding AODH project is already done in vitrage.yaml under project-config/jenkins/jobs

Change-Id: I755ca121bdfc02b0b34bbb9d34a000a34d36128c
2016-05-08 11:59:31 +03:00
Eyal
1ed9591944 remove vitrage-dashboard
Change-Id: I94e68caedb35ecbf400f3e78532f7dddeb12c37a
2016-05-05 17:01:12 +03:00
Eyal
3f5edb97d3 test only topology
change to admin password

Change-Id: Ibd8ad984d017991f9422952f76613f254a3b44ac
2016-05-05 16:29:30 +03:00
Eyal
23e5baef40 create a local.conf file with post-config
Change-Id: I1e62807b7e8a106814c5bbb722ae045f288ca0b9
2016-05-05 14:00:43 +03:00
Eyal
bd3387f1d7 escape the $ in the localrc file
Change-Id: I20345b425077e1bcf4b2c696a13a2c6a8f8fb30c
2016-05-05 11:38:17 +03:00
Noam Bloom
254f1d91c2 Tempest Gate
1. Fix for local.conf configuration for enabling AODH project

Change-Id: Ieb5c3a1e2959085ffd25e46767a326da12265248
2016-05-03 15:32:41 +03:00
Noam Bloom
71670c59f9 Tempest Gate
1. Updated localrc configuration before running devstack-vm-gate.sh under gate_hook.sh
2. Fixed(hopefully) post_test_hook.sh to run all tempest tests under vitrage_tempest_tests folder

Change-Id: I5f6947fdae7f35669a1d7488b02179dc04caee36
2016-05-01 17:35:54 +03:00
Noam Bloom
1f724b754d Add tempest tests to Gerrit Gate - Experimental
Change-Id: I694e3412d32e1125e388f7520d5b7b2598479edc
2016-04-17 14:54:45 +03:00