-
Notifications
You must be signed in to change notification settings - Fork 907
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
Expiry storage volume backups #12029
Expiry storage volume backups #12029
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a question above.
1abf1aa
to
f0a461f
Compare
Can we have a test for this process? |
So, we cannot have the test wait for an hour which is why we don't have tests for the instance backup removal either. But we could in theory start LXD, create a storage volume backup,restart LXD, and hope that the backup gets cleaned up. |
Yes I think that is what the other snapshot expiry tests do. |
f0a461f
to
78c1524
Compare
78c1524
to
67d375c
Compare
67d375c
to
975bd13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are failing though
Tests are failing because |
975bd13
to
1ffd204
Compare
@monstermunchkin ceph tests failing |
Amy idea what's causing ceph to fail? |
Will need a rebase to fix curl in tests too |
I'm currently investigating the ceph issue. |
Ah, I know why this is failing. For ceph volumes, we set |
1ffd204
to
77453dd
Compare
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Fixes canonical#12028 Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
77453dd
to
63d8be8
Compare
@tomponline I fixed the ceph issue, and all tests should be good now. |
Thanks! |
This adds an hourly task which removes expired storage volume snapshots.