Giter Club home page Giter Club logo

direktiv-knative-source's People

Contributors

jensg-st avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

jensg-st

direktiv-knative-source's Issues

Direktiv knative source failed to find URI

Problem description

I was following the (kafka example)[https://docs.direktiv.io/v0.6.1/events/knative/example/] and everything seems to be working fine up to the point where i need to install a direktiv knative source to push the kafka events into knative. The source for some reason fails to install and the log is saying it's not ready due to failing to find the URI

Expected behaviour

Source is able to connect to the defined direktiv-flow URI and become ready.

Actual behaviour

ContainerSource is stuck in Not Ready and the reason is NoURI

│         Image:  vorteil/direktiv-knative-source                                                                                                                                                                       │
│         Name:   direktiv-source                                                                                                                                                                                       │
│         Resources:                                                                                                                                                                                                    │
│ Status:                                                                                                                                                                                                               │
│   Conditions:                                                                                                                                                                                                         │
│     Last Transition Time:  2022-04-13T16:21:12Z                                                                                                                                                                       │
│     Message:               URI could not be extracted from destination                                                                                                                                                │
│     Reason:                NoURI                                                                                                                                                                                      │
│     Status:                False                                                                                                                                                                                      │
│     Type:                  Ready                                                                                                                                                                                      │
│     Last Transition Time:  2022-04-13T16:21:12Z                                                                                                                                                                       │
│     Status:                True                                                                                                                                                                                       │
│     Type:                  ReceiveAdapterReady                                                                                                                                                                        │
│     Last Transition Time:  2022-04-13T16:21:07Z                                                                                                                                                                       │
│     Message:               URI could not be extracted from destination                                                                                                                                                │
│     Reason:                NoURI                                                                                                                                                                                      │
│     Status:                False                                                                                                                                                                                      │
│     Type:                  SinkBindingReady                                                                                                                                                                           │
│   Observed Generation:     1                                                                                                                                                                                          │
│ Events:                                                                                                                                                                                                               │
│   Type    Reason                             Age                From                        Message                                                                                                                   │
│   ----    ------                             ----               ----                        -------                                                                                                                   │
│   Normal  ContainerSourceSinkBindingCreated  18m                containersource-controller  SinkBinding created "direktiv-source-sinkbinding"                                                                         │
│   Normal  ContainerSourceDeploymentCreated   18m                containersource-controller  Deployment created "direktiv-source-deployment"                                                                           │
│   Normal  ContainerSourceReconciled          18m (x8 over 18m)  containersource-controller  ContainerSource reconciled: "datacrawl/direktiv-source"                                                                   │
│                                                                                                                                                         

direktiv-source deployment

{"level":"error","ts":"2022-04-13T16:30:03.487Z","caller":"direktiv-knative-source/main.go:165","msg":"failed to send, not initialized: &http.Protocol{Target:(*url.URL)(nil), RequestTemplate:(*http.Request)(nil),

Steps to reproduce

Install direktiv-source:

apiVersion: sources.knative.dev/v1
kind: ContainerSource
metadata:
  name: direktiv-source
  namespace: datacrawl
spec:
  template:
    spec:
      containers:
        - image: vorteil/direktiv-knative-source
          name: direktiv-source
          args:
            - --direktiv=direktiv-flow.datacrawl:3333
  sink:
    ref:
      apiVersion: eventing.knative.dev/v1
      kind: Broker
      name: kakfa0-broker
      namespace: datacrawl

System details

Please include details about the system that the issue can be reproduced on, including:

  • minikube (single node) version v1.23.3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.