mmellin
2 months agoLevel 3
Crossplane - failure to delete port resource in Claim
I have created a Claim that includes a Device, Port, PortVlanAttachment and a Vlan. In order to create the Port I have to pass the Device Eth1 port UUID to the 'spec.forProvider.portId' of the Port Kind. This works and picks up the vlan info, but upon deleting the claim, the port is not deleted automatically as expected. The following event messages can be seen:
Conflicting configuration arguments: "vlan_ids": conflicts with vxlan_ids
Warning CannotObserveExternalResource 8s (x10 over 6m27s) managed/metal.equinix.jet.crossplane.io/v1alpha1, kind=port cannot run refresh: refresh failed: Conflicting configuration arguments: "vlan_ids": conflicts with vxlan_ids
Conflicting configuration arguments: "vxlan_ids": conflicts with vlan_ids
The spec of the object looks like this:
Spec:
Deletion Policy: Delete
For Provider:
Bonded: false
Port Id: b561e487-fbb0-4a2c-98e7-22da331ed316
Vlan Ids:
73f648b5-9b6b-4076-a6ab-673aa45c7152
Vxlan Ids:
1000
Provider Config Ref:
Name: default
In order to resolve the issue I need to manually delete the resources finalizer.