Closed longhai-he closed 2 weeks ago
Hello, thanks for reporting. It seems there is some problem when trying to build the maven project. According to the log provided, the build starts successfully, so, it's the publishing part to the registry that may be failing. You can have a look at the Camel K troubleshooting guide to find more useful information.
In order to help, it would be nice to get the entire output log of the operator and additionally the output of the Build custom resource (ie, kubectl get build xyz -o yaml
). If there is some problem to the registry (like it typically happens), you can also check the IntegrationPlatform status (ie, kubectl get itp -o yaml
).
Thank you for your reply.
###############build logs ##########
Name: kit-cs6enq6sr5bcvf96qk90
Namespace: default
Labels: camel.apache.org/created.by.kind=Integration
camel.apache.org/created.by.name=my-integration
camel.apache.org/created.by.namespace=default
camel.apache.org/created.by.version=6224
camel.apache.org/kit.layout=fast-jar
Annotations: camel.apache.org/operator.id: camel-k
API Version: camel.apache.org/v1
Kind: Build
Metadata:
Creation Timestamp: 2024-10-14T10:01:12Z
Generation: 1
Owner References:
API Version: camel.apache.org/v1
Block Owner Deletion: true
Controller: true
Kind: IntegrationKit
Name: kit-cs6enq6sr5bcvf96qk90
UID: f8bcf3cf-051e-4917-b648-8c0bbc2e7bd3
Resource Version: 6243
UID: c20eab7c-7970-42e4-bf3a-5e6de49527d1
Spec:
Configuration:
Tasks:
Builder:
Base Image: eclipse-temurin:17
Configuration:
Operator Namespace: default
Order Strategy: sequential
Strategy: routine
Tool Image: registry.cn-hangzhou.aliyuncs.com/hlh-k8s/camel-k:2.3.1-amd64
Dependencies:
camel:timer
mvn:org.apache.camel.k:camel-k-runtime
mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
Maven:
Cli Options:
-V
--no-transfer-progress
-Dstyle.color=never
Local Repository: /etc/maven/m2
Profiles:
Config Map Key Ref:
Key: profile.xml
Name: kit-cs6enq6sr5bcvf96qk90-publish-jib-profile
Properties:
quarkus.package.type: fast-jar
Settings:
Settings Security:
Name: builder
Runtime:
Application Class: io.quarkus.bootstrap.runner.QuarkusEntryPoint
Capabilities:
Aws - Secrets - Manager:
Dependencies:
Artifact Id: camel-quarkus-aws-secrets-manager
Group Id: org.apache.camel.quarkus
Azure - Key - Vault:
Dependencies:
Artifact Id: camel-quarkus-azure-key-vault
Group Id: org.apache.camel.quarkus
Circuit - Breaker:
Dependencies:
Artifact Id: camel-quarkus-microprofile-fault-tolerance
Group Id: org.apache.camel.quarkus
Cron:
Dependencies:
Artifact Id: camel-k-cron
Group Id: org.apache.camel.k
Gcp - Secret - Manager:
Dependencies:
Artifact Id: camel-quarkus-google-secret-manager
Group Id: org.apache.camel.quarkus
Hashicorp - Vault:
Dependencies:
Artifact Id: camel-quarkus-hashicorp-vault
Group Id: org.apache.camel.quarkus
Health:
Dependencies:
Artifact Id: camel-quarkus-microprofile-health
Group Id: org.apache.camel.quarkus
Metadata:
Default Liveness Probe Path: /q/health/live
Default Readiness Probe Path: /q/health/ready
Default Startup Probe Path: /q/health/started
Jolokia:
Dependencies:
Artifact Id: camel-quarkus-jaxb
Group Id: org.apache.camel.quarkus
Artifact Id: camel-quarkus-management
Group Id: org.apache.camel.quarkus
Artifact Id: jolokia-agent-jvm
Classifier: javaagent
Group Id: org.jolokia
Knative:
Dependencies:
Artifact Id: camel-k-knative-impl
Group Id: org.apache.camel.k
Artifact Id: camel-quarkus-knative
Group Id: org.apache.camel.quarkus
Logging:
Runtime Properties:
Key: quarkus.console.color
Value: ${camel.k.logging.color}
Key: quarkus.log.console.format
Value: ${camel.k.logging.format}
Key: quarkus.log.console.json
Value: ${camel.k.logging.json}
Key: quarkus.log.console.json.pretty-print
Value: ${camel.k.logging.jsonPrettyPrint}
Key: quarkus.log.level
Value: ${camel.k.logging.level}
Master:
Build Time Properties:
Key: quarkus.camel.cluster.kubernetes.enabled
Value: ${camel.k.master.enabled}
Dependencies:
Artifact Id: camel-k-master
Group Id: org.apache.camel.k
Runtime Properties:
Key: quarkus.camel.cluster.kubernetes.labels."${camel.k.master.labelKey}"
Value: ${camel.k.master.labelValue}
Key: quarkus.camel.cluster.kubernetes.resource-name
Value: ${camel.k.master.resourceName}
Key: quarkus.camel.cluster.kubernetes.resource-type
Value: ${camel.k.master.resourceType}
Platform - Http:
Dependencies:
Artifact Id: camel-quarkus-platform-http
Group Id: org.apache.camel.quarkus
Prometheus:
Dependencies:
Artifact Id: micrometer-registry-prometheus
Group Id: io.micrometer
Artifact Id: camel-quarkus-micrometer
Group Id: org.apache.camel.quarkus
Rest:
Dependencies:
Artifact Id: camel-quarkus-platform-http
Group Id: org.apache.camel.quarkus
Artifact Id: camel-quarkus-rest
Group Id: org.apache.camel.quarkus
Resume - Kafka:
Dependencies:
Artifact Id: camel-k-resume-kafka
Group Id: org.apache.camel.k
Service - Binding:
Runtime Properties:
Key: quarkus.kubernetes-service-binding.enabled
Value: ${camel.k.serviceBinding.enabled}
Telemetry:
Dependencies:
Artifact Id: camel-quarkus-opentelemetry
Group Id: org.apache.camel.quarkus
Runtime Properties:
Key: quarkus.opentelemetry.tracer.exporter.otlp.endpoint
Value: ${camel.k.telemetry.endpoint}
Key: quarkus.opentelemetry.tracer.resource-attributes
Value: ${camel.k.telemetry.serviceName}
Key: quarkus.opentelemetry.tracer.sampler
Value: ${camel.k.telemetry.sampler}
Key: quarkus.opentelemetry.tracer.sampler.parent-based
Value: ${camel.k.telemetry.samplerParentBased}
Key: quarkus.opentelemetry.tracer.sampler.ratio
Value: ${camel.k.telemetry.samplerRatio}
Tracing:
Dependencies:
Artifact Id: camel-quarkus-opentracing
Group Id: org.apache.camel.quarkus
Dependencies:
Artifact Id: camel-k-runtime
Group Id: org.apache.camel.k
Metadata:
camel-quarkus.version: 3.8.1
camel.version: 4.4.1
jib.layer-filter-extension-maven.version: 0.3.0
jib.maven-plugin.version: 3.4.1
quarkus.native-builder-image: quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
quarkus.version: 3.8.3
Provider: quarkus
Version: 3.8.1
Steps:
github.com/apache/camel-k/v2/pkg/builder/LoadCamelQuarkusCatalog
github.com/apache/camel-k/v2/pkg/builder/CleanUpBuildDir
github.com/apache/camel-k/v2/pkg/builder/GenerateJavaKeystore
github.com/apache/camel-k/v2/pkg/builder/GenerateQuarkusProject
github.com/apache/camel-k/v2/pkg/builder/GenerateProjectSettings
github.com/apache/camel-k/v2/pkg/builder/InjectDependencies
github.com/apache/camel-k/v2/pkg/builder/SanitizeDependencies
github.com/apache/camel-k/v2/pkg/builder/InjectProfiles
github.com/apache/camel-k/v2/pkg/builder/BuildQuarkusRunner
Package:
Base Image: eclipse-temurin:17
Configuration:
Dependencies:
camel:timer
mvn:org.apache.camel.k:camel-k-runtime
mvn:org.apache.camel.quarkus:camel-quarkus-java-joor-dsl
Maven:
Cli Options:
-V
--no-transfer-progress
-Dstyle.color=never
Local Repository: /etc/maven/m2
Profiles:
Config Map Key Ref:
Key: profile.xml
Name: kit-cs6enq6sr5bcvf96qk90-publish-jib-profile
Settings:
Settings Security:
Name: package
Runtime:
Application Class: io.quarkus.bootstrap.runner.QuarkusEntryPoint
Capabilities:
Aws - Secrets - Manager:
Dependencies:
Artifact Id: camel-quarkus-aws-secrets-manager
Group Id: org.apache.camel.quarkus
Azure - Key - Vault:
Dependencies:
Artifact Id: camel-quarkus-azure-key-vault
Group Id: org.apache.camel.quarkus
Circuit - Breaker:
Dependencies:
Artifact Id: camel-quarkus-microprofile-fault-tolerance
Group Id: org.apache.camel.quarkus
Cron:
Dependencies:
Artifact Id: camel-k-cron
Group Id: org.apache.camel.k
Gcp - Secret - Manager:
Dependencies:
Artifact Id: camel-quarkus-google-secret-manager
Group Id: org.apache.camel.quarkus
Hashicorp - Vault:
Dependencies:
Artifact Id: camel-quarkus-hashicorp-vault
Group Id: org.apache.camel.quarkus
Health:
Dependencies:
Artifact Id: camel-quarkus-microprofile-health
Group Id: org.apache.camel.quarkus
Metadata:
Default Liveness Probe Path: /q/health/live
Default Readiness Probe Path: /q/health/ready
Default Startup Probe Path: /q/health/started
Jolokia:
Dependencies:
Artifact Id: camel-quarkus-jaxb
Group Id: org.apache.camel.quarkus
Artifact Id: camel-quarkus-management
Group Id: org.apache.camel.quarkus
Artifact Id: jolokia-agent-jvm
Classifier: javaagent
Group Id: org.jolokia
Knative:
Dependencies:
Artifact Id: camel-k-knative-impl
Group Id: org.apache.camel.k
Artifact Id: camel-quarkus-knative
Group Id: org.apache.camel.quarkus
Logging:
Runtime Properties:
Key: quarkus.console.color
Value: ${camel.k.logging.color}
Key: quarkus.log.console.format
Value: ${camel.k.logging.format}
Key: quarkus.log.console.json
Value: ${camel.k.logging.json}
Key: quarkus.log.console.json.pretty-print
Value: ${camel.k.logging.jsonPrettyPrint}
Key: quarkus.log.level
Value: ${camel.k.logging.level}
Master:
Build Time Properties:
Key: quarkus.camel.cluster.kubernetes.enabled
Value: ${camel.k.master.enabled}
Dependencies:
Artifact Id: camel-k-master
Group Id: org.apache.camel.k
Runtime Properties:
Key: quarkus.camel.cluster.kubernetes.labels."${camel.k.master.labelKey}"
Value: ${camel.k.master.labelValue}
Key: quarkus.camel.cluster.kubernetes.resource-name
Value: ${camel.k.master.resourceName}
Key: quarkus.camel.cluster.kubernetes.resource-type
Value: ${camel.k.master.resourceType}
Platform - Http:
Dependencies:
Artifact Id: camel-quarkus-platform-http
Group Id: org.apache.camel.quarkus
Prometheus:
Dependencies:
Artifact Id: micrometer-registry-prometheus
Group Id: io.micrometer
Artifact Id: camel-quarkus-micrometer
Group Id: org.apache.camel.quarkus
Rest:
Dependencies:
Artifact Id: camel-quarkus-platform-http
Group Id: org.apache.camel.quarkus
Artifact Id: camel-quarkus-rest
Group Id: org.apache.camel.quarkus
Resume - Kafka:
Dependencies:
Artifact Id: camel-k-resume-kafka
Group Id: org.apache.camel.k
Service - Binding:
Runtime Properties:
Key: quarkus.kubernetes-service-binding.enabled
Value: ${camel.k.serviceBinding.enabled}
Telemetry:
Dependencies:
Artifact Id: camel-quarkus-opentelemetry
Group Id: org.apache.camel.quarkus
Runtime Properties:
Key: quarkus.opentelemetry.tracer.exporter.otlp.endpoint
Value: ${camel.k.telemetry.endpoint}
Key: quarkus.opentelemetry.tracer.resource-attributes
Value: ${camel.k.telemetry.serviceName}
Key: quarkus.opentelemetry.tracer.sampler
Value: ${camel.k.telemetry.sampler}
Key: quarkus.opentelemetry.tracer.sampler.parent-based
Value: ${camel.k.telemetry.samplerParentBased}
Key: quarkus.opentelemetry.tracer.sampler.ratio
Value: ${camel.k.telemetry.samplerRatio}
Tracing:
Dependencies:
Artifact Id: camel-quarkus-opentracing
Group Id: org.apache.camel.quarkus
Dependencies:
Artifact Id: camel-k-runtime
Group Id: org.apache.camel.k
Metadata:
camel-quarkus.version: 3.8.1
camel.version: 4.4.1
jib.layer-filter-extension-maven.version: 0.3.0
jib.maven-plugin.version: 3.4.1
quarkus.native-builder-image: quay.io/quarkus/ubi-quarkus-mandrel-builder-image:jdk-21
quarkus.version: 3.8.3
Provider: quarkus
Version: 3.8.1
Steps:
github.com/apache/camel-k/v2/pkg/builder/LoadCamelQuarkusCatalog
github.com/apache/camel-k/v2/pkg/builder/ComputeQuarkusDependencies
github.com/apache/camel-k/v2/pkg/builder/IncrementalImageContext
github.com/apache/camel-k/v2/pkg/builder/JvmDockerfile
Jib:
Base Image: eclipse-temurin:17
Configuration:
Image: registry.cn-hangzhou.aliyuncs.com/hlh-k8s/camel-k/camel-k-kit-cs6enq6sr5bcvf96qk90:6232
Name: jib
Registry:
Address: registry.cn-hangzhou.aliyuncs.com
Organization: hlh-k8s/camel-k
Secret: camel-k-secret
Timeout: 5m0s
Status:
Conditions:
Last Transition Time: 2024-10-14T10:01:12Z
Last Update Time: 2024-10-14T10:01:12Z
Message: Found a running build in this namespace - the build (kit-cs6enq6sr5bcvf96qk90) gets enqueued
Reason: Waiting
Status: False
Type: Scheduled
Phase: Scheduling
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal BuildPhaseUpdated 5m30s camel-k-build-controller Build "kit-cs6enq6sr5bcvf96qk90" in phase "Scheduling"
Normal BuildConditionChanged 5m30s camel-k-build-controller Condition "Scheduled" is "False" for Build kit-cs6enq6sr5bcvf96qk90: Found a running build in this namespace - the build (kit-cs6enq6sr5bcvf96qk90) gets enqueued
``
The problem seems to be some build stuck which is locking any other build to start (see Found a running build in this namespace - the build (kit-cs6enq6sr5bcvf96qk90) gets enqueued
). You need to forcefully delete the build pending or alternatively kamel reset
in order to clean all builds and kits in the given namespace (only if that is a development environment in order to avoid cleaning production resources).
Hello. Is the problem fixed now? should we close this issue?
I am very sorry, there is no error at present, because I did not see the specific error problem. I guess it was the private domain network problem that caused the failure of pulling jar packages when camel-k operator s used maven to build, but I have not found the specific reason
What happened?
Steps to reproduce
Relevant log output
#############camel-k operator logs ########
################camel-k it##################
Camel K version
v.2.4.0