Closed sykim-etri closed 2 years ago
This is weird.. LB is a VM with pre-installed haproxy by default and the ip 1.2.1.214 should be the ip of the LB I knew we had a sec group fix recently https://github.com/kubernetes/cloud-provider-openstack/issues/1830 but not sure it's related ,as you can curl from one machine but not the other seems related to firewall..
are you able to check any logs in OCCM logs and see any thing suspcious?
@jichenjc Thanks for your comment.
This is full OCCM log. I use latest occm version with log level 4.
In this log, I think this warning is suspicious. But I don't know what it means.--;
W0520 20:30:23.777141 1 openstack.go:325] Failed to create an OpenStack Secret client: unable to initialize keymanager client for region RegionOne: No suitable endpoint could be found in the service catalog.
root@octavia-k8s-1:~/cloud-provider-openstack/examples/loadbalancers# k get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
external-http-nginx-service LoadBalancer 10.233.10.134 1.2.1.249 80:31217/TCP 7m28s
kubernetes ClusterIP 10.233.0.1 <none> 443/TCP 32h
@jichenjc This is more detailed log(level 7).
Failed to create an OpenStack Secret client: unable to initialize keymanager client for region RegionOne: No suitable endpoint could be found in the service catalog.
this is ok, as it only tell us it's not able to find barican service in your catalog which is optional .
the log provided seems truncated ,and nothing special until I0522 13:46:34.568918
which is last log I can see..
have you tcpdump on the VM to anything wrong there? beyond my expertise now ... not sure someone else has background?
@jichenjc Thanks for your comment.
Do you know any openstack(with octavia) installation documents as line by line? I'll try a clean install.
I guess my network configuration may be wrong.
I think https://docs.openstack.org/devstack/latest/guides/devstack-with-lbaas-v2.html might be the easiest way to go..
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues and PRs according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
Is this a BUG REPORT or FEATURE REQUEST?:
What happened: At first, I set up Openstack (xena) with octavia into openstack-server machine. I tested a loadbalancer is working well.
And then I installed kubernetes cluster(v1.22.8) by kubespray in 2 VMs which are created on above Openstack.
I configured kubernetes for occm (v1.22.1) and I applied several yaml files in
~/cloud-provider-openstack/manifests/controller-manager
. (cloud-controller-manager-roles.yaml, openstack-cloud-controller-manager-ds.yaml, cloud-controller-manager-role-bindings.yaml kubeadm.conf, openstack-cloud-controller-manager-pod.yaml)Finally, I applied
~/cloud-provider-openstack/examples/loadbalancers/external-http-nginx.yaml
. And I got external ip for external-http-nginx-service successfully.In kubernetes nodes, I can access the external-http-nginx-service by 1.2.1.242 well.
BUT, in other nodes(VM) in same subnet or physical machine(openstack-server), I cannot get the result by 1.2.1.242.
I guess maybe I'm missing some configuration.
What you expected to happen: In other nodes(VM) in same subnet or openstack-server
How to reproduce it:
Anything else we need to know?: I installed openstack by kolla-ansible for xena.
kubernetes master's
ip a
result is as below:openstack-server's
ip route
is as below:Environment: