Commit Graph

28 Commits

Author SHA1 Message Date
Niv Oppenhaim
274c5b71bf add support for webhooks
Implements: blueprint configurable-notifications
Change-Id: I0c808c5e44f9d6092d113bb277c8ab8cf0d69716
2018-01-22 10:15:40 +00:00
idan kinory
f381a42583 support adding and deleting templates without the need to restart vitrage.
* templates are now stored in the database.
* evaluator is reloaded whenever a template is added/removed.
* supporting all types of templates (standard, equivalence, definition)
* new cli commands:
  - vitrage template add
  - vitrage template delete

Change-Id: I58abf5e034662206bd6919493c95c450c0ecdf9c
Depends-On: I07741ed100b9eb70b303567706b659d10a34b156
Implements: blueprint crud-templates
2018-01-18 15:54:52 +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
Zuul
4785dc1f80 Merge "Tempest tests fix" 2017-11-27 17:07:22 +00:00
Niv Oppenhaim
b6f0fc94e3 Tempest tests fix
Change-Id: Ia22cde49bcd8d60dfa1b6c8701fed7c850fd654c
2017-11-26 09:31:37 +00:00
Zuul
411e791491 Merge "move the copy of templates to tests" 2017-11-24 07:37:44 +00:00
Eyal
3bc3706cda move the copy of templates to tests
the test templates should be used in tempest
not when creating a devstack

Change-Id: I53d550fe937d8b3f5cc4faba9117528bfc9b1a1c
2017-11-23 14:38:10 +02:00
Idan Hefetz
885857cea7 new e2e tempest to check actions
Change-Id: I744418aa0407dd4bf34335d37527b32b98785c83
2017-11-23 08:05:57 +00:00
Eyal
bb46cd5232 support nested stack in heat
* add the depth of the nested stack
10 should be enough consider making it
configurable

Change-Id: I9903aa760801170b9d1c2d23fbea79d80e5e959d
2017-11-01 20:10:27 +02:00
Eyal
3d63af5548 minor changes in gate hook
Change-Id: Ie46674fb061b6b45fccfaf025b28be0000e826e9
2017-08-16 05:21:13 +00: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
Eyal
38e28d38a0 fix running tempest tests
* virtualenv is not working so installing vitrage again makes a mess
this fix was done in ocata

Change-Id: Ie0724ba5ce455f611f1de247208e080e92237414
2017-08-07 12:11:24 +03:00
Eyal
6f318ce8d6 add some delay between post and get
add to datasource tempest the doctor test to run in gate

Change-Id: I9655f9358d7ea2b36f663b4e2f6adf20c7de0cbf
2017-03-19 15:24:47 +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
Alexey Weyl
d3f9449733 Add new Tempest for datasources in the gate
Change-Id: I627b53634ce09e47d83f1522f4ca74433066fc1c
2016-08-03 10:14:10 +03:00
Alexey Weyl
c4598c73fa Neutron Network and Port Notifier support
Change-Id: I9e665896ab9e59bbcced256339cfbc3c677ff5da
2016-06-15 11:16:10 +03:00
Noam Bloom
d40b93e9ab Added Template&Confs to Tempest Env
When tempests runs on zuul it'll copy templates and static
physical configuration files from the vitrage_tempest dir to /etc/vitrage/

Change-Id: If961d099ce04c200cf9d03486fc891088b6dffd2
2016-06-02 11:22:21 +03:00
Noam Bloom
38a40b3e2e Tempest Gate Fix
Removed the last line of 'unset DEVSTACK_PATH' since it looks like
 it messed Jenkins call regarding the success of the job. The above will
 always return return-code 0 meaning success and this hides the tempest
 run return-code of 1 if some test fails

Change-Id: If4591c9e0c70bfc73cf8024cf9da84b58e1f09a9
2016-05-29 10:33:37 +03:00
Noam Bloom
ff07d65d85 Multi-test Tempest script
1. Added option to run certain tests via name filtering
2. Added a temporary variable DEVSTACK_PATH
for easy local debugging of script

Change-Id: I71c25b50a07e21bd6388bf683192def1b7ad45d0
2016-05-23 15:03:18 +03:00
Noam Bloom
55839ca8db Tempest Fix for Gate
Note that the change under utils.py results in a failure
when trying to run the tempests via regular methods e.g. nosetests
If this change will hold in gate, more changes to the tempest_tests
dir will be needed. For now, run tempests using testr:
From within  /opt/stack/tempest: 'testr run vitrage_tempest_tests'

Change-Id: I7825514493ae0e8461a1a02fb5a20e1b5fe0d8ac
2016-05-16 16:15:02 +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
Eyal
3f5edb97d3 test only topology
change to admin password

Change-Id: Ibd8ad984d017991f9422952f76613f254a3b44ac
2016-05-05 16:29:30 +03:00
Noam Bloom
9e28c41fbd Tempest Gate
1. Updated local.conf configuration before running devstack-vm-gate.sh under gate_hook.sh
2. Set post_test_hook.sh to run topology tempest tests under vitrage_tempest_tests folder

Change-Id: Idd98ac5e2940cb3f869f62cde8deef84ee467ad9
2016-05-03 14:15:38 +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