Closed jiayihu closed 3 years ago
I have checked the broker ups-broker
is live and reachable via DNS from the catalog
namespace. For instance I can k exec -ti dnsutils -n catalog -- wget --header="X-Broker-API-Version: 2.16" -O - http://ups-broker-ups-broker.ups-broker/v2/catalog
To be precise, from my custom OSB I can see that the actually no request is even reaching the broker.
The webhook and controller seem also to be live and fine. I'll attach the logs just as info.
Okay I was able to solve the issue, it was an issue in my node hosting the catalog. I noticed the node wasn't able to send back the responses to the master because it was missing the ip route
to handle packets with master's IP. The flannel.1
interface was missing for the master IP.
These are the steps I've taken to debug. Your issue might be different, but I hope this helps:
kubectl
and reading the logsflannel.1
. You can filter by source IP or host IP. You should see TCP packets going in/out when a request reaches the catalog service.ClusterIP
.In my case I noticed that the master was able to send the packet to the service but I only saw Start
packets, without ACK or anything going back to the master. That's when I got suspicious and I noticed the missing network interface for the master. Re-installing the cluster and rebooting solved the issue.
Bug Report
What happened: I've installed the catalog chart but I can't register any broker. I've tried with both a custom broker and
ups-broker
. This is the error no matter how I try it (both withsvcat
and YAML)What you expected to happen: Being able to register the broker
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Kubernetes version (use
kubectl version
): 1.20 via k3s versoin v1.20.0+k3s2service-catalog version: 0.3.1
Cloud provider or hardware configuration:
Do you have api aggregation enabled?
extension-apiserver-authentication
kubectl get cm -n kube-system extension-apiserver-authentication -o yaml
and look forrequestheader-XXX
fieldsInstall tools:
--set
any extra values? I've changed the image urls adding-arm64
invalues.yml
, directly inside the chart package.Are you trying to use ALPHA features? Did you enable them? No