Skip to content

Fixing ExternalIP address duplication bug#42

Open
preved911 wants to merge 1 commit intodeckhouse:masterfrom
preved911:fix/external_ip_duplication
Open

Fixing ExternalIP address duplication bug#42
preved911 wants to merge 1 commit intodeckhouse:masterfrom
preved911:fix/external_ip_duplication

Conversation

@preved911
Copy link
Copy Markdown
Contributor

Hello. This PR should fix bug with updating node status addresses field. Right now I am getting error message like this:

yandex-cloud-controller-manager-7zsww yandex-cloud-controller-manager E0128 21:22:57.074080       1 node_controller.go:363] Error patching node with cloud ip addresses = [failed to patch status "{\"status\":{\"addresses\":[{\"address\":\"10.0.2.21\",\"type\":\"InternalIP\"},{\"address\":\"x.x.x.x\",\"type\":\"ExternalIP\"},{\"address\":\"x.x.x.x\",\"type\":\"ExternalIP\"},{\"address\":\"infr-master-ru-central1-c-0\",\"type\":\"Hostname\"},{\"$patch\":\"replace\"}]}}" for node "infr-master-ru-central1-c-0": Node "infr-master-ru-central1-c-0" is invalid: status.addresses[2]: Duplicate value: core.NodeAddress{Type:"ExternalIP", Address:"x.x.x.x"}]

P.S.: ExternalIP address value replaced by x.x.x.x string for security reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant