Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kamel run Sample.java --dev hanged with "Waiting for Platform". Error - Non-resolvable import POM #677

Closed
ShravanGeek opened this issue May 22, 2019 · 5 comments

Comments

@ShravanGeek
Copy link

Hi,

I'm trying to run the sample demo integration on Openshift installed at AWS instance. Its getting hanged with "Waiting for Platform" message. When I looked at the log of the operator I found below error,

[ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.camel:camel-bom:pom:2.23.2 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known @ line 9, column 19 [ERROR] 'dependencies.dependency.version' for org.apache.camel:camel-core:jar is missing. @ line 31, column 17 [ERROR] 'dependencies.dependency.version' for org.apache.camel:camel-groovy:jar is missing. @ line 47, column 17 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.camel.k.integration:camel-k-integration:0.3.3 (/tmp/builder-121244146/maven/pom.xml) has 3 errors [ERROR] Non-resolvable import POM: Could not transfer artifact org.apache.camel:camel-bom:pom:2.23.2 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org: Name or service not known @ line 9, column 19: Unknown host repo.maven.apache.org: Name or service not known -> [Help 2] [ERROR] 'dependencies.dependency.version' for org.apache.camel:camel-core:jar is missing. @ line 31, column 17 [ERROR] 'dependencies.dependency.version' for org.apache.camel:camel-groovy:jar is missing. @ line 47, column 17 [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

Could you please help me out here? I'm trying almost for 2 days. Unable to resolve the issue. Thanks a lot.

@nicolaferraro
Copy link
Member

This part: repo.maven.apache.org: Name or service not known

... suggests that your network configuration is in a bad state.
The operator pod is not able to lookup maven central DNS and download dependencies. Are you using a firewall or a service mesh?

To attempt the creation from scratch you may try to:

  • delete the operator pod
  • run kamel reset to recreate the original

Let us know if it is a temporary issue or a permanent error.

@ShravanGeek
Copy link
Author

ShravanGeek commented May 22, 2019

Hi Nicola,

I have followed your suggestion but issue still persists. When I used wget this is the response I'm getting,

wget http://repo.maven.apache.org/maven2
--2019-05-22 10:46:08-- http://repo.maven.apache.org/maven2
Resolving repo.maven.apache.org (repo.maven.apache.org)... 151.101.248.215
Connecting to repo.maven.apache.org (repo.maven.apache.org)|151.101.248.215|:80... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: /maven2/ [following]
--2019-05-22 10:46:08-- http://repo.maven.apache.org/maven2/
Reusing existing connection to repo.maven.apache.org:80.
HTTP request sent, awaiting response... 403 Forbidden
2019-05-22 10:46:08 ERROR 403: Forbidden.

@nicolaferraro
Copy link
Member

You should try to execute:

wget http://repo.maven.apache.org/maven2/org/apache/camel/camel-bom/2.23.2/camel-bom-2.23.2.pom

but doing it from a pod in the cluster.
If it does not resolve the repo, it's likely that there's some network issue or interface blocking the communication with the outside.

@lburgazzoli lburgazzoli added the status/waiting-for-feedback Needs some feedback label Jul 23, 2019
@lburgazzoli
Copy link
Contributor

@ShravanGeek can we close this one ?

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2020

This issue is stale because it has been open 30 days with no activity.
Remove stale label or comment or this will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants