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 2020/12/23 09:04:36 UTC
[GitHub] [camel-k] amitsadaphule opened a new issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
amitsadaphule opened a new issue #1869:
URL: https://github.com/apache/camel-k/issues/1869
## SUMMARY
`./kamel install` brings up the camel-k-operator-xxx pod as expected.
```
# ./kamel install
Camel K installed in namespace default
# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default camel-k-operator-86cddf76d-qbttf 1/1 Running 0 5m12s
```
But when I execute `./kamel run examples/Sample.java`:
```
# ./kamel run examples/Sample.java
integration "sample" created
# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default camel-k-operator-86cddf76d-qbttf 1/1 Running 0 5m12s
default sample-7ddd4cf98d-smfgc 0/1 ImagePullBackOff 0 10s
...
# kubectl describe pod sample-7ddd4cf98d-smfgc
Name: sample-7ddd4cf98d-smfgc
Namespace: default
Priority: 0
Node: x006vm57/129.40.81.57
Start Time: Wed, 23 Dec 2020 03:24:58 -0500
Labels: camel.apache.org/integration=sample
pod-template-hash=7ddd4cf98d
Annotations: <none>
Status: Pending
IP: 172.17.0.6
IPs:
IP: 172.17.0.6
Controlled By: ReplicaSet/sample-7ddd4cf98d
Containers:
integration:
Container ID:
Image: 10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g@sha256:93289fd05071c295ce83d796cc1e42c767fd18b34ba569f871746af472afe952
Image ID:
Port: <none>
Host Port: <none>
Command:
/bin/sh
-c
Args:
echo exec java -cp ./resources:/etc/camel/conf:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/camel-k-integration-1.3.0-SNAPSHOT-runner.jar:dependencies/io.quarkus.arc.arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-bootstrap-runner-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-core-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-development-mode-spi-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-ide-launcher-1.8.0.Final.jar:dependencies/io.smallrye.common.smallrye-common-annotation-1.3.0.jar:dependencies/io.smallrye.common.smallrye-common-constraint-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-expression-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-function-1.1.0.jar:dependencies/io.smallrye.config.smallrye-config-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-common-1.8.6.jar:dependencies/jakarta.annotation.jakarta.annotation-api-1.3.5.jar:dependencies/jakarta
.el.jakarta.el-api-3.0.3.jar:dependencies/jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar:dependencies/jakarta.inject.jakarta.inject-api-1.0.jar:dependencies/jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar:dependencies/jakarta.transaction.jakarta.transaction-api-1.3.3.jar:dependencies/org.apache.camel.camel-api-3.5.0.jar:dependencies/org.apache.camel.camel-base-3.5.0.jar:dependencies/org.apache.camel.camel-bean-3.5.0.jar:dependencies/org.apache.camel.camel-componentdsl-3.5.0.jar:dependencies/org.apache.camel.camel-core-catalog-3.5.0.jar:dependencies/org.apache.camel.camel-core-engine-3.5.0.jar:dependencies/org.apache.camel.camel-core-languages-3.5.0.jar:dependencies/org.apache.camel.camel-endpointdsl-3.5.0.jar:dependencies/org.apache.camel.camel-main-3.5.0.jar:dependencies/org.apache.camel.camel-management-api-3.5.0.jar:dependencies/org.apache.camel.camel-microprofile-config-3.5.0.jar:dependencies/org.apache.camel.camel-support-3.5.0.jar:dependencies/org.apache.camel.c
amel-timer-3.5.0.jar:dependencies/org.apache.camel.camel-tooling-model-3.5.0.jar:dependencies/org.apache.camel.camel-util-3.5.0.jar:dependencies/org.apache.camel.camel-util-json-3.5.0.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-quarkus-1.5.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-bean-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-core-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-endpointdsl-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-main-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-support-common-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-timer-1.1.0.jar:dependencies/org.eclipse.microprofile.config.microprofile-config-
api-1.4.jar:dependencies/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar:dependencies/org.graalvm.sdk.graal-sdk-20.2.0.jar:dependencies/org.jboss.logging.jboss-logging-3.3.2.Final.jar:dependencies/org.jboss.logging.jboss-logging-annotations-2.1.0.Final.jar:dependencies/org.jboss.logmanager.jboss-logmanager-embedded-1.0.4.jar:dependencies/org.jboss.slf4j.slf4j-jboss-logging-1.2.0.Final.jar:dependencies/org.jboss.threads.jboss-threads-3.1.1.Final.jar:dependencies/org.jooq.joor-0.9.13.jar:dependencies/org.slf4j.slf4j-api-1.7.30.jar:dependencies/org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar io.quarkus.runner.GeneratedMain && exec java -cp ./resources:/etc/camel/conf:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/camel-k-integration-1.3.0-SNAPSHOT-runner.jar:dependencies/io.quarkus.arc.arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-bootstrap-runner-1.8.0.
Final.jar:dependencies/io.quarkus.quarkus-core-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-development-mode-spi-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-ide-launcher-1.8.0.Final.jar:dependencies/io.smallrye.common.smallrye-common-annotation-1.3.0.jar:dependencies/io.smallrye.common.smallrye-common-constraint-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-expression-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-function-1.1.0.jar:dependencies/io.smallrye.config.smallrye-config-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-common-1.8.6.jar:dependencies/jakarta.annotation.jakarta.annotation-api-1.3.5.jar:dependencies/jakarta.el.jakarta.el-api-3.0.3.jar:dependencies/jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar:dependencies/jakarta.inject.jakarta.inject-api-1.0.jar:dependencies/jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar:dependencies/jakarta.transaction.jakarta.transaction-api-1.3.3.jar:dependencies/org.apache.camel.camel
-api-3.5.0.jar:dependencies/org.apache.camel.camel-base-3.5.0.jar:dependencies/org.apache.camel.camel-bean-3.5.0.jar:dependencies/org.apache.camel.camel-componentdsl-3.5.0.jar:dependencies/org.apache.camel.camel-core-catalog-3.5.0.jar:dependencies/org.apache.camel.camel-core-engine-3.5.0.jar:dependencies/org.apache.camel.camel-core-languages-3.5.0.jar:dependencies/org.apache.camel.camel-endpointdsl-3.5.0.jar:dependencies/org.apache.camel.camel-main-3.5.0.jar:dependencies/org.apache.camel.camel-management-api-3.5.0.jar:dependencies/org.apache.camel.camel-microprofile-config-3.5.0.jar:dependencies/org.apache.camel.camel-support-3.5.0.jar:dependencies/org.apache.camel.camel-timer-3.5.0.jar:dependencies/org.apache.camel.camel-tooling-model-3.5.0.jar:dependencies/org.apache.camel.camel-util-3.5.0.jar:dependencies/org.apache.camel.camel-util-json-3.5.0.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-core-1.5.0.jar:dependenc
ies/org.apache.camel.k.camel-k-quarkus-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-quarkus-1.5.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-bean-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-core-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-endpointdsl-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-main-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-support-common-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-timer-1.1.0.jar:dependencies/org.eclipse.microprofile.config.microprofile-config-api-1.4.jar:dependencies/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar:dependencies/org.graalvm.sdk.graal-sdk-20.2.0.jar:dependencies/org.jboss.logging.jboss-logging-3.3.2.Final.jar:dependencies/org.jboss.logging.jboss-logging-annotations-2.1.0.Final.jar:dependencies/org.jbos
s.logmanager.jboss-logmanager-embedded-1.0.4.jar:dependencies/org.jboss.slf4j.slf4j-jboss-logging-1.2.0.Final.jar:dependencies/org.jboss.threads.jboss-threads-3.1.1.Final.jar:dependencies/org.jooq.joor-0.9.13.jar:dependencies/org.slf4j.slf4j-api-1.7.30.jar:dependencies/org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar io.quarkus.runner.GeneratedMain
State: Waiting
Reason: ErrImagePull
Ready: False
Restart Count: 0
Environment:
CAMEL_K_DIGEST: vZm-6F1eRDX8swCG_a79_AgSbB1iOkZ_s9KL2ZuTExMQ
CAMEL_K_CONF: /etc/camel/conf/application.properties
CAMEL_K_CONF_D: /etc/camel/conf.d
CAMEL_K_VERSION: 1.3.0-SNAPSHOT
CAMEL_K_INTEGRATION: sample
CAMEL_K_RUNTIME_VERSION: 1.5.0
CAMEL_K_MOUNT_PATH_CONFIGMAPS: /etc/camel/conf.d/_configmaps
CAMEL_K_MOUNT_PATH_SECRETS: /etc/camel/conf.d/_secrets
NAMESPACE: default (v1:metadata.namespace)
POD_NAME: sample-7ddd4cf98d-smfgc (v1:metadata.name)
Mounts:
/etc/camel/conf from application-properties (rw)
/etc/camel/sources/i-source-000 from i-source-000 (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-9h6gw (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
i-source-000:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sample-source-000
Optional: false
application-properties:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: sample-application-properties
Optional: false
default-token-9h6gw:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-9h6gw
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 109s default-scheduler Successfully assigned default/sample-7ddd4cf98d-smfgc to x006vm57
Normal BackOff 30s (x6 over 107s) kubelet, x006vm57 Back-off pulling image "10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g@sha256:93289fd05071c295ce83d796cc1e42c767fd18b34ba569f871746af472afe952"
Normal Pulling 19s (x4 over 108s) kubelet, x006vm57 Pulling image "10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g@sha256:93289fd05071c295ce83d796cc1e42c767fd18b34ba569f871746af472afe952"
Warning Failed 19s (x4 over 108s) kubelet, x006vm57 Failed to pull image "10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g@sha256:93289fd05071c295ce83d796cc1e42c767fd18b34ba569f871746af472afe952": rpc error: code = Unknown desc = Error response from daemon: Get https://10.106.145.48/v2/: dial tcp 10.106.145.48:443: connect: connection refused
Warning Failed 19s (x4 over 108s) kubelet, x006vm57 Error: ErrImagePull
Warning Failed 5s (x7 over 107s) kubelet, x006vm57 Error: ImagePullBackOff
```
Similar issue is seen with `make test-integration`. Most of the tests fail with a timeout because of being unable to bring up the pods:
```
# make test-integration
...
STAGING_RUNTIME_REPO="" go test -timeout 60m -v ./e2e/common -tags=integration && go test -timeout 60m -v ./e2e/common/languages -tags=integration
=== RUN TestAddons
Camel K installed in namespace test-efc69ac8-14d7-4307-a875-cb925be209c3
=== RUN TestAddons/master_works
integration "master" created
addons_test.go:40:
Timed out after 300.004s.
Expected
<v1.PodPhase>: Pending
to equal
<v1.PodPhase>: Running
...
# kubectl get pods -A
...
test-efc69ac8-14d7-4307-a875-cb925be209c3 camel-k-operator-86cddf76d-ns2gm 1/1 Running 0 71s
test-efc69ac8-14d7-4307-a875-cb925be209c3 master-844f5f686b-gpkld 0/1 ErrImagePull 0 42s
# kubectl describe pod master-844f5f686b-gpkld -n test-efc69ac8-14d7-4307-a875-cb925be209c3
Name: master-844f5f686b-gpkld
Namespace: test-efc69ac8-14d7-4307-a875-cb925be209c3
Priority: 0
Node: x006vm57/129.40.81.57
Start Time: Wed, 23 Dec 2020 03:45:35 -0500
Labels: camel.apache.org/integration=master
pod-template-hash=844f5f686b
Annotations: <none>
Status: Pending
IP: 172.17.0.6
IPs:
IP: 172.17.0.6
Controlled By: ReplicaSet/master-844f5f686b
Containers:
integration:
Container ID:
Image: 10.106.145.48/test-efc69ac8-14d7-4307-a875-cb925be209c3/camel-k-kit-bvhg75j73ovr2elqih80@sha256:28083a9308f2a51ca771dd28034ad19f560e31e86024c307690156440089d731
Image ID:
Port: <none>
Host Port: <none>
Command:
/bin/sh
-c
Args:
echo exec java -cp ./resources:/etc/camel/conf:/etc/camel/conf.d:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/camel-k-integration-1.3.0-SNAPSHOT-runner.jar:dependencies/com.fasterxml.jackson.core.jackson-annotations-2.11.2.jar:dependencies/com.fasterxml.jackson.core.jackson-core-2.11.2.jar:dependencies/com.fasterxml.jackson.core.jackson-databind-2.11.2.jar:dependencies/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.11.2.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jdk8-2.11.2.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jsr310-2.11.2.jar:dependencies/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.11.2.jar:dependencies/com.fasterxml.jackson.module.jackson-module-parameter-names-2.11.2.jar:dependencies/com.github.mifmif.generex-1.0.2.jar:dependencies/com.squareup.okhttp3.logging-interceptor-3.14.6.jar:dependencies/com.squareup.okhttp3.okhttp-3.14.6.jar:dependencies/com.squareup.okio.okio-1
.17.2.jar:dependencies/dk.brics.automaton.automaton-1.11-8.jar:dependencies/io.fabric8.kubernetes-client-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-admissionregistration-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-apiextensions-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-apps-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-autoscaling-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-batch-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-certificates-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-common-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-coordination-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-core-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-discovery-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-events-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-extensions-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-metrics-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-networking-4.10.3.jar:dependenc
ies/io.fabric8.kubernetes-model-policy-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-rbac-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-scheduling-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-settings-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-storageclass-4.10.3.jar:dependencies/io.fabric8.openshift-client-4.10.3.jar:dependencies/io.fabric8.openshift-model-4.10.3.jar:dependencies/io.fabric8.zjsonpatch-0.3.0.jar:dependencies/io.quarkus.arc.arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-bootstrap-runner-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-core-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-development-mode-spi-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-ide-launcher-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-jackson-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-kubernetes-client-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-kubernetes-client-internal-1.8.0.Final.jar:dependen
cies/io.smallrye.common.smallrye-common-annotation-1.3.0.jar:dependencies/io.smallrye.common.smallrye-common-constraint-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-expression-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-function-1.1.0.jar:dependencies/io.smallrye.config.smallrye-config-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-common-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-source-yaml-1.8.6.jar:dependencies/jakarta.activation.jakarta.activation-api-1.2.1.jar:dependencies/jakarta.annotation.jakarta.annotation-api-1.3.5.jar:dependencies/jakarta.el.jakarta.el-api-3.0.3.jar:dependencies/jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar:dependencies/jakarta.inject.jakarta.inject-api-1.0.jar:dependencies/jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar:dependencies/jakarta.transaction.jakarta.transaction-api-1.3.3.jar:dependencies/org.apache.camel.camel-api-3.5.0.jar:dependencies/org.apache.camel.camel-base-3.5.0.jar:
dependencies/org.apache.camel.camel-bean-3.5.0.jar:dependencies/org.apache.camel.camel-cloud-3.5.0.jar:dependencies/org.apache.camel.camel-cluster-3.5.0.jar:dependencies/org.apache.camel.camel-componentdsl-3.5.0.jar:dependencies/org.apache.camel.camel-core-catalog-3.5.0.jar:dependencies/org.apache.camel.camel-core-engine-3.5.0.jar:dependencies/org.apache.camel.camel-core-languages-3.5.0.jar:dependencies/org.apache.camel.camel-endpointdsl-3.5.0.jar:dependencies/org.apache.camel.camel-kubernetes-3.5.0.jar:dependencies/org.apache.camel.camel-main-3.5.0.jar:dependencies/org.apache.camel.camel-management-api-3.5.0.jar:dependencies/org.apache.camel.camel-master-3.5.0.jar:dependencies/org.apache.camel.camel-microprofile-config-3.5.0.jar:dependencies/org.apache.camel.camel-support-3.5.0.jar:dependencies/org.apache.camel.camel-timer-3.5.0.jar:dependencies/org.apache.camel.camel-tooling-model-3.5.0.jar:dependencies/org.apache.camel.camel-util-3.5.0.jar:dependencies/org.apache.camel.camel-util
-json-3.5.0.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-master-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-master-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-quarkus-1.5.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-bean-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-core-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-endpointdsl-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-kubernetes-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-main-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-master-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-support-common-1.1.0.jar:dependencies/org.apache.camel.qua
rkus.camel-quarkus-support-commons-logging-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-timer-1.1.0.jar:dependencies/org.apache.commons.commons-compress-1.20.jar:dependencies/org.eclipse.microprofile.config.microprofile-config-api-1.4.jar:dependencies/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar:dependencies/org.graalvm.sdk.graal-sdk-20.2.0.jar:dependencies/org.jboss.logging.commons-logging-jboss-logging-1.0.0.Final.jar:dependencies/org.jboss.logging.jboss-logging-3.3.2.Final.jar:dependencies/org.jboss.logging.jboss-logging-annotations-2.1.0.Final.jar:dependencies/org.jboss.logmanager.jboss-logmanager-embedded-1.0.4.jar:dependencies/org.jboss.slf4j.slf4j-jboss-logging-1.2.0.Final.jar:dependencies/org.jboss.spec.javax.xml.bind.jboss-jaxb-api_2.3_spec-2.0.0.Final.jar:dependencies/org.jboss.threads.jboss-threads-3.1.1.Final.jar:dependencies/org.jooq.joor-0.9.13.jar:dependencies/org.slf4j.slf4j-api-1.7.30.jar:dependencies/o
rg.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar:dependencies/org.yaml.snakeyaml-1.26.jar io.quarkus.runner.GeneratedMain && exec java -cp ./resources:/etc/camel/conf:/etc/camel/conf.d:/etc/camel/resources:/etc/camel/sources/i-source-000:dependencies/camel-k-integration-1.3.0-SNAPSHOT-runner.jar:dependencies/com.fasterxml.jackson.core.jackson-annotations-2.11.2.jar:dependencies/com.fasterxml.jackson.core.jackson-core-2.11.2.jar:dependencies/com.fasterxml.jackson.core.jackson-databind-2.11.2.jar:dependencies/com.fasterxml.jackson.dataformat.jackson-dataformat-yaml-2.11.2.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jdk8-2.11.2.jar:dependencies/com.fasterxml.jackson.datatype.jackson-datatype-jsr310-2.11.2.jar:dependencies/com.fasterxml.jackson.module.jackson-module-jaxb-annotations-2.11.2.jar:dependencies/com.fasterxml.jackson.module.jackson-module-parameter-names-2.11.2.jar:dependencies/com.github.mifmif.generex-1.0.2.jar:dependencies/com.squareup.okhtt
p3.logging-interceptor-3.14.6.jar:dependencies/com.squareup.okhttp3.okhttp-3.14.6.jar:dependencies/com.squareup.okio.okio-1.17.2.jar:dependencies/dk.brics.automaton.automaton-1.11-8.jar:dependencies/io.fabric8.kubernetes-client-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-admissionregistration-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-apiextensions-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-apps-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-autoscaling-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-batch-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-certificates-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-common-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-coordination-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-core-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-discovery-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-events-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-extensions-4.10.3.jar:dependenc
ies/io.fabric8.kubernetes-model-metrics-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-networking-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-policy-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-rbac-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-scheduling-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-settings-4.10.3.jar:dependencies/io.fabric8.kubernetes-model-storageclass-4.10.3.jar:dependencies/io.fabric8.openshift-client-4.10.3.jar:dependencies/io.fabric8.openshift-model-4.10.3.jar:dependencies/io.fabric8.zjsonpatch-0.3.0.jar:dependencies/io.quarkus.arc.arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-arc-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-bootstrap-runner-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-core-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-development-mode-spi-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-ide-launcher-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-jackson-1.8.0.Final.jar:dependencies/io.quarkus.qu
arkus-kubernetes-client-1.8.0.Final.jar:dependencies/io.quarkus.quarkus-kubernetes-client-internal-1.8.0.Final.jar:dependencies/io.smallrye.common.smallrye-common-annotation-1.3.0.jar:dependencies/io.smallrye.common.smallrye-common-constraint-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-expression-1.1.0.jar:dependencies/io.smallrye.common.smallrye-common-function-1.1.0.jar:dependencies/io.smallrye.config.smallrye-config-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-common-1.8.6.jar:dependencies/io.smallrye.config.smallrye-config-source-yaml-1.8.6.jar:dependencies/jakarta.activation.jakarta.activation-api-1.2.1.jar:dependencies/jakarta.annotation.jakarta.annotation-api-1.3.5.jar:dependencies/jakarta.el.jakarta.el-api-3.0.3.jar:dependencies/jakarta.enterprise.jakarta.enterprise.cdi-api-2.0.2.jar:dependencies/jakarta.inject.jakarta.inject-api-1.0.jar:dependencies/jakarta.interceptor.jakarta.interceptor-api-1.2.5.jar:dependencies/jakarta.transaction.jakarta.tran
saction-api-1.3.3.jar:dependencies/org.apache.camel.camel-api-3.5.0.jar:dependencies/org.apache.camel.camel-base-3.5.0.jar:dependencies/org.apache.camel.camel-bean-3.5.0.jar:dependencies/org.apache.camel.camel-cloud-3.5.0.jar:dependencies/org.apache.camel.camel-cluster-3.5.0.jar:dependencies/org.apache.camel.camel-componentdsl-3.5.0.jar:dependencies/org.apache.camel.camel-core-catalog-3.5.0.jar:dependencies/org.apache.camel.camel-core-engine-3.5.0.jar:dependencies/org.apache.camel.camel-core-languages-3.5.0.jar:dependencies/org.apache.camel.camel-endpointdsl-3.5.0.jar:dependencies/org.apache.camel.camel-kubernetes-3.5.0.jar:dependencies/org.apache.camel.camel-main-3.5.0.jar:dependencies/org.apache.camel.camel-management-api-3.5.0.jar:dependencies/org.apache.camel.camel-master-3.5.0.jar:dependencies/org.apache.camel.camel-microprofile-config-3.5.0.jar:dependencies/org.apache.camel.camel-support-3.5.0.jar:dependencies/org.apache.camel.camel-timer-3.5.0.jar:dependencies/org.apache.came
l.camel-tooling-model-3.5.0.jar:dependencies/org.apache.camel.camel-util-3.5.0.jar:dependencies/org.apache.camel.camel-util-json-3.5.0.jar:dependencies/org.apache.camel.k.camel-k-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-loader-java-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-quarkus-master-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-core-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-master-1.5.0.jar:dependencies/org.apache.camel.k.camel-k-runtime-quarkus-1.5.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-bean-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-core-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-endpointdsl-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-kubernetes-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-main-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-mast
er-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-support-common-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-support-commons-logging-1.1.0.jar:dependencies/org.apache.camel.quarkus.camel-quarkus-timer-1.1.0.jar:dependencies/org.apache.commons.commons-compress-1.20.jar:dependencies/org.eclipse.microprofile.config.microprofile-config-api-1.4.jar:dependencies/org.eclipse.microprofile.context-propagation.microprofile-context-propagation-api-1.0.1.jar:dependencies/org.graalvm.sdk.graal-sdk-20.2.0.jar:dependencies/org.jboss.logging.commons-logging-jboss-logging-1.0.0.Final.jar:dependencies/org.jboss.logging.jboss-logging-3.3.2.Final.jar:dependencies/org.jboss.logging.jboss-logging-annotations-2.1.0.Final.jar:dependencies/org.jboss.logmanager.jboss-logmanager-embedded-1.0.4.jar:dependencies/org.jboss.slf4j.slf4j-jboss-logging-1.2.0.Final.jar:dependencies/org.jboss.spec.javax.xml.bind.jboss-jaxb-api_2.3_spec-2.0.0.Final.jar:dependencies/org.jboss.threads.jbo
ss-threads-3.1.1.Final.jar:dependencies/org.jooq.joor-0.9.13.jar:dependencies/org.slf4j.slf4j-api-1.7.30.jar:dependencies/org.wildfly.common.wildfly-common-1.5.4.Final-format-001.jar:dependencies/org.yaml.snakeyaml-1.26.jar io.quarkus.runner.GeneratedMain
State: Waiting
Reason: ImagePullBackOff
Ready: False
Restart Count: 0
Environment:
CAMEL_K_DIGEST: vXeVlgXuLwlvwxkG3cfb1DX9bw2gBeaVaoQGdmZAeG40
CAMEL_K_CONF: /etc/camel/conf/application.properties
CAMEL_K_CONF_D: /etc/camel/conf.d
CAMEL_K_VERSION: 1.3.0-SNAPSHOT
CAMEL_K_INTEGRATION: master
CAMEL_K_RUNTIME_VERSION: 1.5.0
CAMEL_K_MOUNT_PATH_CONFIGMAPS: /etc/camel/conf.d/_configmaps
CAMEL_K_MOUNT_PATH_SECRETS: /etc/camel/conf.d/_secrets
NAMESPACE: test-efc69ac8-14d7-4307-a875-cb925be209c3 (v1:metadata.namespace)
POD_NAME: master-844f5f686b-gpkld (v1:metadata.name)
Mounts:
/etc/camel/conf from application-properties (rw)
/etc/camel/conf.d from user-properties (rw)
/etc/camel/sources/i-source-000 from i-source-000 (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-nzbjw (ro)
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
i-source-000:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: master-source-000
Optional: false
user-properties:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: master-user-properties
Optional: false
application-properties:
Type: ConfigMap (a volume populated by a ConfigMap)
Name: master-application-properties
Optional: false
default-token-nzbjw:
Type: Secret (a volume populated by a Secret)
SecretName: default-token-nzbjw
Optional: false
QoS Class: BestEffort
Node-Selectors: <none>
Tolerations: node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 93s default-scheduler Successfully assigned test-efc69ac8-14d7-4307-a875-cb925be209c3/master-844f5f686b-gpkld to x006vm57
Normal Pulling 50s (x3 over 93s) kubelet, x006vm57 Pulling image "10.106.145.48/test-efc69ac8-14d7-4307-a875-cb925be209c3/camel-k-kit-bvhg75j73ovr2elqih80@sha256:28083a9308f2a51ca771dd28034ad19f560e31e86024c307690156440089d731"
Warning Failed 50s (x3 over 93s) kubelet, x006vm57 Failed to pull image "10.106.145.48/test-efc69ac8-14d7-4307-a875-cb925be209c3/camel-k-kit-bvhg75j73ovr2elqih80@sha256:28083a9308f2a51ca771dd28034ad19f560e31e86024c307690156440089d731": rpc error: code = Unknown desc = Error response from daemon: Get https://10.106.145.48/v2/: dial tcp 10.106.145.48:443: connect: connection refused
Warning Failed 50s (x3 over 93s) kubelet, x006vm57 Error: ErrImagePull
Normal BackOff 11s (x5 over 92s) kubelet, x006vm57 Back-off pulling image "10.106.145.48/test-efc69ac8-14d7-4307-a875-cb925be209c3/camel-k-kit-bvhg75j73ovr2elqih80@sha256:28083a9308f2a51ca771dd28034ad19f560e31e86024c307690156440089d731"
Warning Failed 11s (x5 over 92s) kubelet, x006vm57 Error: ImagePullBackOff
```
### camel-k VERSION
Camel K Client 1.3.0-SNAPSHOT
commit: a4df39bb039f62b023b166970a1a67e1965cf9f3
##### OS, environment
Ubuntu 16.04.7 LTS (Xenial Xerus) amd64
## Steps to reproduce the problem
```
add-apt-repository ppa:openjdk-r/ppa
apt-get update
apt-get install -y openjdk-11-jdk
apt-get install -y make git wget gcc
JDK_PATHS=$(compgen -G '/usr/lib/jvm/java-11-openjdk-*')
export JAVA_HOME=${JDK_PATHS%$'\n'*}
export PATH=$JAVA_HOME/bin:$PATH
wget https://golang.org/dl/go1.15.2.linux-amd64.tar.gz
tar -xzf go1.15.2.linux-amd64.tar.gz
rm -rf go1.15.2.linux-amd64.tar.gz
export GOPATH=`pwd`/gopath
export PATH=`pwd`/go/bin:$GOPATH/bin:$PATH
mkdir -p $GOPATH/src/github.com/apache
cd $GOPATH/src/github.com/apache
git clone https://github.com/apache/camel-k.git
cd camel-k/
make test
make package-artifacts
make images
minikube start --driver=none
minikube addons enable registry
```
```
./kamel install
./kamel run examples/Sample.java
```
OR
```
make test-integration
```
## Expected Results
sample-xxx pod should come up without (ImagePullBackOff) issues on command `./kamel run examples/Sample.java`.
`make test-integration` should not exhibit the timeout issues due to ImagePullBackOff errors in pods.
Please help me resolve these issues. Thanks!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765379303
Thanks for the reply @astefanutti ! I'm using minikube and here's how I setup the registry:
1. Built `gcr.io/google_containers/kube-registry-proxy:0.4` image from source https://github.com/povilasv/kube-registry-proxy.git
2. Built `registry` binary from source https://github.com/docker/distribution-library-image.git
3. Built `registry.hub.docker.com/library/registry:2.7.1` image from source https://github.com/docker/distribution-library-image.git by copying the `registry` binary built in step #2 to `distribution-library-image` directory
4. Executed `minikube addons enable registry`
Post that I was able to see the registry pods coming up:
```
# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default camel-k-operator-57bbcbd6dc-j5kcv 1/1 Running 0 154m
default sample-5bc495b9cb-rbbzm 0/1 ImagePullBackOff 0 151m
kube-system coredns-f9fd979d6-7678j 1/1 Running 6 10d
kube-system etcd-p006vm87 1/1 Running 12 10d
kube-system kube-apiserver-p006vm87 1/1 Running 14 10d
kube-system kube-controller-manager-p006vm87 1/1 Running 9 10d
kube-system kube-proxy-q7pfw 1/1 Running 6 10d
kube-system kube-scheduler-p006vm87 1/1 Running 6 10d
kube-system registry-8d28l 1/1 Running 3 2d15h
kube-system registry-proxy-q26fb 1/1 Running 3 2d15h
```
Also, here's the output of `kubectl get ip camel-k -o yaml`
```
# kubectl get ip camel-k -o yaml
apiVersion: camel.apache.org/v1
kind: IntegrationPlatform
metadata:
creationTimestamp: "2021-01-22T10:11:08Z"
generation: 1
labels:
app: camel-k
managedFields:
- apiVersion: camel.apache.org/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:app: {}
f:spec:
.: {}
f:build:
.: {}
f:maven:
.: {}
f:settings: {}
f:publishStrategy: {}
f:registry:
.: {}
f:address: {}
f:insecure: {}
f:kamelet: {}
f:resources: {}
f:status:
.: {}
f:build:
.: {}
f:baseImage: {}
f:buildStrategy: {}
f:maven:
.: {}
f:localRepository: {}
f:settings:
.: {}
f:configMapKeyRef:
.: {}
f:key: {}
f:name: {}
f:timeout: {}
f:persistentVolumeClaim: {}
f:publishStrategy: {}
f:registry:
.: {}
f:address: {}
f:insecure: {}
f:runtimeVersion: {}
f:timeout: {}
f:cluster: {}
f:kamelet:
.: {}
f:repositories: {}
f:phase: {}
f:resources: {}
f:version: {}
manager: kamel
operation: Update
time: "2021-01-22T10:11:17Z"
name: camel-k
namespace: default
resourceVersion: "703539"
selfLink: /apis/camel.apache.org/v1/namespaces/default/integrationplatforms/camel-k
uid: 74046037-87a3-4c9f-bd12-40af390713c7
spec:
build:
maven:
settings: {}
publishStrategy: Spectrum
registry:
address: 10.103.184.236
insecure: true
kamelet: {}
resources: {}
status:
build:
baseImage: adoptopenjdk/openjdk11:ubi
buildStrategy: routine
maven:
localRepository: /tmp/artifacts/m2
settings:
configMapKeyRef:
key: settings.xml
name: camel-k-maven-settings
timeout: 3m45s
persistentVolumeClaim: camel-k
publishStrategy: Spectrum
registry:
address: 10.103.184.236
insecure: true
runtimeVersion: 1.6.0
timeout: 5m0s
cluster: Kubernetes
kamelet:
repositories:
- uri: github:apache/camel-kamelets
phase: Ready
version: 1.3.0
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766806956
@amitsadaphule maybe this can help: https://minikube.sigs.k8s.io/docs/handbook/registry/#enabling-insecure-registries.
> One nifty hack is to allow the kubelet running in minikube to talk to registries deployed inside a pod in the cluster without backing them with TLS certificates. Because the default service cluster IP is known to be available at 10.0.0.1, users can pull images from registries deployed inside the cluster by creating the cluster with minikube start --insecure-registry "10.0.0.0/24".
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] github-actions[bot] commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-994157656
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] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765250298
@amitsadaphule for some reasons, the integration pod fails to pull the container image that has been built for that integration:
```
Failed to pull image "10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g@sha256:93289fd05071c295ce83d796cc1e42c767fd18b34ba569f871746af472afe952": rpc error: code = Unknown desc = Error response from daemon: Get https://10.106.145.48/v2/: dial tcp 10.106.145.48:443: connect: connection refused
```
What cluster do you use, and how did you configure the container registry?
Also dumping the IntegrationPlatform may help, e.g., `kubectl get ip camel-k -o yaml`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766871713
Right, it doesn't seem like a Camel K issue to me. It's the Kubelet that is not configured to pull from the insecure registry. I would dig into https://minikube.sigs.k8s.io/docs/handbook/registry/#enabling-insecure-registries. I think that `minikube start --insecure-registry "10.0.0.0/24"` must be done at creation time, that is the first time the cluster get started, otherwise the option may be ignored.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] github-actions[bot] closed issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1869:
URL: https://github.com/apache/camel-k/issues/1869
--
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] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766875678
Right, tried stopping, deleting (+ rm -rf ~/.minikube ~/.kube) and re-creating with `minikube start --insecure-registry "10.0.0.0/24"`, with no luck. Something very strange is going on there. Thanks for the pointer! I'll debug in that direction. :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765442414
@astefanutti sorry about the mixed up logs. The one from `kubectl get ip camel-k -o yaml` that I posted above is from a different VM altogether. And the pod description there matches the IP:
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal BackOff 9m38s (x1055 over 4h9m) kubelet Back-off pulling image "10.103.184.236/default/camel-k-kit-c03kvrjdiqnieco98l2g@sha256:5938d9b4fc02824a622db92ab3650685a0e53c6faa8c82d2e14a72442e00ab5e"
Warning Failed 4m40s (x1077 over 4h9m) kubelet Error: ImagePullBackOff
```
I'll still try executing `kubectl delete ik,it --all` and re-creating the build.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766828576
@amitsadaphule sorry I posted in the wrong issue 😄.
On Minikube, `kamel install` auto-configures the registry by looking up a Service annotated with `"kubernetes.io/minikube-addons": "registry"` in the `kube-system` namespace. This is what `minikube addons enable registry` is supposed to configure.
Let me know your findings.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765450861
Same issue even after deleting ik, it and re-executing `./kamel run examples/Sample.java`.
```
# kubectl get all -n default
NAME READY STATUS RESTARTS AGE
pod/camel-k-operator-57bbcbd6dc-j5kcv 1/1 Running 0 4h28m
pod/sample-95d958b69-z556d 0/1 ImagePullBackOff 0 55s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 10d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/camel-k-operator 1/1 1 1 4h28m
deployment.apps/sample 0/1 1 0 56s
NAME DESIRED CURRENT READY AGE
replicaset.apps/camel-k-operator-57bbcbd6dc 1 1 1 4h28m
replicaset.apps/sample-95d958b69 1 1 0 56s
```
```
# kubectl get ik,it -A
NAMESPACE NAME PHASE TYPE IMAGE
default integrationkit.camel.apache.org/kit-c05e6g5f57dq9p35q41g Ready platform 10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200
NAMESPACE NAME PHASE KIT REPLICAS
default integration.camel.apache.org/sample Running kit-c05e6g5f57dq9p35q41g 1
```
```
# kubectl describe pod sample-95d958b69-z556d -n default
...
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m22s default-scheduler Successfully assigned default/sample-95d958b69-z556d to p006vm87
Normal Pulling 55s (x4 over 2m18s) kubelet Pulling image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200"
Warning Failed 55s (x4 over 2m18s) kubelet Failed to pull image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200": rpc error: code = Unknown desc = Error response from daemon: Get https://10.103.184.236/v2/: dial tcp 10.103.184.236:443: connect: connection refused
Warning Failed 55s (x4 over 2m18s) kubelet Error: ErrImagePull
Normal BackOff 44s (x6 over 2m17s) kubelet Back-off pulling image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200"
Warning Failed 29s (x7 over 2m17s) kubelet Error: ImagePullBackOff
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765452467
No worries, so now that we are sure the IP matches, we need to understand:
```
Get https://10.106.145.48/v2/: dial tcp 10.106.145.48:443: connect: connection refused
```
I'm surprised it uses HTTPS as the registry is configured as `insecure`. I'd have a look at the registry deployment and understand why the kubelet tries to pull the image using HTTPS.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765453535
Thanks @astefanutti for the support! I'll try to check from my side too.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766811960
Thanks @astefanutti ! Got your comment from the other issue earlier :) Unfortunately, I've not been able to get that to work yet. Tried passing the flag to the minikube start command `minikube start --driver=none --insecure-registry "10.0.0.0/24"`, but that does not enable the registry pods which cases the `./kamel install` command to fail with error:
```
# ./kamel install
Error: cannot find automatically a registry where to push images
```
So, I executed `minikube addons enable registry` which started the registry and registry proxy pods, but resulted in the same error as before `Unknown desc = Error response from daemon: Get https://<SOMEIP>/v2/: dial tcp <SOMEIP>:443: connect: connection refused`. Trying to figure out whether the registry addon and the `--insecure-registry` flag passed to `minikube start` are even related and if so, why the
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766811960
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765442414
@astefanutti sorry about the mixed up logs. The one from `kubectl get ip camel-k -o yaml` that I posted above is from a different VM altogether. And the pod description there matches the IP:
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal BackOff 9m38s (x1055 over 4h9m) kubelet Back-off pulling image "10.103.184.236/default/camel-k-kit-c03kvrjdiqnieco98l2g@sha256:5938d9b4fc02824a622db92ab3650685a0e53c6faa8c82d2e14a72442e00ab5e"
Warning Failed 4m40s (x1077 over 4h9m) kubelet Error: ImagePullBackOff
```
I'll still try executing `kubectl delete ik,it --all` to delete the following resources and re-creating the build.
```
# kubectl get ik,it -A
NAMESPACE NAME PHASE TYPE IMAGE
default integrationkit.camel.apache.org/kit-c03kvrjdiqnieco98l2g Ready platform 10.103.184.236/default/camel-k-kit-c03kvrjdiqnieco98l2g@sha256:5938d9b4fc02824a622db92ab3650685a0e53c6faa8c82d2e14a72442e00ab5e
NAMESPACE NAME PHASE KIT REPLICAS
default integration.camel.apache.org/sample Running kit-c03kvrjdiqnieco98l2g 1
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766811960
Thanks @astefanutti ! Got your comment from the other issue earlier :) Unfortunately, I've not been able to get that to work yet. Tried passing the flag to the minikube start command `minikube start --driver=none --insecure-registry "10.0.0.0/24"`, but that does not enable the registry pods which cases the `./kamel install` command to fail with error:
```
# ./kamel install
Error: cannot find automatically a registry where to push images
```
So, I executed `minikube addons enable registry` which started the registry and registry proxy pods, but resulted in the same error as before `Unknown desc = Error response from daemon: Get https://<SOMEIP>/v2/: dial tcp <SOMEIP>:443: connect: connection refused`. Trying to figure out whether the registry addon and the `--insecure-registry` flag passed to `minikube start` are even related and if so, why the log still shows `https`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] tadayosi commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
tadayosi commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-750030230
It appears you have to run `make install-minikube` first. What happens if you do it?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766875678
Right, tried stopping, deleting (+ rm -rf ~/.minikube ~/.kube) and re-creating with `minikube start --insecure-registry "10.0.0.0/24"`, to no avail. Something very strange is going on there. Thanks for the pointer! I'll debug in that direction. :)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766806956
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-750125169
Even with that, I see the same issue. It gets the **camel-k-operator-xx** pod up, but `./kamel run examples/Sample.java` fails to bring the **sample-xxx** pod up.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-763921810
@astefanutti can you provide any pointers for this?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766811960
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765450861
Same issue even after deleting ik, it and re-executing `./kamel run examples/Sample.java`.
```
# kubectl get all -n default
NAME READY STATUS RESTARTS AGE
pod/camel-k-operator-57bbcbd6dc-j5kcv 1/1 Running 0 4h28m
pod/sample-95d958b69-z556d 0/1 ImagePullBackOff 0 55s
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
service/kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 10d
NAME READY UP-TO-DATE AVAILABLE AGE
deployment.apps/camel-k-operator 1/1 1 1 4h28m
deployment.apps/sample 0/1 1 0 56s
NAME DESIRED CURRENT READY AGE
replicaset.apps/camel-k-operator-57bbcbd6dc 1 1 1 4h28m
replicaset.apps/sample-95d958b69 1 1 0 56s
```
```
# kubectl get ik,it -A
NAMESPACE NAME PHASE TYPE IMAGE
default integrationkit.camel.apache.org/kit-c05e6g5f57dq9p35q41g Ready platform 10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200
NAMESPACE NAME PHASE KIT REPLICAS
default integration.camel.apache.org/sample Running kit-c05e6g5f57dq9p35q41g 1
```
```
# kubectl describe pod sample-95d958b69-z556d -n default
...
...
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 2m22s default-scheduler Successfully assigned default/sample-95d958b69-z556d to p006vm87
Normal Pulling 55s (x4 over 2m18s) kubelet Pulling image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200"
Warning Failed 55s (x4 over 2m18s) kubelet Failed to pull image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200": rpc error: code = Unknown desc = Error response from daemon: Get https://10.103.184.236/v2/: dial tcp 10.103.184.236:443: connect: connection refused
Warning Failed 55s (x4 over 2m18s) kubelet Error: ErrImagePull
Normal BackOff 44s (x6 over 2m17s) kubelet Back-off pulling image "10.103.184.236/default/camel-k-kit-c05e6g5f57dq9p35q41g@sha256:bb486d97a46e7d45e55497c99d01d869bfb1c71023220dda2c7d1343ed6bc200"
Warning Failed 29s (x7 over 2m17s) kubelet Error: ImagePullBackOff
```
Maybe something is wrong with the registry setup itself? Is there a different way to setup the local registry for minikube instead of `minikube addons enable registry` that is known to be working for camel-k?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766867625
So, as per your comment, I checked the service configuration.
```
# kubectl describe svc registry -n kube-system
Name: registry
Namespace: kube-system
Labels: addonmanager.kubernetes.io/mode=Reconcile
kubernetes.io/minikube-addons=registry
Annotations: <none>
Selector: actual-registry=true,kubernetes.io/minikube-addons=registry
Type: ClusterIP
IP: 10.103.54.77
Port: http 80/TCP
TargetPort: 5000/TCP
Endpoints: 172.17.0.5:5000
Port: https 443/TCP
TargetPort: 443/TCP
Endpoints: 172.17.0.5:443
Session Affinity: None
Events: <none>
```
And I see the same IP in the failing pod's description
```
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 35s default-scheduler Successfully assigned default/sample-bb48bbd57-dn97b to x006vm57
Normal Pulling 22s (x2 over 34s) kubelet, x006vm57 Pulling image "10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a"
Warning Failed 22s (x2 over 34s) kubelet, x006vm57 Failed to pull image "10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a": rpc error: code = Unknown desc = Error response from daemon: Get https://10.103.54.77/v2/: dial tcp 10.103.54.77:443: connect: connection refused
Warning Failed 22s (x2 over 34s) kubelet, x006vm57 Error: ErrImagePull
Normal BackOff 10s (x2 over 34s) kubelet, x006vm57 Back-off pulling image "10.103.54.77/default/camel-k-kit-c07d5umf4tgvn7jat3d0@sha256:763e96a74417211f129c0b35560e458ac50d766993bc0f56707986a87e60ae4a"
Warning Failed 10s (x2 over 34s) kubelet, x006vm57 Error: ImagePullBackOff
```
And as per https://github.com/apache/camel-k/blob/master/pkg/install/operator.go#L310, for minikube, the installation is already configured to use insecure registry (still, tried `./kamel install --insecure-registry=true`). So, I'm not sure why the pull is tried on port 443 (https), instead of 5000 (http). I'll try and have a look at the `./kamel run` command handling.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] astefanutti commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
astefanutti commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765407637
Thanks, I'm surprised that the IntegrationPlatform has:
```
status:
build:
registry:
address: 10.103.184.236
```
While the Integration pod tries to pull the image from `10.106.145.48/default/camel-k-kit-bvhfthd6er6mi7d78k6g...`.
My understanding is that the IP addresses should match. It seems `10.103.184.236` is the correct one as the operator has been able to push the image, and that `10.106.145.48` is not correct. Though it is supposed to be the same.
I would try to check which IP address can be used to reach the registry. Then I would try to delete all the IntegrationKit and Integration resources:
```
$ kubectl delete ik,it --all
```
Then re-create the Integration, so that it creates a fresh new container image build.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-766811960
Thanks @astefanutti ! Got your comment from the other issue earlier :) Unfortunately, I've not been able to get that to work yet. Tried passing the flag to the minikube start command `minikube start --driver=none --insecure-registry "10.0.0.0/24"`, but that does not enable the registry pods which causes the `./kamel install` command to fail with error:
```
# ./kamel install
Error: cannot find automatically a registry where to push images
```
So, I executed `minikube addons enable registry` which started the registry and registry proxy pods, but resulted in the same error as before `Unknown desc = Error response from daemon: Get https://<SOMEIP>/v2/: dial tcp <SOMEIP>:443: connect: connection refused`. Trying to figure out whether the registry addon and the `--insecure-registry` flag passed to `minikube start` are even related and if so, why the log still shows `https`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule edited a comment on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule edited a comment on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-765379303
Thanks for the reply @astefanutti ! I'm using minikube and here's how I setup the registry:
1. Built `gcr.io/google_containers/kube-registry-proxy:0.4` image from source https://github.com/povilasv/kube-registry-proxy.git
2. Built `registry` binary from source https://github.com/docker/distribution-library-image.git
3. Built `registry.hub.docker.com/library/registry:2.7.1` image from source https://github.com/docker/distribution-library-image.git by copying the `registry` binary built in step #2 to `distribution-library-image` directory
4. Executed `minikube addons enable registry`
Post that I was able to see the registry pods coming up. Here's the pods status post kamel install/run:
```
# kubectl get pods -A
NAMESPACE NAME READY STATUS RESTARTS AGE
default camel-k-operator-57bbcbd6dc-j5kcv 1/1 Running 0 154m
default sample-5bc495b9cb-rbbzm 0/1 ImagePullBackOff 0 151m
kube-system coredns-f9fd979d6-7678j 1/1 Running 6 10d
kube-system etcd-p006vm87 1/1 Running 12 10d
kube-system kube-apiserver-p006vm87 1/1 Running 14 10d
kube-system kube-controller-manager-p006vm87 1/1 Running 9 10d
kube-system kube-proxy-q7pfw 1/1 Running 6 10d
kube-system kube-scheduler-p006vm87 1/1 Running 6 10d
kube-system registry-8d28l 1/1 Running 3 2d15h
kube-system registry-proxy-q26fb 1/1 Running 3 2d15h
```
Also, here's the output of `kubectl get ip camel-k -o yaml`
```
# kubectl get ip camel-k -o yaml
apiVersion: camel.apache.org/v1
kind: IntegrationPlatform
metadata:
creationTimestamp: "2021-01-22T10:11:08Z"
generation: 1
labels:
app: camel-k
managedFields:
- apiVersion: camel.apache.org/v1
fieldsType: FieldsV1
fieldsV1:
f:metadata:
f:labels:
.: {}
f:app: {}
f:spec:
.: {}
f:build:
.: {}
f:maven:
.: {}
f:settings: {}
f:publishStrategy: {}
f:registry:
.: {}
f:address: {}
f:insecure: {}
f:kamelet: {}
f:resources: {}
f:status:
.: {}
f:build:
.: {}
f:baseImage: {}
f:buildStrategy: {}
f:maven:
.: {}
f:localRepository: {}
f:settings:
.: {}
f:configMapKeyRef:
.: {}
f:key: {}
f:name: {}
f:timeout: {}
f:persistentVolumeClaim: {}
f:publishStrategy: {}
f:registry:
.: {}
f:address: {}
f:insecure: {}
f:runtimeVersion: {}
f:timeout: {}
f:cluster: {}
f:kamelet:
.: {}
f:repositories: {}
f:phase: {}
f:resources: {}
f:version: {}
manager: kamel
operation: Update
time: "2021-01-22T10:11:17Z"
name: camel-k
namespace: default
resourceVersion: "703539"
selfLink: /apis/camel.apache.org/v1/namespaces/default/integrationplatforms/camel-k
uid: 74046037-87a3-4c9f-bd12-40af390713c7
spec:
build:
maven:
settings: {}
publishStrategy: Spectrum
registry:
address: 10.103.184.236
insecure: true
kamelet: {}
resources: {}
status:
build:
baseImage: adoptopenjdk/openjdk11:ubi
buildStrategy: routine
maven:
localRepository: /tmp/artifacts/m2
settings:
configMapKeyRef:
key: settings.xml
name: camel-k-maven-settings
timeout: 3m45s
persistentVolumeClaim: camel-k
publishStrategy: Spectrum
registry:
address: 10.103.184.236
insecure: true
runtimeVersion: 1.6.0
timeout: 5m0s
cluster: Kubernetes
kamelet:
repositories:
- uri: github:apache/camel-kamelets
phase: Ready
version: 1.3.0
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [camel-k] amitsadaphule commented on issue #1869: './kamel run xxx' and 'make test-integration' pod failures on Ubuntu 16.04 (with minikube)
Posted by GitBox <gi...@apache.org>.
amitsadaphule commented on issue #1869:
URL: https://github.com/apache/camel-k/issues/1869#issuecomment-763921810
@astefanutti can you provide any pointers for this?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org