Skip to content

Improve error messages when vdi_type is missing#103

Merged
Wescoeur merged 1 commit into3.2.12-8.3from
improve-error-with-bad-mgt
Dec 8, 2025
Merged

Improve error messages when vdi_type is missing#103
Wescoeur merged 1 commit into3.2.12-8.3from
improve-error-with-bad-mgt

Conversation

@klmp200
Copy link

@klmp200 klmp200 commented Oct 10, 2025

Explicit error message pointing to missing vdi_type on SRMetadata update Add a distinction for unpacking corrupted empty metadata headers for easier diagnostic

@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from 4f420ee to d452e1d Compare October 10, 2025 08:59
@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from d452e1d to 4d34bd3 Compare October 10, 2025 09:28
@klmp200 klmp200 requested a review from Wescoeur October 10, 2025 09:31
@Wescoeur Wescoeur requested a review from Nambrok October 14, 2025 20:37
@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from 4d34bd3 to 0ab6925 Compare October 15, 2025 14:24
@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from 0ab6925 to bde2e79 Compare October 24, 2025 07:42
@klmp200 klmp200 requested a review from Nambrok October 24, 2025 07:42
@Wescoeur
Copy link
Member

Sounds good. However, I think we can try to open a PR on the upstream side to avoid maintaining too many divergences on our side.

@Wescoeur Wescoeur force-pushed the 3.2.12-8.3 branch 2 times, most recently from 66c7c8e to aaaab27 Compare December 1, 2025 23:24
@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from bde2e79 to c755464 Compare December 2, 2025 09:46
@klmp200
Copy link
Author

klmp200 commented Dec 2, 2025

Merged upstream here xapi-project#780

@Wescoeur
Copy link
Member

Wescoeur commented Dec 2, 2025

Can you add the PR upstream changes here? If that's too complex we can deal without it.

Explicit error message pointing to missing vdi_type on SRMetadata update
Add a distinction for unpacking corrupted empty metadata headers for easier diagnostic

Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
@klmp200 klmp200 force-pushed the improve-error-with-bad-mgt branch from c755464 to 9369caf Compare December 8, 2025 08:41
@klmp200
Copy link
Author

klmp200 commented Dec 8, 2025

Can you add the PR upstream changes here? If that's too complex we can deal without it.

Of course, here it is :)

I've had to change one test slightly because it relied on some method that only exists upstream but it's almost identical.

@Wescoeur Wescoeur merged commit 465f951 into 3.2.12-8.3 Dec 8, 2025
5 checks passed
@Wescoeur Wescoeur deleted the improve-error-with-bad-mgt branch December 8, 2025 13:40
Wescoeur pushed a commit that referenced this pull request Dec 9, 2025
Explicit error message pointing to missing vdi_type on SRMetadata update
Add a distinction for unpacking corrupted empty metadata headers for easier diagnostic

Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
Wescoeur pushed a commit that referenced this pull request Dec 9, 2025
Explicit error message pointing to missing vdi_type on SRMetadata update
Add a distinction for unpacking corrupted empty metadata headers for easier diagnostic

Signed-off-by: Antoine Bartuccio <antoine.bartuccio@vates.tech>
@Wescoeur Wescoeur restored the improve-error-with-bad-mgt branch February 3, 2026 01:04
@Wescoeur Wescoeur deleted the improve-error-with-bad-mgt branch February 3, 2026 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments