Despite of SberCloud sample for python, content-length header is not accounted for
when calculating signature.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Replaced insecture login/password authentication in SberCloud API with authentication
via access key. This is more secture and is the recommended approach for authentication
from an application.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
We need just an aggregate variable that allows to wait until GC pass occurs on
a storage node, rather than a variable for specific shard. Also, we need to account
for a time that GC session itself takes.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Remove logic that checks for root login and prepends command with sudo, because
we should not use root login at all and all commands (that require higher permissions
should be prefixed with sudo anyways).
Add sudo prefix to privileged commands that require it.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Use docker API to operate with remote devenv, this makes code cleaner and more uniform
between local devenv and remote devenv.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Few small fixes were made:
- Fix path to binaries on storage node in cloud env.
- Add logic to prepend ssh command with sudo.
- Make re-encoding of homomorphic hash conditional.
- Increase ssh timeout.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
The change is motivated by variety of standard ACLs that will be hard to manage with set of fixtures.
Remove logic that initializes wallet from remote devenv host.
This setup action should be handled outside tests.
Add ability to establish SSH connection using SSH key instead of password.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Remove default SSH key path.
Replace multiple fixtures for file generation with single function.
Rename references to keyword modules.
Update pytest test cases to be consistent with new keywords.
Remove gas balance checks from container operations.
Add logic to run initial gas transfer only if storage is not free.
Remove robot testsuites for s3 and http gateways.
S3 and http tests are covered and will be maintained in the future in pytest.
Signed-off-by: Vladimir Domnich <v.domnich@yadro.com>
Add logic to retrieve mainnet wallet file from control node as WIF for this wallet is not available in config anymore.
Signed-off-by: a.y.volkov <a.y.volkov@yadro.com>