Skip to content

Port controller continues updating port when MAC address in AllowedAddressPairs is empty #852

Description

@chenwng

Problem description

In handleAllowedAddressPairsUpdate, if the MACAddress in AllowedAddressPairs is empty, missingPair and extraPair will be true, which causes the controller to update the port in OpenStack infinitely. The Progressing condition in Status will be stuck with message Resource status will be refreshed.

This can be reproduced by kubectl apply -k examples/apply/managed-network --server-side following the Running Example section in the document.

ORC version

main

Additional information

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions