Skip to content

Failure of the GC trying to remove message for not enough space when coalescing that stays in SR sm-config #771

@Nambrok

Description

@Nambrok

Hello,

When a SR has not enough storage space to coalesce, a message is sent through XAPI and the message OpaqueRef stored on the SR sm-config.
Following this when we don't have any more VDIs in no_space_candidates, we destroy this message in XAPI but the OpaqueRef doesn't appear to be removed from sm-config.
Meaning that another run with no_space_candidates empty will try to destroy the same message again and fail with:

 XenAPI.Failure: ['HANDLE_INVALID', 'message', 'OpaqueRef:6d3d6949-9700-b764-0b63-1d2707ce5a53']

Is the gc_no_space key in the SR sm-config supposed to be removed from somewhere else?

Thanks

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