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: inventory_name is localhost, install failed #2344

Merged
merged 20 commits into from
Aug 5, 2024

Conversation

redscholar
Copy link
Collaborator

@redscholar redscholar commented Aug 5, 2024

What type of PR is this?

/kind bug

What this PR does / why we need it:

when run in localhost node. it should do that like this:

  1. add a variable 'hostname'. when inventory.spec.host is localhost the value is actual hostname, otherwise, the value is inventory.spec.host
  2. should not change the node hostname to localhost

test result:
when run kk create cluster in a single node. it's work.
image

Which issue(s) this PR fixes:

Fixes #
企业微信截图_b2902319-2a37-4b9a-9552-0f8b767bb9fb

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


joyceliu added 19 commits August 5, 2024 11:05
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
Signed-off-by: joyceliu <joyceliu@yunify.com>
@ks-ci-bot ks-ci-bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 5, 2024
@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ImitationImmortal

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

@ks-ci-bot ks-ci-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Aug 5, 2024
Signed-off-by: joyceliu <joyceliu@yunify.com>
Copy link

sonarcloud bot commented Aug 5, 2024

@redscholar redscholar changed the title fix: inventory_name is localhost, install error fix: inventory_name is localhost, install failed Aug 5, 2024
@liangzai006
Copy link
Collaborator

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 5, 2024
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: 4565204732ad6873b1102a14998dd6c434343f9d

@ks-ci-bot ks-ci-bot merged commit 526e234 into kubesphere:feature-gitops Aug 5, 2024
8 checks passed
@redscholar redscholar deleted the feature branch August 6, 2024 03:30
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. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants