You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
want mechanism to track & report on live migration statuses #2948
The idea here is to have the migration API (or at least the internal functions that implement it) return information about the migration as such, including a migration ID that can be used to obtain more information about whether the migration has been disposed of and, if not, what stage it's in.
The ongoing live migration PR series includes a change that will make sled agent aware of Propolis's attempts to report migration statuses, but sled agent won't (at least not at first) report these to Nexus. The work needed to fix this once that merges would thus be something like
Define a table that contains migration records
Add an endpoint (or augment the existing instance PUT endpoint) to the Nexus/sled agent internal API that lets the latter advise the former of migration status updates
Update the migration saga to return the initial migration status blob that the saga creates (similar to what we do for instances: the saga adds an initial migration record, then returns it as the output, which gives the caller a migration ID it can use to query for additional information)
Activity
gjcolombo commentedon Apr 28, 2023
Probably hit "submit" too soon.
The idea here is to have the migration API (or at least the internal functions that implement it) return information about the migration as such, including a migration ID that can be used to obtain more information about whether the migration has been disposed of and, if not, what stage it's in.
The ongoing live migration PR series includes a change that will make sled agent aware of Propolis's attempts to report migration statuses, but sled agent won't (at least not at first) report these to Nexus. The work needed to fix this once that merges would thus be something like
Add `migration` table and explicit migration tracking in sled-agent (#…