Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade checks to a warning and not a hard fail #726

Open
kucharskim opened this issue May 23, 2023 · 0 comments
Open

Downgrade checks to a warning and not a hard fail #726

kucharskim opened this issue May 23, 2023 · 0 comments

Comments

@kucharskim
Copy link

We make certain hardware / base os design decisions, one of them is swap - we don't want it on any of our machines. We order more RAM if we need more memory and we don't do swap or we do it relatively small. This failed on me today:

root@c01:~/backups# skale node restore /root/backups/skale-node-backup-2023-05-22-03-39-16.tar.gz /root/.env
2023-05-23 12:05:22,719 - INFO - Adding BACKUP_RUN to env ...
2023-05-23 12:05:22,720 - INFO - Unpacking backup archive...
2023-05-23 12:05:25,377 - INFO - Executing checks. Type: CheckType.PREINSTALL
2023-05-23 12:05:26,113 - INFO - Host is not fully meet the requirements
==================== Failed checks ====================
+-------+---------------------------------------------+
| Check |                    Info                     |
+=======+=============================================+
| swap  | Expected swap memory 14.9 GB, actual 1.0 GB |
+-------+---------------------------------------------+
Command failed with following errors:
--------------------------------------------------
Restore operation failed
--------------------------------------------------
You can find more info in /root/.skale/.skale-cli-log/debug-node-cli.log

This is against our own design decisions of infrastructure and there is no way to workaround it via cli option or env-file settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant