Bug 957117 - Got openshift plugin install failed when Setup a app with SeamForge
Summary: Got openshift plugin install failed when Setup a app with SeamForge
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 1.2.0
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Brenton Leanhardt
QA Contact: libra bugs
URL:
Whiteboard:
Depends On: 970805 973219
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-26 11:43 UTC by weiwei jiang
Modified: 2016-10-30 22:53 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-08-28 12:48:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description weiwei jiang 2013-04-26 11:43:45 UTC
Description of problem:
when setup a app with SeamForge, got a error message "***ERROR*** Failed to install [forge.openshift]; there may be a mess!"

rhc setup --app forge7
***INFO*** Loaded OpenShift configuration from /home/weiwei/.openshift/express.conf
***INFO*** Using RHLOGIN:wjiang for https://broker.osetestv1.com
 ? Enter your Red Hat Openshift password: ******
***INFO*** Found OpenShift User: wjiang
Choose a JBoss Cartridge:
  1 - [Cartridge [name=jbosseap-6.0]]*
  2 - [Cartridge [name=jbossews-1.0]]
 ? Choose an option by typing the number of the selection [*-default]  [0] 
***INFO*** Using JBoss Cartridge: jbosseap-6.0
Initialized empty Git repository in /home/weiwei/Downloads/forge7/.git/
***INFO*** Waiting for OpenShift to propagate DNS
***INFO*** Trying to contact http://forge7-redhat.osetestv1.com/ (attempt 1 of 500)
Updating openshift
Warning: Permanently added 'forge7-redhat.osetestv1.com' (RSA) to the list of known hosts.
From ssh://forge7-redhat.osetestv1.com/~/git/forge7
 * [new branch]      master     -> openshift/master
***SUCCESS*** Application deployed to http://forge7-redhat.osetestv1.com/
***ERROR*** Failed to install [forge.openshift]; there may be a mess!
***SUCCESS*** OpenShift (rhc) is installed.
Wrote /home/weiwei/Downloads/forge7/pom.xml

Version-Release number of selected component (if applicable):
http://buildvm-devops.usersys.redhat.com/puddle/build/OpenShiftEnterprise/1.2/2013-04-25.1
Forge version: 1.2.3 final
openshift plugin version: 1.0.6


How reproducible:
always

Steps to Reproduce:
1.Run 'forge' and install openshift plugin: forge install-plugin openshift
2.Create a new project:new-project --named forge-openshift-demo --topLevelPackage org.jboss.forge.openshift
3.Run 'rhc setup' and give the app name
  
Actual results:
Got error "***ERROR*** Failed to install [forge.openshift]; there may be a mess!"

Expected results:
It will success without error message.

Additional info:
On devenv_3154 it works well

Comment 2 joycezhang 2013-05-09 08:35:05 UTC
Raise the priority to medium for this bug, as it will block to use all rhc commands next if it's failed to intall the forge.openshift as below:

[forge123final1] forge123final1 $ rhc setup 
***INFO*** Loaded OpenShift configuration from /root/.openshift/express.conf
 ? Enter the application name [forge123final1]  [forge123final1] forgeapp1
***INFO*** Using RHLOGIN:zhangjing for https://10.66.105.174
 ? Enter your Red Hat Openshift password: ******
***INFO*** Found OpenShift User: zhangjing
Choose a JBoss Cartridge:

  1 - [Cartridge [name=jbossews-2.0]]*
  2 - [Cartridge [name=jbossews-1.0]]
  3 - [Cartridge [name=jbosseap-6.0]]

 ? Choose an option by typing the number of the selection [*-default]  [0] 1
***INFO*** Using JBoss Cartridge: jbossews-2.0
Initialized empty Git repository in /home/joyce/forge-distribution-1.2.3.Final/bin/forge123final1/.git/
***INFO*** Waiting for OpenShift to propagate DNS
***INFO*** Trying to contact http://forgeapp1-dmose12.newosetestv2.com/ (attempt 1 of 500)
Updating openshift
Warning: Permanently added 'forgeapp1-dmose12.newosetestv2.com,10.66.108.168' (RSA) to the list of known hosts.
reverse mapping checking getaddrinfo for unused [10.66.108.168] failed - POSSIBLE BREAK-IN ATTEMPT!
From ssh://forgeapp1-dmose12.newosetestv2.com/~/git/forgeapp1
 * [new branch]      master     -> openshift/master
***SUCCESS*** Application deployed to http://forgeapp1-dmose12.newosetestv2.com/
***ERROR*** Failed to install [forge.openshift]; there may be a mess!
***SUCCESS*** OpenShift (rhc) is installed.
Wrote /home/joyce/forge-distribution-1.2.3.Final/bin/forge123final1/pom.xml
[forge123final1] forge123final1 $ rhc status
***ERROR*** [rhc] Missing command for plugin [rhc], available commands: [setup]
[forge123final1] forge123final1 $ rhc list
***ERROR*** [rhc] Missing command for plugin [rhc], available commands: [setup]
[forge123final1] forge123final1 $ rhc tail
***ERROR*** [rhc] Missing command for plugin [rhc], available commands: [setup]

Comment 3 Brenton Leanhardt 2013-06-06 17:33:53 UTC
After working around Bug #970805 I was able to reproduce this bug.  After running 'rhc setup --app forge11' I saw the following:

***SUCCESS*** Application deployed to http://forge11-demo.example.com/
***ERROR*** Failed to install [forge.openshift]; there may be a mess!
***SUCCESS*** OpenShift (rhc) is installed.

I wasn't able to find the text 'Failed to install' or 'there may be a mess!' in the forge or plugin-openshift git repositories.


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