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

Bosh director self snapshots are not being triggered #154

Open
l-dimitrov opened this issue May 25, 2022 · 1 comment
Open

Bosh director self snapshots are not being triggered #154

l-dimitrov opened this issue May 25, 2022 · 1 comment

Comments

@l-dimitrov
Copy link

CPI Version: 43.0.0
BOSH Version: 272.2.0

Stemcell
Version: 1.79
Distro: Ubuntu
Location: (all locations)
Issue Details
Hi Team,
We have the following scenario for AuditLogService. We are missing self snapshots for the Bosh director on all providers (Ali, GCP, Azure) beside AWS where the following is working fine:
...
enable_snapshots: true
self_snapshot_schedule: 0 1 * * * UTC
I see the snapshot jobs queued in the log:
cat scheduler.stdout.log | grep -i "SnapshotSelf"
I, 2022-03-08T15:01:14.575512 #6 [] INFO – Director: added scheduled job 'Bosh::Director::Jobs::SnapshotSelf' with interval '0 1 * * * UTC'
I, 2022-03-09T01:00:00.113901 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-10T01:00:00.306874 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-11T01:00:00.058503 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-12T01:00:00.167865 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-13T01:00:00.268429 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-14T01:00:00.211582 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-15T01:00:00.062717 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-16T01:00:00.182310 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
I, 2022-03-17T01:00:00.109313 #6 [] INFO – Director: enqueueing 'SnapshotSelf'
however no snapshots created for all but AWS provides.Any thoughts on why this might be happening? Other VMs are being backed up and the issue is only to bosh director selfsnapshot feature.
Thanks and regards!

@l-dimitrov
Copy link
Author

Hello, We found the following when we added debuging:
./var/vcap/store/director/tasks/1835630/debug:21:I, [2022-05-31T01:00:00.346530 #31890] [task:1835630] INFO -- DirectorJobRunner: CPI does not support disk snapshots; skipping
./var/vcap/store/director/tasks/1853081/debug:21:I, [2022-06-02T01:00:00.320472 #23887] [task:1853081] INFO -- DirectorJobRunner: CPI does not support disk snapshots; skipping
./var/vcap/store/director/tasks/1845178/debug:21:I, [2022-06-01T01:00:00.242253 #32646] [task:1845178] INFO -- DirectorJobRunner: CPI does not support disk snapshots; skipping
can you maybe advise on what version of the CPI we must upgrade to?

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

No branches or pull requests

1 participant