Platform reliability issue — OpenIaaS counterpart of #315 (VPC ComputeManager) on the backup-policies read path.
Symptom
GET /api/backup/v1/open_iaas/policies intermittently hangs for several minutes before returning normally — the exact symptom that prompted #339 ("Observed live: a GET /backup/v1/open_iaas/policies hung ~3 minutes during a datasource read before manual abort").
Latest live reproduction (2026-06-29)
- Recette OpenIaaS,
shiva.cloud-temple.com, tenant fc37d401-….
- During a
terraform apply (provider built from main @ v1.8.0):
data.cloudtemple_compute_iaas_opensource_availability_zones stalled ~2 min.
data.cloudtemple_backup_iaas_opensource_policies was still "Still reading… [03m50s elapsed]" when the run was manually aborted.
- ~30 minutes later, a direct
curl to the same endpoint returned HTTP 200 in 306 ms (5 policies, 1577 bytes; TLS 74 ms, TTFB 304 ms).
- Cross-check
GET /api/backup/v1/spp/policies (VMware SPP equivalent, same proxy chain): 132 ms — slowness is isolated to the OpenIaaS backup path, not the HTTP/IAM/proxy stack.
- Therefore: a transient platform-side condition (likely a lock or queue on the OpenIaaS / Xen Orchestra policy backend) sporadically inflates this endpoint's latency by ~750× over normal.
Relationship with #339 and #315
Latency baseline (from #339's diagnostic + live cross-check)
Ask
Stabilise the /backup/v1/open_iaas/policies read path:
- Identify the platform-side cause of the multi-minute excursions (locking, GC pause, queue, slow downstream Xen Orchestra call, etc.).
- Document an expected nominal SLO for this endpoint so the provider can size its timeout/retry policy accordingly.
- Notify when remediation is deployed so we can re-baseline
CLOUDTEMPLE_HTTP_TIMEOUT and the retry parameters.
Provider-side: no change required (the #339 mitigation already protects user runs from infinite hangs). This issue tracks the upstream stabilisation only.
Refs
Platform reliability issue — OpenIaaS counterpart of #315 (VPC ComputeManager) on the backup-policies read path.
Symptom
GET /api/backup/v1/open_iaas/policiesintermittently hangs for several minutes before returning normally — the exact symptom that prompted #339 ("Observed live: aGET /backup/v1/open_iaas/policieshung ~3 minutes during a datasource read before manual abort").Latest live reproduction (2026-06-29)
shiva.cloud-temple.com, tenantfc37d401-….terraform apply(provider built frommain@ v1.8.0):data.cloudtemple_compute_iaas_opensource_availability_zonesstalled ~2 min.data.cloudtemple_backup_iaas_opensource_policieswas still "Still reading… [03m50s elapsed]" when the run was manually aborted.curlto the same endpoint returned HTTP 200 in 306 ms (5 policies, 1577 bytes; TLS 74 ms, TTFB 304 ms).GET /api/backup/v1/spp/policies(VMware SPP equivalent, same proxy chain): 132 ms — slowness is isolated to the OpenIaaS backup path, not the HTTP/IAM/proxy stack.Relationship with #339 and #315
CLOUDTEMPLE_HTTP_TIMEOUT(default 240 s) plus a bounded retry on idempotent GETs. It turns an infinite hang into either a transient retry success or an actionable failure. It does not fix the platform-side cause — client: reads lack a per-request timeout and transient-error retry — a slow/flaky API hangs or fails plan/apply #339 explicitly scopes that out:Latency baseline (from #339's diagnostic + live cross-check)
fc37d401-…(fsn-02), distinct from the client: reads lack a per-request timeout and transient-error retry — a slow/flaky API hangs or fails plan/apply #339 baseline tenant — the pathology is platform-wide, not tenant-specific.Ask
Stabilise the
/backup/v1/open_iaas/policiesread path:CLOUDTEMPLE_HTTP_TIMEOUTand the retry parameters.Provider-side: no change required (the #339 mitigation already protects user runs from infinite hangs). This issue tracks the upstream stabilisation only.
Refs