Skip to content

fix Update mode failed#1188

Merged
kmesh-bot merged 1 commit intokmesh-net:mainfrom
lec-bit:issue
Jan 15, 2025
Merged

fix Update mode failed#1188
kmesh-bot merged 1 commit intokmesh-net:mainfrom
lec-bit:issue

Conversation

@lec-bit
Copy link
Copy Markdown
Contributor

@lec-bit lec-bit commented Jan 15, 2025

What type of PR is this?
/kind bug

What this PR does / why we need it:
kmesh currently does not support Update mode. When starting from Update mode, it should start in Normal mode. However, all residual data is not properly cleared, resulting in a startup error.
Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


@kmesh-bot kmesh-bot added the kind/bug Something isn't working label Jan 15, 2025
@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

When is the plan to support update?

@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

/lgtm

@hzxuzhonghu
Copy link
Copy Markdown
Member

can you test it manually since we donot have e2e for this now

@lec-bit
Copy link
Copy Markdown
Contributor Author

lec-bit commented Jan 15, 2025

image

Copy link
Copy Markdown
Contributor

@LiZhenCheng9527 LiZhenCheng9527 left a comment

Choose a reason for hiding this comment

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

If your codes has some problem, how do you build successful?

VersionPath = "/bpf_kmesh/map/"
WorkloadVersionPath = "/bpf_kmesh_workload/map/"

kmKernelNativeBpfPath = "/bpf_kmesh"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
kmKernelNativeBpfPath = "/bpf_kmesh"
KmKernelNativeBpfPath = "/bpf_kmesh"

WorkloadVersionPath = "/bpf_kmesh_workload/map/"

kmKernelNativeBpfPath = "/bpf_kmesh"
kmDualEngineBpfPath = "/bpf_kmesh_workload"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
kmDualEngineBpfPath = "/bpf_kmesh_workload"
KmDualEngineBpfPath = "/bpf_kmesh_workload"

Signed-off-by: lec-bit <glfhmzmy@126.com>
@LiZhenCheng9527
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@kmesh-bot kmesh-bot added the lgtm label Jan 15, 2025
@kmesh-bot
Copy link
Copy Markdown
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: LiZhenCheng9527

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

The pull request process is described here

Details 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

@kmesh-bot kmesh-bot merged commit 6c8a802 into kmesh-net:main Jan 15, 2025
@kmesh-bot
Copy link
Copy Markdown
Collaborator

In response to a cherrypick label: new pull request created: #1190

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants