Bug 813705 - [OSS] git push failed for jboss app in fedora_remixed.iso.
[OSS] git push failed for jboss app in fedora_remixed.iso.
Status: CLOSED CURRENTRELEASE
Product: OpenShift Origin
Classification: Red Hat
Component: Pod (Show other bugs)
2.x
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Abhishek Gupta
libra bugs
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-18 05:18 EDT by yquan
Modified: 2015-05-14 21:51 EDT (History)
3 users (show)

See Also:
Fixed In Version: rhc-cartridge-jbossas-7-0.90.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-04-27 16:47:04 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description yquan 2012-04-18 05:18:37 EDT
Description of problem:
It will prompt error messages when trying to do "git push" command in jboss appliction directory, and the application page is blank.

It will be successful if push with jenkins-client embedded.

Version-Release number of selected component (if applicable):
Fedora_remix.iso_2012_04_13
cartridge-jbossas-7-0.91.2-1.git.0.fc6aaf7.fc16.noarch

How reproducible:
Always

Steps to Reproduce:
1.Create an Jboss application in virtual machine launched from fedora_remixed.iso 
2.Make some changes in application.
3.Do git push command.
  
Actual results:
I will prompt the error message as below, and the application page is blank.

[error message]

remote: [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1 from/to nexus (http://mirror1.prod.rhcloud.com:80/nexus/content/groups/public): Error transferring file: No route to host -> [Help 1]
remote: [ERROR] 
remote: [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
remote: [ERROR] Re-run Maven using the -X switch to enable full debug logging.
remote: [ERROR] 
remote: [ERROR] For more information about the errors and possible solutions, please read the following articles:
remote: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException
remote: Running .openshift/action_hooks/build


Expected results:
The "git push" command should be successful, and the application page is changed correctly.

Additional info:
Comment 1 Abhishek Gupta 2012-04-19 17:01:55 EDT
There were a couple of issues in the JBoss cartridge. One had to do with the nexus repository URL pointing to *.rhcloud.com and the other was incorrect setup of alternatives for maven (/etc/alternatives/maven-3.0).

The former URL issue was fixed by a change made by Troy Dawson, and I have fixed the other issue with the maven alternatives setup.
Comment 2 Johnny Liu 2012-04-24 05:39:13 EDT
Verified this bug with the latest fedora remix image (24-Apr-2012), and PASS.

Note You need to log in before you can comment on or make changes to this bug.