post: commit dd71731 in bojemoi
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled
This commit is contained in:
50
content/posts/commits/2026-06-04-commit-dd71731.md
Normal file
50
content/posts/commits/2026-06-04-commit-dd71731.md
Normal file
@@ -0,0 +1,50 @@
|
||||
---
|
||||
title: "[bojemoi] feat(orchestrator): déploiement VM async avec job tracking"
|
||||
date: 2026-06-04T08:07:14+02:00
|
||||
draft: false
|
||||
tags: ["commit", "bojemoi", "main"]
|
||||
categories: ["Git Activity"]
|
||||
summary: "Commit dd71731 par Betty dans bojemoi"
|
||||
author: "Betty"
|
||||
---
|
||||
|
||||
## Commit `dd71731`
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
| **Repository** | bojemoi |
|
||||
| **Branch** | `main` |
|
||||
| **Author** | Betty |
|
||||
| **Hash** | `dd717311fdc842976b15b47207ec9be69bf3dbe3` |
|
||||
|
||||
|
||||
### Description
|
||||
|
||||
POST /api/v1/vm/deploy retourne immédiatement un job_id.
|
||||
GET /api/v1/vm/job/{job_id} permet de poller le statut.
|
||||
|
||||
xenserver_client_real fixes:
|
||||
- Fix 1: timeout asyncio.wait_for 600s sur toutes les ops XenAPI
|
||||
- Fix 2: timeout TCP socket 120s pour éviter les hangs réseau
|
||||
- Fix 3: session lock asyncio pour thread-safety XenAPI
|
||||
- Fix 4: check VM doublon avant clone (VM_ALREADY_EXISTS)
|
||||
- Logs étape [1/8]→[8/8] pour traçabilité complète
|
||||
|
||||
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||||
|
||||
### Files Changed
|
||||
|
||||
```
|
||||
M provisioning/orchestrator/app/main.py
|
||||
M provisioning/orchestrator/app/models/schemas.py
|
||||
M provisioning/orchestrator/app/services/xenserver_client_real.py
|
||||
```
|
||||
|
||||
### Diff Summary
|
||||
|
||||
```
|
||||
provisioning/orchestrator/app/main.py | 136 +++++++++++++--------
|
||||
provisioning/orchestrator/app/models/schemas.py | 23 ++++
|
||||
.../app/services/xenserver_client_real.py | 77 ++++++++++--
|
||||
3 files changed, 180 insertions(+), 56 deletions(-)
|
||||
```
|
||||
Reference in New Issue
Block a user