Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing ExternalIP address duplication bug #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

preved911
Copy link
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