-
Notifications
You must be signed in to change notification settings - Fork 594
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
One-time snapshots do not save locally and are empty zip files in s3 #1564
Comments
Validated using The nodes were of Ubuntu, 16.04 LTS, images
|
May be worth clarifying that the nodes are RancherOS. Also, the .zip is created in s3, just has no file contents. Is there a way to opt in to a more verbose debug/logging level? |
verified in a RancherOS instance.
|
I'd like to help track this down, or at least narrow this down to something environmental. Is there any additional information I can provide, or a way to change the logging level? |
@sowmyav27 updated information: |
RKE version:
v0.2.7
Docker version: (
docker version
,docker info
preferred)18.09.7 (local machine)
Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)WSL 2 Ubuntu
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
AWS
cluster.yml file:
Steps to Reproduce:
rke etcd snapshot-save --config rancher-cluster.yml
INFO[0037] Finished saving snapshot [rancher-2-ha-backup] on all etcd hosts
/opt/rke/etcd-snapshots
-or-
rke etcd snapshot-save --config rancher-cluster.yml --name rancher-2-ha-backup \ --s3 --access-key xxx --secret-key xxx \ --bucket-name xxx --s3-endpoint s3.amazonaws.com
INFO[0037] Finished saving snapshot [rancher-2-ha-backup] on all etcd hosts
Results:
directory is empty
-or-
rancher-2-ha-backup.zip is empty
** additional info **
I also observed this behavior with v0.2.4
Rancher version is rancher-latest 2.2.7
There is no additional --debug flag available for this command. All rke output appears as though everything is normal and has completed successfully.
Followed the steps in the documentation here: https://rancher.com/docs/rancher/v2.x/en/backups/backups/ha-backups/#option-b-one-time-snapshots
The text was updated successfully, but these errors were encountered: