Git Product home page Git Product logo

openshift-tasks's People

Contributors

gshipley avatar mglantz avatar ppalaga avatar siamaksade avatar thoraxe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openshift-tasks's Issues

Problems with pom

Pulling this into openshift, and getting this:

[FATAL] Non-parseable POM /home/jboss/source/pom.xml: unexpected character in markup < (position: END_TAG seen ...\n\n<<... @73:3) @ line 73, column 3

looking at the pom.xml file, it has some unusual things in it, almost look like build annotations or something, but certainly, not pom-like!

errors during getting pods from kube.

Im no Jboss expert, so lets not go there, however i see this error in the logs when ever i use the project which is quite nice for a demo.

Are there a permission this project needs to run, or do you want to have a sa with access to some special settings for running it.

06:37:50,719 WARN [org.jgroups.protocols.openshift.KUBE_PING] (Timer-3,shared=tcp) Problem getting Pod json from Kubernetes Client[masterUrl=https://10.244.0.1:443/api/v1, headers={Authorization=#MASKED:845#}, connectTimeout=5000, readTimeout=30000, operationAttempts=3, operationSleep=1000, streamProvider=org.openshift.ping.common.stream.InsecureStreamProvider@d6ee295] for cluster [hornetq-channel], namespace [demo], labels [application=tasks]; encountered [java.lang.Exception: 3 attempt(s) with a 1000ms sleep to execute [OpenStream] failed. Last failure was [java.io.IOException: Server returned HTTP response code: 403 for URL: https://10.244.0.1:443/api/v1/namespaces/demo/pods?labelSelector=application%3Dtasks]]

failed to prepare parameters nil: secrets "eap71-basic-s2i-parameterssp9b7" not found

I have been trying to do the openlearning "Red Hat OpenShift 3 Foundations "
But it fails at the lab 3:3: Demonstrate Aggregated Logging and Metrics.
That lab is using this repository, but I don't know if the problem is in the repository or elsewhere.

I have done the configuration as described in chapter 3:

3. Demonstrate Deploying an Application Using S2I
1 Action: After creating your project or after clicking Browse Catalog, enter eap in the catalog filter and select JBoss EAP 7.1 (no https).

2 Action: Fill in the fields as follows:
   Application Name: openshift-tasks
   Git Repository URL: https://github.com/openshiftdemos/openshift-tasks
   Git Reference: master
   Context Directory: /

3 Action: Click Next.
4 Action: Select Do not bind at this time and click Create.
5 Action: Click Continue to the project overview.  

I get this status during the creation

The service is not yet ready. failed to prepare parameters nil: secrets "eap71-basic-s2i-parameterssp9b7" not found

Change repo url for Nexus 3

Maven deploy to nexus is failing in my setup.
I think that, since we are switching to Nexus3, we need to change the repo url from:

<distributionManagement> <repository> <id>nexus</id> <url>http://nexus:8081/content/repositories/releases</url> </repository> <snapshotRepository> <id>nexus</id> <url>http://nexus:8081/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement>

to

<distributionManagement> <repository> <id>nexus</id> <url>http://nexus:8081/repository/maven-releases</url> </repository> <snapshotRepository> <id>nexus</id> <url>http://nexus:8081/repository/maven-snapshots</url> </snapshotRepository> </distributionManagement>

build is failing - Non-resolvable import POM

I am trying to build this through Openshift CD Demo & also locally, but I am facing build issues in beginning itself.
`[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.0.0 in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 55, column 25

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian:arquillian-bom:pom:1.1.0.Final in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 64, column 25

[ERROR] Non-resolvable import POM: Could not find artifact org.jboss.arquillian.extension:arquillian-drone-bom:pom:1.1.1.Final in nexus (http://nexus:8081/repository/maven-all-public/) @ org.jboss.bom.eap:jboss-javaee-6.0-with-tools:[unknown-version], /home/jenkins/.m2/repository/org/jboss/bom/eap/jboss-javaee-6.0-with-tools/6.4.0.GA/jboss-javaee-6.0-with-tools-6.4.0.GA.pom, line 74, column 25

[ERROR] 'dependencies.dependency.version' for javax.enterprise:cdi-api:jar is missing. @ line 87, column 21
[ERROR] 'dependencies.dependency.version' for org.hibernate.javax.persistence:hibernate-jpa-2.0-api:jar is missing. @ line 94, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ws.rs:jboss-jaxrs-api_1.1_spec:jar is missing. @ line 101, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.spec.javax.ejb:jboss-ejb-api_3.1_spec:jar is missing. @ line 114, column 21
[ERROR] 'dependencies.dependency.version' for junit:junit:jar is missing. @ line 121, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.junit:arquillian-junit-container:jar is missing. @ line 127, column 21
[ERROR] 'dependencies.dependency.version' for org.jboss.arquillian.protocol:arquillian-protocol-servlet:jar is missing. @ line 133, column 21`

Full error in this image
jenkins

No context path set on build

RHEL7.3
OSCP 3.4

Pipeline runs successfully and deployments also successful. but on trying to access the url for the task app I get presented with an EAP 7 screen instead of the app

Error - Unauthorized when accessing from curl

Followed the instructions from https://github.com/OpenShiftDemos/openshift-cd-demo which I finally got running locally with oc cluster up (setup and config see here: ).

Tried to create a task:

curl -i -u 'redhat:redhat1!' -H "Content-Length: 0" -X POST http://tasks-dev.apps.127.0.0.1.nip.io/ws/tasks/task1

Result:

HTTP/1.1 401 Unauthorized
Expires: 0
Cache-Control: no-cache, no-store, must-revalidate
X-Powered-By: Undertow/1
Server: JBoss-EAP/7
Pragma: no-cache
Date: Tue, 04 Apr 2017 18:37:18 GMT
WWW-Authenticate: Basic realm="RealmUsersRoles"
Content-Type: text/html;charset=UTF-8
Content-Length: 71
Set-Cookie: 5d1905427a4600d0082930fc85649db9=21c9d5dd6cefe390218571514e4c1701; path=/; HttpOnly

<html><head><title>Error</title></head><body>Unauthorized</body></html>

Just to let you know...

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.