You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/11/22 08:22:56 UTC

[GitHub] [camel-k] Emmerson-Miranda opened a new issue, #654: Cannot load Knative configuration from file or env variable

Emmerson-Miranda opened a new issue, #654:
URL: https://github.com/apache/camel-k/issues/654

   Hello,
   
   I trying to run the examples
   - oc create -f messages-channel.yaml 
   - kamel run feed.groovy 
   
   In minikube console I have following message:
   Failed to resolve endpoint: knative://channel/messages due to: Cannot load Knative configuration from file or env variable
   
   
   Please find attached minishift log file.
   
   [feed-845b4f57b-8zqtz.log](https://github.com/apache/camel-k/files/3170695/feed-845b4f57b-8zqtz.log)
   
   Am I missing some configuration steps ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot load Knative configuration from file or env variable [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez closed issue #654: Cannot load Knative configuration from file or env variable
URL: https://github.com/apache/camel-k/issues/654


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] github-actions[bot] commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1562086400

   This issue has been automatically marked as stale due to 90 days of inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1322550843

   this error indicates that Knative serving is missing on the cluster or that Camel K is misconfigured according to Knative serving (e.g. installation of Knative serving has been done after Camel K installation). 
   
   Serving is mandatory to inject proper K_SINK env var as part of sink binding when resolving broker URLs in the integration.
   
   Reviewing Knative serving installation and Camel K configuration may help fixing this kind of error


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] lburgazzoli commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323293694

   the knative environment concept has been added for that purpose so if that json is properly crafted, the component should work. As today I think, the camel-k operator automatically configure the sinkbinding trait or something like that so a K_SINK is expected. 
   
   Maybe the operator can create a synthetic K_SINK env var if serving is not installed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by "christophd (via GitHub)" <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1438076496

   still relevant


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323283887

   I guess you will need to explicitly provide the Knative broker URL then as a component property when Serving is not available


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] lburgazzoli commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
lburgazzoli commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323322533

   both are fine with me, like:
   
   1. if user provide something use it
   2. try to resolve it on the operator
   3. if not resolved or missing requirements, don't deploy the integration (we have a similar issue opened already)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] squakez commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
squakez commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323271868

   @christophd this issue was closed long time ago, do you know if it's still relevant?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] github-actions[bot] commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1437694693

   This issue has been automatically marked as stale due to 90 days of inactivity. 
   It will be closed if no further activity occurs within 15 days.
   If you think that’s incorrect or the issue should never stale, please simply write any comment.
   Thanks for your contributions!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323280042

   @squakez I think users are still able to hit that error when Knative serving is missing/misconfigured. I actually hit that yesterday and wanted to share a potential root cause so others hitting this may have an idea


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Cannot load Knative configuration from file or env variable [camel-k]

Posted by "squakez (via GitHub)" <gi...@apache.org>.
squakez commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-2064238965

   I think this is no longer relevant after the changes introduced in https://github.com/apache/camel-k/pull/5186 - please, create a new issue if any other problem happens again.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323282918

   The question is that comes to my mind is: Do we have an alternative way to configure a Knative component when serving is not available on the cluster. As mentioned at the moment we rely on the K_SINK injection mechanism provided by Knative Serving.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323285381

   the same error message has been mentioned here: https://github.com/apache/camel-k/issues/1871


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [camel-k] christophd commented on issue #654: Cannot load Knative configuration from file or env variable

Posted by GitBox <gi...@apache.org>.
christophd commented on issue #654:
URL: https://github.com/apache/camel-k/issues/654#issuecomment-1323310955

   Yes, K_SINK added by the Camel K operator could be a fallback option. But the user somehow needs to provide that broker URL in that case or do you think of adding some addressable resolver mechanism to the Camel K operator?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org