cloudfoundry / bosh-alicloud-cpi-release

BOSH Alibaba CPI
Apache License 2.0
32 stars 20 forks source link

Bosh director self snapshots are not being triggered #154

Open l-dimitrov opened 2 years ago

l-dimitrov commented 2 years ago

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 commented 2 years ago

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?