| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
New TC verifies that it is possible to run IOs on block
volumes when gluster-blockd service is down.
Change-Id: Ia1de14d2990f833221f6725e9b0e48d77ef85c10
|
|
|
|
|
|
|
| |
move gluster-block stability TC to new module named
'gluster_stability/test_gluster_block_stability.py'.
Change-Id: Iac1f432e438a2815bdc2115ab19e0170e46930c1
|
|
|
|
|
|
|
|
| |
Before, these libraries could be used for 'active' state only. Make it
accept one additional 'state' argument for possibility to use it for
any state, not just one.
Change-Id: I6d4fbd7584b308e3ad248213cb0ec3f4996f6437
|
|
|
|
|
|
|
|
| |
This test case checks if invalid size is passed, size of PVC does
not change. Verify the size of PVC and I/O can be performed on
the volume attached to PVC.
Change-Id: Ia833c76a6d9990ebbac78759c54dc7d28f530ec6
|
|
|
|
|
|
|
| |
Sometimes grep cmd shows '--' symbol. Which is breaking code. So changed
the code to exclude '--' via grep cmd.
Change-Id: I3ef903e19196b2d0d70e074a676881725240983b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It will allow us to recreate SSH connections when it is broken.
Also, do following additional things:
- Fix 'podcmd' module, where 'user' argument for 'g.run' is missing in it's
wrapper.
- Use "g.log.error" command to log errors when they appear inside of
the 'cmd_run' func.
- Delete several unused commands, instead of fixing them.
- Update several test cases's logic due to the changes in the libraries.
Change-Id: I908e5adcff739b6ab3a4aefaebfe46abdee22655
|
|
|
|
|
|
|
|
|
|
| |
It happens, that saved SSH connection gets corrupted and we get
errors trying to run commands on remote machines.
So, to avoid such problem, monkey-patch Glusto's special method
for getting SSH connections with ourselves-crafted method
which recreates SSH connection in case it is broken.
Change-Id: Iee69d21f3e23541480653205d86fefef2d842d34
|
|
|
|
|
|
|
|
|
|
|
|
| |
It was broken it 2 places:
- It is first tc in the 'resize' test suite, which runs right after
OCP API restart. And it happens to fail to talk to the OCP API.
So, fix it by adding API service waiter in place where we restart it.
- In this tc we delete huge volume which consumes almost whole disk
space. And happens that this operation takes up to the 6 minutes.
But we were waiting only for 5 minutes. So, just increase timeout.
Change-Id: Ic6ada67b96ac8a37d13f57c0576e862226517b0d
|
|
|
|
|
|
|
|
|
| |
Now, this function hides info about the real problem which caused error
So, make it raise exceptions in place with info about error for ease of
debugging.
Also, fix it's usage providing mpath always.
Change-Id: I8cbc62a12f3999e3d64fb6b504865f30b1602cf1
|
|
|
|
|
|
|
| |
It happens that we get "No ssh connection" errors from time to time.
So, avoid such errors recreating SSH connections if such error appears.
Change-Id: Idc71c4ceece6b3040c396b25da1deadcefd29b60
|
|
|
|
|
|
|
| |
This TC verify the expanshion of BHV and after expanding volume verify
that space is usable.
Change-Id: I2621aedc1cbddcad374fe52013aba2d48acfd1e0
|
|
|
|
|
|
|
| |
The purpose of TCs is to validate that block device size cannot be more
than the block hosting volume.
Change-Id: I35aac44bdc2b3e72f1de9ab167e1468ece932f14
|
|
|
|
|
|
|
| |
Replace usage of "types.StringTypes" with "six.string_types",
because the latter one is compatible with both - py2 and py3.
Change-Id: Ie8f9495914fca527da086af0915130470e3fd3e0
|
|
|
|
|
|
|
| |
As part of the fix we are fixing "AttributeError: 'str' object has
no attribute 'append'" in 'get_events' func
Change-Id: Ica2489e2d48f9ec8065fe0863b6c5d1633e93860
|
|
|
|
|
|
|
| |
Project has lots of inconsistencies with OCP3.6 and 3.7
So, fix it.
Change-Id: I8d38773637b779e1c2e1631568f100c1ab1fdd50
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Required steps to run test cases using py3:
1) Install py3
2) Install 'tox' package using "pip3"
3) Run test cases using tox package installed via pip3
Note that full py3 support is not tested yet. It only allows you to run
it on py3 not providing any guarantees.
Example:
$ python3 -m tox -e functional3 -- \
glusto -c /path/to/the/config/file.yaml \
'--pytest=-v -rsx tests -k test_glusterblock_logs'
Change-Id: I610faac0b75364c401734b6f892649893ca2320e
|
|
|
|
|
|
|
|
| |
BZ-1632873 was fixed, hence, unskip test cases which were
skipped due to this BZ. Also, make it run only on containerized
Gluster clusters.
Change-Id: Iee49a303c4f191652d1c94c18e830e6d2fb4e381
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It happens, that Heketi commands hang.
So, to avoid cancelling of whole test runs, add
timeouts for Heketi commands.
By default, timeout is 120 sec (2 min).
If it is needed to change default value, then
define following config option:
common:
heketi_command_timeout: 180
Change-Id: I79f33daa05bde9a37245e94e66042944c6cd9242
|
|
Move all the files of 'cns-libs/cnslibs/common' dir
to the 'openshift-storage-libs/openshiftstoragelibs',
because 'common' is the only dir there, which doesn't really makes sense.
And "cns" is old project name, so, replace it with
"openshift-storage-libs".
Also, fix all the imports of these libs.
Change-Id: Ife00a73554e73b21b214b15016b0c8dbbf423446
|