28 Commits

Author SHA1 Message Date
Saad Zaher
075362ed70 Freezer-scheduler support both APIs
This patch allows freezer-scheduler to use either API v1 or v2
You can alter it using OS_BACKUP_API_VERSION env variable

Depends-On: I83000f8bf39eed41d067ed663de9f459439eca9a
Change-Id: I2e5724b1f1a75121952e2beb3844d2c489e4df68
2018-02-16 14:15:09 +00:00
ghanshyam
c0989170b9 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: I09ecf7645c116497f9cdd2c82fc59dc6f35058f1
2018-01-23 16:44:39 +03:00
Saad Zaher
3bbebaa416 Fix gate jobs
Change-Id: I3f653f93b1596cc680eff6f8c39c455b96d2d925
2017-12-04 22:06:37 +00:00
Saad Zaher
0c8406cce4 Fix Devstack gate job and Documentation issues
Change-Id: If9c761643f4924bf683c65f23152dba8df388fe9
2017-12-02 23:22:14 +00:00
Jenkins
1427e34c3a Merge "Update URLs in documents according to document migration" 2017-07-20 15:45:20 +00:00
Saad Zaher
95b49ffa24 Updating install-guide docs
Change-Id: I7586763cf25be7ca115c7325129a7c9aa7022603
2017-07-19 11:04:19 +01:00
melissaml
df3f6fc906 Update URLs in documents according to document migration
Change-Id: Ibfdbe43046084f22c8790e08c7380e1ac7260bb9
2017-07-14 10:20:43 +08:00
Jenkins
ba041dc09c Merge "Enable Debugging while running dsvm" 2017-04-21 16:40:18 +00:00
Saad Zaher
82ad70c8a8 Enable Debugging while running dsvm
Change-Id: I7f93d92c51441493b7b8f7fcedebf434ddf4f30a
2017-04-20 22:35:24 +00:00
yfzhao
7202321ab6 Optimize the link address
Use https instead of http to ensure the safety without containing our
account/password information

Change-Id: I5d39f25529f88537eed7d5a30c94af951e5504d5
2017-04-17 16:47:59 +08:00
kavithahr
cacfd4f4f5 Update local.conf.example
stable/liberty is eol. Change the default to use the latest master
branch, since that is most likely the desired behavior when using
DevStack anyway.

Change-Id: Ie452e7aedbd3412ab0a1de22166ee70b283622b8
2017-03-20 09:23:41 +00:00
Shangzhong Zhu
96e856a0bd Create directory JOBS_DIR using the devstack script
The directory JOBS_DIR(Default value is /etc/freezer/scheduler/conf.d)
should be ready before running the test case.

Change-Id: I5aa048292c449e8c265609235fb99c018e001fb7
Closes-Bug: #1633320
2016-10-14 15:09:17 +08:00
Tim Buckley
9aa34db7fe Always collect freezer.log when tests fail
While I330ca7b189d0d87cc8eff6c1b295a5f924bad475 fixed error reporting
for integration tests, it prevented the script from continuing to the
point that the freezer log file was copied when an error occurred.

This patch links the log to the log directory in advance to make sure
it will be uploaded to the server regardless of whether or not
devstack actually completes successfully.

Change-Id: I5c335d2a28d426693aa7379a7567272f4cee3c69
2016-06-29 14:38:46 +00:00
Tim Buckley
836f94c787 Fix devstack-dsvm failure reporting
I74448e75905d2d950a5d0483a9fe27a212f7fe21 removed 'set -e' from the
shell options in gate_hook.sh causing all tempest tests to be treated
as passing even if they actually failed. This patch re-adds the -e
flag so tests can fail correctly again.

Change-Id: I330ca7b189d0d87cc8eff6c1b295a5f924bad475
2016-06-27 15:44:41 -06:00
Jonas Pfannschmidt
8b8c766ed4 First scenario test
This test performs a backup followed by a restore and compares
the restored data with the original data.

