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

[BUG] k8s和openstack打通后,vm侧不能通过SwitchLBRule的vip请求pod服务 #4814

Open
acechef opened this issue Dec 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@acechef
Copy link

acechef commented Dec 11, 2024

Kube-OVN Version

v1.12.29

Kubernetes Version

v1.30

Operation-system/Kernel Version

Ubuntu 24.04.1 LTS

Description

我现在按照文档通过共享底层 OVN方式已经将k8s和openstack进行打通
image

pod请求vm:
image

vm请求pod:
image

同时,我创建了nginx deployment,并配置了SwitchLBRule
image
image
同namespace下也有svc生成:
image

现在在vm侧通过vip请求不通:
image

同namespace下的busybox pod通过vip请求是通的:
image

想问下是怎么回事?相关信息
image

image

image

Steps To Reproduce

Current Behavior

vm侧不能通过curl vip的方式请求nginx pod

Expected Behavior

希望vm侧能通过curl vip的方式成功请求nginx pod

@acechef acechef added the bug Something isn't working label Dec 11, 2024
Copy link

dosubot bot commented Dec 11, 2024

Hi @acechef 👋, I'm here to help you with your technical issues and questions. Let's work together to solve this bug and get things back on track.

I found a similar closed issue that might be relevant to your problem. In the issue titled "创建SwitchLBRule资源对象,访问VIP不通," the suggested solution was to set the spec.vip address in the SwitchLBRule to an IP within the Kubernetes service range [1]. This might be worth trying in your setup to see if it resolves the issue with accessing the pod service from the VM side using the VIP.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other

@acechef
Copy link
Author

acechef commented Dec 11, 2024

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant