Skip to content

CP-53470 Additional traces around xenopsd VM_migrate & rejoin traceparents in requests forwarded to xenopsd by xapi #6275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 17, 2025

Conversation

xs-aidan
Copy link
Contributor

@xs-aidan xs-aidan commented Feb 4, 2025

Reconnected VM_receive_memory span to VM.migrate:
When xapi passes the traceparent header to xenopsd it is serialised under the additional_headers field of the json body, updated xenopsd to expect that instead of sourcing it from the non existent traceparent field

Added some additional spans around vm migration critical section including the specific point we receive the suspend from emu-manager/xenguest - this required moving the with_tracing function to a more common location

@xs-aidan xs-aidan marked this pull request as draft February 4, 2025 17:23
@xs-aidan xs-aidan force-pushed the private/aallen1/CP-50836 branch from cf535d2 to 077961f Compare February 5, 2025 08:36
@xs-aidan
Copy link
Contributor Author

xs-aidan commented Feb 5, 2025

updated DCO & ran ocamlformat

@last-genius
Copy link
Contributor

I had no idea CI workflows "required approval from a maintainer" - I gave mine to see if everything passes here.

@lindig
Copy link
Contributor

lindig commented Feb 5, 2025

To cover the entire body of a function with a with_x function, I suggest to use @@ (@contificate might disagree) because it does not require to re-indent the body.

with_f ... @@ fun () ->
(body of function)

@xs-aidan xs-aidan marked this pull request as ready for review February 5, 2025 09:59
@edwintorok
Copy link
Contributor

discussed during standup that the PID changes could be split into a PR of its own.

@xs-aidan xs-aidan force-pushed the private/aallen1/CP-50836 branch from 077961f to 97c2305 Compare February 5, 2025 15:27
@xs-aidan xs-aidan force-pushed the private/aallen1/CP-50836 branch from 97c2305 to 82890cc Compare February 5, 2025 15:54
@xs-aidan
Copy link
Contributor Author

xs-aidan commented Feb 5, 2025

Signed-off-by: Aidan Allen <aidan.allen1@cloud.com>
Signed-off-by: Aidan Allen <aidan.allen1@cloud.com>
@xs-aidan xs-aidan force-pushed the private/aallen1/CP-50836 branch from 82890cc to 6587b75 Compare February 6, 2025 12:50
@xs-aidan xs-aidan changed the title CP-53470 Additional traces around xenopsd VM_migrate & remove varstored PID from xenstore CP-53470 Additional traces around xenopsd VM_migrate & rejoin traceparents in requests forwarded to xenopsd by xapi Feb 6, 2025
@xs-aidan
Copy link
Contributor Author

BVT + BST : 212301

@edwintorok edwintorok added this pull request to the merge queue Feb 17, 2025
Merged via the queue into xapi-project:master with commit ec70db5 Feb 17, 2025
15 checks passed
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.

8 participants