This code was previously in the freezer-api repo. It fits better
into the freezer repo because:

- It interacts mostly with freezer-scheduler
- The freezer devstack gate also includes the freezer-api so it is easier to run an end-to-end test

Moved from change: 319351

Implements bp: freezer-integration-tests

Change-Id: I74448e75905d2d950a5d0483a9fe27a212f7fe21
2016-06-15 15:15:40 +01:00
yangyapeng
305067ac33 Change $USER to $STACK_USER
Change-Id: I768620d0215d901157ba1075b31271ee8efa62ce
2016-04-05 11:53:05 -04:00
Jenkins
335dfd8f73 Merge "Modify the function configure_freezer_scheduler" 2016-04-06 09:42:58 +00:00
Deklan Dieterly
219fb2b4d7 Start to introduce tempest tests.
See if gate job executes first test.

Change-Id: Ife68257a4c281299cedc4ed79db50ca5290375c5
2016-03-21 13:52:41 -06:00
yangyapeng
e1fa8066ba Modify the function configure_freezer_scheduler
Now install freezer-scheduler in devstack, the function
configure_freezer_scheduler is invalid, FREEZER_CONF_DIR
is error.

Change-Id: I96454cc032a3a4edb06dcf8e9dbcf8ca26af51c1
Closes-Bug: #1556780
2016-03-14 04:02:32 -04:00
Jin Nan Zhang
a1c89ba75c incorrect enable plugin url in doc
This is incorrect url in README.rst example case:
enable_plugin freezer https://git.openstack.org/openstack/freezer.git master

change the url to: https://git.openstack.org/openstack/freezer

Change-Id: I599af680102f858bf52460a0e2d400b9974616d1
2016-02-19 06:12:36 -05:00
Jenkins
3890147770 Merge "Fix a mistake about function for install_freezer" 2016-02-18 15:48:42 +00:00
Jenkins
5839011a57 Merge "Fix a mistake in 'plugin.sh'" 2016-02-05 16:12:27 +00:00
Jenkins
a7dd0c1884 Merge "Change Freezer repo_url from stackforge to openstack" 2016-02-01 16:43:24 +00:00
yangyapeng
05a86e2edf Fix a mistake about function for install_freezer
Closes-Bug: #1546839

Change-Id: Ie05e5fc9f4482c87a828577acd46452c6b4baeb4
2016-01-23 12:56:40 -05:00
yangyapeng
1da385c585 Increase the Freezer devstack steps
Unified devstack plugin about Freezer.Make it easier for
developers to use Freezer

Closes-bug: #1537371
Change-Id: I07783e3ba185cd13b61f10ed71fe4bf3edf4d978
2016-01-23 09:27:12 -05:00
yangyapeng
12d790ef48 Fix a mistake in 'plugin.sh'
Install freezer in devstack,appear the 'configure_freezer'
command is not found $freezer_dir/lib/plugin.sh.
Change 'configure_freezer' to 'configure_freezer_scheduler'.

Change-Id: I9ab67e8c076a6c50fa5bca5f7712aa172478f3f4
Closes-Bug: #1536257
2016-01-18 13:03:27 -05:00
yangyapeng
2b19697be5 Change Freezer repo_url from stackforge to openstack
Change-Id: I3453108bb34a744909864e708af547499c3de8c5
2016-01-18 11:54:34 -05:00
Fausto Marzi
2ee22e041d Adding devstack plugin for freezer gate job
Currently the plugin is moslty a copy of the
freeer-api plugin. At first instance we can enable
the gate and have the job executign without error,
after this we can commit new changes to execute
freezer specific tests. Anyway the freezer-api plugin
is most likley needed to execute the freezer-agent and
freezer-scheduler tests

Implements bp: freezer-dsvm
Depends-on: I837e3fe973d72c792cb34711cef9f6507a004d49

Change-Id: Iee995d5b32c17c4dbee5f5736b26bf3b9aa8ca14
2016-01-18 13:51:26 +00:00