-
Notifications
You must be signed in to change notification settings - Fork 597
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
Runing CronJobSource Problem "53: no such host" #1973
Comments
Have you tried invoking |
Similar error for me:
|
I'm getting similar errors with any event consumer that is a knative service. Switching to a deployment + k8s service gets things working, but not ideal. |
@tcnghia Are there any known issues? Is this something that should work with the 0.9 comprehensive install, or do you need to do something else to get this working? I'd expect that the comprehensive version of the install would support this out of the box?
|
or maybe this: https://knative.dev/development/install/installing-istio/ section |
Yes, I have tried invoking
|
Hi @vaikas-google , I think you're right, it's not an eventing problem. I found the VirtualService have been changed between the v0.8.0 and the v0.9.0.
With the 0.8.0 of event-display:
|
Have you upgraded to serving 0.9.0? In that case you also need to install the istio cluster-local-gateway. |
Thanks all for the pointers, yes, the current instructions that I had been following for the repro omitted the installation of the cluster-local-gateway. |
and little more, I had been using GKE Istio addon, and trying to install the cluster-local-gateway appeared to be problematic, so mayhaps we need to update the installation instructions for that. |
I installed istio manually and added the cluster-local-gateway manually, following the knative.dev doc. |
Hi @lionelvillard , yes, I have upgraded to serving 0.9.0. And i have seen the knative.dev doc about the cluster-local-gateway, but it seems need to disable the ingressgateway. And I still need the ingressgateway. |
Hi, @vaikas-google , I use the knative in alibaba cloud. it has the ingressgateway now, but it seem that I still need install the cluster-local-gateway manually in istio after upgrading to the v0.9.0.
|
@vaikas-google I also used Istio add-on on GKE. Is it straightforward to add cluster-local-gateway onto that? |
Sorry for the tardy reply... work got in the way of things ;) Yes, so the workaround is to install the correct version from the serving stack. So, if you create a GKE cluster using the Istio Add on, you need to then install this (mine is 1.1.13). https://github.com/knative/serving/blob/master/third_party/istio-1.1.15/istio-knative-extras.yaml You can figure out which version of istio is by looking at the tagged version, something like: So, mine is 1.1.13. We don't have that specific version, but 1.1.15 istio works fine. We're going to fix this either in the install instructions themselves, but if you kubectl create -f the file above I have verified that it then works. Just a quick update for now to hopefully unblock folks. |
@vaikas-google Tks. I can refer the https://github.com/knative/serving/blob/master/third_party/istio-1.2.6/istio-knative-extras.yaml to install the 'cluster-local-gateway'. And it works now |
Still no luck on my side even with a default namespace broker, either with Istio add-on or a manually installed Istio (1.3.1) with extras applied (that is, cluster-local-gateway created). |
@ratamovic Is there anything in your ingress after the log entries you have added to the pastebin? I created the namespace exactly as you did and then created the following objects and it's working fine for me. apiVersion: sources.eventing.knative.dev/v1alpha1 And in the event-display logs, I see the following: ☁️ CloudEvent: valid ✅ What is the error message you're observing from the Source that's trying to publish to the Broker? Or if that succeeds, are there any other errors in the pods logs besides the two lines you added to pastebin? |
Hi @ratamovic, you can refer 'https://github.com/knative/docs/tree/master/docs/eventing/debugging' to find the problem. |
Hi. Thanks @vaikas-google @richard2006 . Indeed it works the "extras" yaml works. |
@ratamovic Fantastic to hear, sorry for the troubles 😢 |
@meteatamel were you able to get unblocked with the extras installed? |
I haven't tried yet, need to keep my cluster for talks I'm giving this week but I will report back soon. |
LOL, ok :) Thanks and good luck on the talks!
…On Thu, Oct 10, 2019 at 11:09 AM Mete Atamel ***@***.***> wrote:
I haven't tried yet, need to keep my cluster for talks I'm giving this
week but I will report back soon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1973?email_source=notifications&email_token=ACWB45GQMFSPL4NQJVPECS3QN5VV7A5CNFSM4I3SIUD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEA5IIZQ#issuecomment-540705894>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWB45HQ2SCGTG2N5H3YBDTQN5VV7ANCNFSM4I3SIUDQ>
.
|
@vaikas-google Looks like
|
@meteatamel You're 💯 % correct that this experience is totally b0rk3d :) We're working on updating the docs as well as finding a way to cherrypick so the docs make sense. Oh snap on the version of the Istio, it was there just the other day. |
I had this issue with istio 1.3.2 and running this command fixed the eventing (and cronjob): |
Hi, @vaikas-google , I used the 1.2.6. And It works fine.
|
I just verified that Istio GKE add-on version My Hello World Eventing sample shows all the steps needed to get Knative Eventing setup for consuming GCP Pub/Sub messages now. |
Great! Thanks for checking, much appreciated!
…On Mon, Oct 14, 2019 at 6:42 AM Mete Atamel ***@***.***> wrote:
I just verified that Istio GKE add-on version 1.1.13 works fine against
https://raw.githubusercontent.com/knative/serving/master/third_party/istio-1.2.7/istio-knative-extras.yaml
and I was able to get Knative Services as eventing sinks in my samples.
My Hello World Eventing
<https://github.com/meteatamel/knative-tutorial/blob/master/docs/08-helloworldeventing.md>
sample shows all the steps needed to get Knative Eventing setup for
consuming GCP Pub/Sub messages now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1973?email_source=notifications&email_token=ACWB45CWBX4GAPLF4N7XUCDQORZLNA5CNFSM4I3SIUD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBEXK4I#issuecomment-541685105>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACWB45EB6NDCN2TN5VYUKTDQORZLNANCNFSM4I3SIUDQ>
.
|
I'm closing this as the documentation has been updated on GKE specific instructions to install the cluster local gateway and it's been cherrypicked into 0.9 documents. |
@vaikas-google Good. |
Describe the bug
About Knative Eventing v0.9.0, creating the CronJobSource, but got the problem :
Expected behavior
Send the message to the event-display
To Reproduce
Create the CronJobSource:
And the event-display:
Error Output:
Knative release version
v0.9.0
Additional context
event-display service is running normally:
The text was updated successfully, but these errors were encountered: