summaryrefslogtreecommitdiffstats
path: root/openshift-storage-libs/openshiftstoragelibs/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix logic for recreation of SSH connectionsValerii Ponomarov2019-07-161-9/+51
| | | | | | | | | | Before, in case we had some constant networking issue trying to connect to a host, we were falling into the endless loop of connection recreation. The error we got after it is the 'recursion limit exceeded'. It is unexpected. So, change this logic making it avoid recursion and do just one connection recreation attempt which is useful to fix broken connections. Change-Id: Id808edbad7e6d69ad58a75bfbae176fddb173d18
* Make g.run recreate SSH connection in case of it's breakageValerii Ponomarov2019-05-291-0/+25
| | | | | | | | | | 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
* Reorder lib files removing redundant dir layerValerii Ponomarov2019-03-181-0/+0
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