Skip to content

Instance V2P management functions should include the instance's current sled #3107

Closed

Description

@gjcolombo

create_instance_v2p_mappings (and its delete counterpart) take an instance and propagate V2P mappings for that instance's NICs to every sled except the instance's current sled. Nexus ignores the current sled because incarnating an instance on a sled (or stopping an incarnation of an instance on a sled) creates (or destroys) XDE ports for that instance's NICs, and the XDE driver creates/destroys the relevant mappings on the local sled when it creates/destroys the port.

This behavior creates some tension for live migration, because Nexus has to worry about being undercut by XDE while applying mappings after a migration completes. The plan to resolve this tension is to have XDE stop manipulating mappings on port creation/deletion (oxidecomputer/opte#368) and let Nexus manage them all instead. Once that change lands and Nexus ingests it, Nexus's V2P mapping routines will need to stop skipping their subject instances' current sleds.

Activity

  1. internet-diglett commented on Apr 29, 2024

    @internet-diglett
    Contributor

    Marked this for resolution in #5568

  2. added a commit that references this issue on May 22, 2024
    2082942
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions