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

Fix determine hostname for upgrades #708

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Conversation

xmudrii
Copy link
Member

@xmudrii xmudrii commented Oct 18, 2019

What this PR does / why we need it:

We have used the old function for determining hostname for upgrades, which doesn't respect the hostname if it is already set and always uses hostname -f. This PR updates the function to match the one used when installing.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #707

Does this PR introduce a user-facing change?:

Fix determine hostname for upgrades

/assign @kron4eg

@xmudrii xmudrii requested a review from kron4eg October 18, 2019 13:02
@kubermatic-bot kubermatic-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. labels Oct 18, 2019
@kubermatic-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xmudrii

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubermatic-bot kubermatic-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 18, 2019
@xmudrii
Copy link
Member Author

xmudrii commented Oct 18, 2019

/hold
until not tested

@kubermatic-bot kubermatic-bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Oct 18, 2019
@xmudrii
Copy link
Member Author

xmudrii commented Oct 18, 2019

/hold cancel

@kubermatic-bot kubermatic-bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Oct 18, 2019
Copy link
Member

@kron4eg kron4eg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@kubermatic-bot kubermatic-bot added the lgtm Indicates that a PR is ready to be merged. label Oct 18, 2019
@kubermatic-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 0494aa25f35d57e19f70c1b073a690a55cffe6ef

@kubermatic-bot kubermatic-bot merged commit 661bc45 into master Oct 18, 2019
@kubermatic-bot kubermatic-bot added this to the v0.11 milestone Oct 18, 2019
@kubermatic-bot kubermatic-bot deleted the upgrade-hostname branch October 18, 2019 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Denotes that all commits in the pull request have the valid DCO signoff message. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrading the master nodes does not work
3 participants