Skip to content

Increase Manila StorageClass sync wait delay#8

Open
imatza-rh wants to merge 1 commit into
mainfrom
fix-manila-sc-retry-delay
Open

Increase Manila StorageClass sync wait delay#8
imatza-rh wants to merge 1 commit into
mainfrom
fix-manila-sc-retry-delay

Conversation

@imatza-rh
Copy link
Copy Markdown
Contributor

@imatza-rh imatza-rh commented May 18, 2026

Summary

The Manila CSI driver operator reconciles OpenStack share types to Kubernetes StorageClasses on a ~60-minute interval. The current delay of 15 seconds (60 retries × 15s = 15 min total) is not enough to catch the next resync after a new share type is created mid-cycle.

Evidence

Verified from CSI driver operator logs:

Event Timestamp (UTC)
csi-manila-default SC created (initial sync) 01:17:11
Test creates "foo" share type 01:57:51
Test gives up (60 retries exhausted) 02:14:29
csi-manila-foo SC created (next sync) 02:17:11

Missed by 2 minutes 42 seconds. Same failure confirmed on multiple periodic runs.

Fix

Change delay from 15s to 60s, matching existing patterns in the repo (install_custom_mce: 60 × 60s, change_cloud_cm: 30 × 120s). Same retry count, 60-minute total coverage.

The Manila CSI driver operator reconciles OpenStack share types to
Kubernetes StorageClasses on a ~60-minute interval. The current
delay of 15 seconds (60 retries x 15s = 15 min total) is not enough
to catch the next resync after a new share type is created mid-cycle.

Verified from operator logs: the csi-manila-default SC was created
at 01:17:11 UTC and csi-manila-foo at 02:17:11 UTC - exactly 60
minutes apart. The test created the foo share type at 01:57:51
and gave up at 02:14:29, missing the sync by 2m 42s.

Change delay from 15s to 60s (matching install_custom_mce and
change_cloud_cm patterns), keeping 60 retries for a 60-minute
total wait that covers the full CSI operator resync cycle.

Change-Id: If18c7a148f4b8c708793154e4d77241797a7416c
Signed-off-by: Itay Matza <imatza@redhat.com>
Assisted-By: Claude Code
Signed-off-by: Itay Matza <imatza@redhat.com>
@imatza-rh imatza-rh force-pushed the fix-manila-sc-retry-delay branch from 91a9963 to be38bd5 Compare May 18, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant