Krzysztof Majzerowicz-Jaszcz
39f70bc876
Casadm error message update
...
Error message updated for the case of not meeting the space requirements
for the cache device.
Signed-off-by: Krzysztof Majzerowicz-Jaszcz <krzysztof.majzerowicz-jaszcz@intel.com>
2022-03-03 09:50:46 +01:00
Karolina Rogowska
583af2e229
Merge pull request #1056 from karolinavelkaja/ioclass_id_as_condition_test_fix
...
fix for test_ioclass_id_as_condition - adding 1s delay before io
2022-02-18 11:27:09 +01:00
Robert Baldyga
3787957bdf
Merge pull request #1062 from mmichal10/fix-ioclass-tests
...
Fix ioclass tests
2022-02-17 15:16:09 +01:00
Robert Baldyga
9424df4e2b
Merge pull request #972 from Deixx/multidut
...
Multidut execution and example
2022-02-17 13:27:29 +01:00
Robert Baldyga
8a9a307e41
Merge pull request #1048 from pdebski21/1023
...
fix for issue #1023
2022-02-17 11:16:55 +01:00
Robert Baldyga
bc5fa9bc04
Merge pull request #1063 from Deixx/hotfix-scope-fixes
...
Test updates addressing test fail false positives
2022-02-17 11:16:37 +01:00
Michal Mielewczyk
8ff5dcb364
tests: delay in directory based ioclass test
...
After setting directory based IO classification rule and creating the directory
sleep for a few seconds to allow the classifier to settle.
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-02-17 09:21:39 +01:00
Karolina Rogowska
ddf1339adb
fix for test_ioclass_id_as_condition
...
need to add delay before io - CAS not being able to resolve directory to inode so quickly
https://github.com/Open-CAS/open-cas-linux/issues/1046
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-02-16 15:51:30 +01:00
Michal Mielewczyk
6ad0562b53
tests: more robust verififaction in ioclass tests
...
Signed-off-by: Michal Mielewczyk <michal.mielewczyk@intel.com>
2022-02-16 08:15:17 +01:00
Daniel Madej
baac399c43
Test updates addressing test fail false positives
...
Signed-off-by: Daniel Madej <daniel.madej@intel.com>
2022-02-15 11:48:05 +01:00
Robert Baldyga
1742841ee3
Merge pull request #1057 from jfckm/standby-load-config
...
Standby load config
2022-02-11 10:12:02 +01:00
Jan Musial
a65e4b7ea9
Add cache_start helper function tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
94daf4e2d6
Update opencas.conf manpage
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
48725bb653
Fix cache_id usage in smoke tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
16b64a97f2
Update CLI message in tests
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
65b51a4ba7
Update tests for standby load
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
504966fdfa
Un-hide tests not executed because of naming collisions
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
fa167c267f
Add support for failover states in opencas.conf
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
a187813d13
Minor improvements in opencas.py/casctl
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
9da912e485
Forbid using load with other options in cas_cache
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
58b09c11a6
Forbid using load with other options in casadm
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
2ff055d689
Don't generate cache_id's on casadm side and use loaded cache params
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Jan Musial
199993d9a4
Fix error logging levels
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2022-02-10 12:06:37 +01:00
Robert Baldyga
3b42355b82
Merge pull request #1059 from pdebski21/1021
...
fix for issue #1021
2022-02-10 11:54:31 +01:00
Robert Baldyga
d942533f0d
Merge pull request #1045 from pdebski21/1024
...
fix for issue #1024 - mismatch metadata error msg
2022-02-07 16:33:32 +01:00
Robert Baldyga
3458688a9e
Merge pull request #1058 from robertbaldyga/version-v22.3
...
Update version to v22.3
2022-02-07 15:59:45 +01:00
Robert Baldyga
b263dec467
Merge pull request #1038 from karolinavelkaja/seq_cutoff_multi_core_test_2variants
...
test_seq_cutoff_multi_core improved to has 2 variants
2022-02-02 12:57:25 +01:00
Robert Baldyga
5301c29063
Update version to v22.3
...
Make the release name match the expected release date.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-02-01 03:17:40 +01:00
Piotr Debski
4d3f18dca8
fix for issue #1023 - better error for core size mismatch during activation/load
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-02-01 01:24:51 +01:00
Piotr Debski
038631af2a
fix for issue 1021
...
cache device path for standby mode in Try `casadm --help | -H' for more information.
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-01-30 02:52:32 +01:00
Piotr Debski
1d1baed247
fix for issue #1024 - mismatch metadata error msg
...
Signed-off-by: Piotr Debski <piotr.debski@intel.com>
2022-01-25 04:20:09 +01:00
Karolina Rogowska
851cd2c940
test_seq_cutoff_multi_core improved to has 2 variants
...
Signed-off-by: Karolina Rogowska <karolina.rogowska@intel.com>
2022-01-14 14:59:37 +01:00
Robert Baldyga
7041517bf4
Merge pull request #1040 from robertbaldyga/fix-core-add-bug
...
Protect core config preparation function against non-existing cache
2022-01-12 12:29:54 +01:00
Robert Baldyga
415cd73438
Merge pull request #1027 from robertbaldyga/redesign-failover-standby
...
Redesign failover standby management
2022-01-11 17:00:06 +01:00
Robert Baldyga
05e0590fbc
Protect core config preparation function against non-existing cache
...
It is legal to call KCAS_IOCTL_INSERT_CORE against non-existing cache
(in try_add mode), however in that case core_id has to be provded.
Return error code in case when given cache id does not exist and core_id
is set to OCF_CORE_MAX.
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-10 20:03:50 +01:00
Robert Baldyga
ab96a7d736
Merge pull request #1033 from jfckm/remove-packaging-package
...
Remove dependency on packaging Python package
2022-01-10 18:19:03 +01:00
Robert Baldyga
63bab9584c
Redesign failover standby management
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-05 16:17:52 +01:00
Robert Baldyga
4333f5f62c
Merge pull request #1037 from robertbaldyga/update-ocf-flapping
...
Update OCF - metadata flapping + tests
2022-01-05 13:41:33 +01:00
Robert Baldyga
dc75d76087
Update metadata corruption smoke tests for flapping
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-04 19:33:12 +01:00
Adam Rutkowski
0bfe0f84f2
Update OCF
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2022-01-04 19:33:00 +01:00
Robert Baldyga
1738876ff7
Merge pull request #1035 from hammerg/fix_kernel_5.11
...
configure: adapt to kernel 5.11
2021-12-31 10:56:56 +01:00
Robert Baldyga
46e6d92732
configure: trigger compilation error on pointer type incompatibility
...
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
2021-12-29 16:45:11 +01:00
Jan Musial
c64e6a3f33
Fix code formatting in casctl
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-12-29 07:25:16 +01:00
Jan Musial
aa895fe20c
Remove dependency on packaging Python package
...
Signed-off-by: Jan Musial <jan.musial@intel.com>
2021-12-29 07:24:30 +01:00
Gal Hammer
2162e945c2
configure: adapt to kernel 5.11
...
The disk_part_iter_next function is declated in linux/genhd.h header file.
Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
2021-12-28 17:10:51 +02:00
Robert Baldyga
b0a3c9cd45
Merge pull request #982 from robertbaldyga/remove-redundant-io-get-put
...
Remove redundant ocf_io_get()/ocf_io_put() from bottom volume
2021-12-27 15:21:32 +01:00
Robert Baldyga
8207d5d2b8
Merge pull request #1001 from rafalste/multiarch-packages
...
Add multi-arch package build support
2021-12-09 10:57:02 +01:00
Robert Baldyga
ecda2431ce
Merge pull request #1010 from arutk/failover_err_msg
...
failover standby fixes
2021-11-30 17:36:48 +01:00
Adam Rutkowski
0f6a024025
Make device parameter obligatory in failover activate
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00
Adam Rutkowski
8f53682954
extended error messages in casadm --failover-activate
...
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
2021-12-01 00:58:09 +01:00