Bug 913389
| Summary: | [Forge]Failed to input "yes" or "no" from keyboard to continue the app creation when running rhc setup | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | joycezhang <jinzhang> |
| Component: | oc | Assignee: | Ben Parees <bparees> |
| Status: | CLOSED WONTFIX | QA Contact: | libra bugs <libra-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | chunchen, dmcphers, ffranz, mmcgrath, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-06-11 21:36:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
joycezhang
2013-02-21 07:16:21 UTC
Unable to recreate. I have tested against a brand new env. Here is what I have done: 1) Create new devenv 2) Point express.conf to devenv 3) Run 'rhc setup' 4) Steps above. I never see the 'Are you sure you want to continue connecting (yes/no)?' question. Details below. Is this a local install of Origin? It looks like maybe the ssl cert being used is not configured properly for the server instance (i.e. the hostname in the cert doesn't match the hostname). Can you ssh into the machine? [forge-openshift-demo] forge-openshift-demo $ rhc setup ***INFO*** Loaded OpenShift configuration from /home/bdecoste/.openshift/express.conf ? Enter the application name [forgeopenshiftd] [forgeopenshiftd] forgedemo ***INFO*** Using RHLOGIN:bdecoste68e for https://ec2-50-19-205-76.compute-1.amazonaws.com ? Enter your Red Hat Openshift password: ****** ***INFO*** Found OpenShift User: bdecoste68e Choose a JBoss Cartridge: 1 - [Cartridge [name=jbossews-2.0]]* 2 - [Cartridge [name=jbossas-7]] 3 - [Cartridge [name=jbosseap-6.0]] 4 - [Cartridge [name=jbossews-1.0]] ? Choose an option by typing the number of the selection [*-default] [0] 2 ***INFO*** Using JBoss Cartridge: jbossas-7 Initialized empty Git repository in /home/bdecoste/workspaces/OpenShift/forge-openshift-demo/forge-openshift-demo/.git/ ***INFO*** Waiting for OpenShift to propagate DNS ***INFO*** Trying to contact http://forgedemo-bdecoste68e.dev.rhcloud.com/ (attempt 1 of 500) ***INFO*** Trying to contact http://forgedemo-bdecoste68e.dev.rhcloud.com/ (attempt 6 of 500) Updating openshift Warning: Permanently added 'forgedemo-bdecoste68e.dev.rhcloud.com,50.19.205.76' (RSA) to the list of known hosts. From ssh://forgedemo-bdecoste68e.dev.rhcloud.com/~/git/forgedemo * [new branch] master -> openshift/master ***SUCCESS*** Application deployed to http://forgedemo-bdecoste68e.dev.rhcloud.com/ ***SUCCESS*** Installed [forge.openshift] successfully. ***SUCCESS*** OpenShift (rhc) is installed. Wrote /home/bdecoste/workspaces/OpenShift/forge-openshift-demo/forge-openshift-demo/pom.xml This message is occurred when you have created or connected apps before and generated a file know_hosts under ~/.ssh on your client. Here's the content of know_hosts: # cat known_hosts alb-1.stg.rhcloud.com,184.72.206.227 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwUPkUQ84FKIWhOxy5RBBuR9gbrov2epARmFmaxD7NFRayobnDvl8GaBTbH1kxaZ/tYQeIqVE1assL74KArMQBzz6rj0FEWf0zrXxAY55EGswmWEEdqlYu1LbIxDCG6opqkiq6ocxjea9K3XYq+2aYoAvI3sshSImTYZP1glFhrh3QUsNJHOfDboTLJFNSdLjzXubRMa4eEx7s9pe9kwBOaLNIiVeGzUWg5+KaykSg2UMB3aG127t8kX+OhDYceVR42ehQJ0MjQGlGoNtldxGrlX8NjxUqvJAo6pqNqRK8Cps7/x/m0GPXWAgSZymhurXmj1o2LP5nKLtVzMPvwMb0w== It could work well if no know_hosts file existed on the client. Does this occur when there is nothing in known_hosts or there is no known_hosts file? It doesn't occur if no know_hosts file existed and it's reproduced if nothing in know_hosts. Still can't recreate this. Below is the result I get when there is an empty known_hosts and empty libra_known_hosts file. Note the line where the new host is added to known_hosts when pulling down the .git repo. If you are resusing the same hostname with different certificates you need to clean out the entry in the known_hosts file or there will be a mismatch. Choose a JBoss Cartridge: 1 - [Cartridge [name=jbossews-2.0]]* 2 - [Cartridge [name=jbossas-7]] 3 - [Cartridge [name=jbosseap-6.0]] 4 - [Cartridge [name=jbossews-1.0]] ? Choose an option by typing the number of the selection [*-default] [0] 2 ***INFO*** Using JBoss Cartridge: jbossas-7 Initialized empty Git repository in /home/bdecoste/workspaces/OpenShift/forge-openshift-demo/forge-openshift-demo/.git/ ***INFO*** Waiting for OpenShift to propagate DNS ***INFO*** Trying to contact http://forgedemo-bdecoste73e.dev.rhcloud.com/ (attempt 1 of 500) ***INFO*** Trying to contact http://forgedemo-bdecoste73e.dev.rhcloud.com/ (attempt 6 of 500) ***INFO*** Trying to contact http://forgedemo-bdecoste73e.dev.rhcloud.com/ (attempt 11 of 500) Updating openshift Warning: Permanently added 'forgedemo-bdecoste73e.dev.rhcloud.com,23.22.22.252' (RSA) to the list of known hosts. From ssh://forgedemo-bdecoste73e.dev.rhcloud.com/~/git/forgedemo * [new branch] master -> openshift/master ***SUCCESS*** Application deployed to http://forgedemo-bdecoste73e.dev.rhcloud.com/ ***SUCCESS*** Installed [forge.openshift] successfully. ***SUCCESS*** OpenShift (rhc) is installed. Wrote /home/bdecoste/workspaces/OpenShift/forge-openshift-demo/forge-openshift-demo/pom.xml [forge-openshift-demo] forge-openshift-demo $ The message can pop up if the app connection didn't exist in know_hosts file. It also can be shown when using rhc client as below:
# rhc app ssh py33 -p redhat
Connecting to 51342a166cec0e8913000232.rhcloud.com ...
The authenticity of host 'py33-intdm1new2.int.rhcloud.com (54.234.223.161)' can't be established.
RSA key fingerprint is cf:ee:77:cb:0e:fc:02:d7:72:7e:ae:80:c0:90:88:a7.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'py33-intdm1new2.int.rhcloud.com' (RSA) to the list of known hosts.
*********************************************************************
You are accessing a service that is for use only by authorized users.
If you do not have authorization, discontinue use at once.
Any use of the services is subject to the applicable terms of the
agreement which can be found at:
https://openshift.redhat.com/app/legal
*********************************************************************
Welcome to OpenShift shell
This shell will assist you in managing OpenShift applications.
!!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!!
Shell access is quite powerful and it is possible for you to
accidentally damage your application. Proceed with care!
If worse comes to worst, destroy your application with 'rhc app delete'
and recreate it
!!! IMPORTANT !!! IMPORTANT !!! IMPORTANT !!!
Type "help" for more info.
But after the app connection stored in know_hosts file, the message won't be shown when you create connection in the future.
The host needs to be in known_hosts. Lowering severity. Not a release blocker This bug is still reproduced with openshift plugin 1.0.6 Final on forge 1.2.2 Final, and app can't be created successfully as below: $ rhc setup ***INFO*** Loaded OpenShift configuration from /root/.openshift/express.conf ? Enter the application name [forgetest9] [forgetest9] myap123 ***INFO*** Using RHLOGIN:zhangjing for https://10.66.78.199 ? Enter your Red Hat Openshift password: ****** ***INFO*** Found OpenShift User: zhangjing 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/joyce/forge122final/forge-distribution-1.2.2.Final/bin/forgetest9/.git/ ***INFO*** Waiting for OpenShift to propagate DNS ***INFO*** Trying to contact http://myap123-osedmtest1.rhn.com/ (attempt 1 of 500) ***INFO*** Trying to contact http://myap123-osedmtest1.rhn.com/ (attempt 6 of 500) Updating openshift The authenticity of host 'myap123-osedmtest1.rhn.com (10.66.78.205)' can't be established. RSA key fingerprint is c0:de:72:f4:0e:8f:e7:77:63:5d:5c:a1:d1:e7:7e:01. Are you sure you want to continue connecting (yes/no)? Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Host key verification failed. fatal: The remote end hung up unexpectedly error: Could not fetch openshift ***ERROR*** Failed to connect to OpenShift GIT repository, project is in an inconsistent state. Remove the .git directory manually, and delete the application using rhc app delete -a myap123 org.jboss.forge.project.ProjectModelException: Could not complete installation of facet: [forge.openshift]. Installation was aborted by the Facet during installation. at org.jboss.forge.project.BaseProject.performInstallation(BaseProject.java:246) at org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java) at org.jboss.forge.shell.project.FacetInstallationHandler.performInstallation(FacetInstallationHandler.java:105) at org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetInstallationHandler.java:81) at org.jboss.forge.shell.project.FacetInstallationHandler.installRequest(FacetInstallationHandler.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628) at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75) at com.redhat.openshift.forge.OpenShiftPlugin.setup(OpenShiftPlugin.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.forge.shell.command.Execution.perform(Execution.java:134) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:789) at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:812) at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172) at java.lang.Thread.run(Thread.java:722) ping, any updates? This bug is still reproduced with openshift plugin 2.4.1.Final on forge 1.2.1 Final, and app can't be created successfully as below: [forge-openshift-demo] forge-openshift-demo $ rhc setup --app forge ***INFO*** Loaded OpenShift configuration from /root/.openshift/express.conf ***INFO*** Using RHLOGIN:chunchen for https://ec2-54-224-117-212.compute-1.amazonaws.com ? Enter your Red Hat Openshift password: ** ***INFO*** Found OpenShift User: chunchen Choose a JBoss Cartridge: 1 - [Cartridge [name=jbossas-7.1]]* 2 - [Cartridge [name=jbossews-2.0]] 3 - [Cartridge [name=jbosseap-6.0]] ? Choose an option by typing the number of the selection [*-default] [0] 1 ***INFO*** Using JBoss Cartridge: jbossas-7.1 Initialized empty Git repository in /home/fedr1204/Downloads/dirs/forge/forge-openshift-demo/.git/ ***INFO*** Waiting for OpenShift to propagate DNS ***INFO*** Trying to contact http://forge-ddd.dev.rhcloud.com/ (attempt 1 of 500) Updating openshift The authenticity of host 'forge-ddd.dev.rhcloud.com (54.224.117.212)' can't be established. RSA key fingerprint is 1f:2d:4f:56:37:32:9e:9a:f6:46:a7:17:ca:e8:66:38. Are you sure you want to continue connecting (yes/no)? Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Please type 'yes' or 'no': Host key verification failed. fatal: The remote end hung up unexpectedly error: Could not fetch openshift ***ERROR*** Failed to connect to OpenShift GIT repository, project is in an inconsistent state. Remove the .git directory manually, and delete the application using rhc app delete -a forge org.jboss.forge.project.ProjectModelException: Could not complete installation of facet: [forge.openshift]. Installation was aborted by the Facet during installation. at org.jboss.forge.project.BaseProject.performInstallation(BaseProject.java:246) at org.jboss.forge.project.BaseProject.installFacet(BaseProject.java:166) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.weld.proxies.Project$-1946286523$Proxy$_$$_WeldClientProxy.installFacet(Project$-1946286523$Proxy$_$$_WeldClientProxy.java) at org.jboss.forge.shell.project.FacetInstallationHandler.performInstallation(FacetInstallationHandler.java:105) at org.jboss.forge.shell.project.FacetInstallationHandler.install(FacetInstallationHandler.java:81) at org.jboss.forge.shell.project.FacetInstallationHandler.installRequest(FacetInstallationHandler.java:59) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:628) at org.jboss.weld.event.EventImpl.fire(EventImpl.java:75) at com.redhat.openshift.forge.OpenShiftPlugin.setup(OpenShiftPlugin.java:98) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.forge.shell.command.Execution.perform(Execution.java:134) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:109) at org.jboss.forge.shell.command.fshparser.FSHRuntime.run(FSHRuntime.java:47) at org.jboss.forge.shell.ShellImpl$ExecutorThread.run(ShellImpl.java:789) at org.jboss.forge.shell.ShellImpl.execute(ShellImpl.java:812) at org.jboss.forge.shell.ShellImpl.doShell(ShellImpl.java:602) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.bean.proxy.AbstractBeanInstance.invoke(AbstractBeanInstance.java:48) at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:125) at org.jboss.forge.shell.ShellImpl$Proxy$_$$_WeldClientProxy.doShell(ShellImpl$Proxy$_$$_WeldClientProxy.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.jboss.weld.util.reflection.SecureReflections$13.work(SecureReflections.java:305) at org.jboss.weld.util.reflection.SecureReflectionAccess.run(SecureReflectionAccess.java:54) at org.jboss.weld.util.reflection.SecureReflectionAccess.runAsInvocation(SecureReflectionAccess.java:163) at org.jboss.weld.util.reflection.SecureReflections.invoke(SecureReflections.java:299) at org.jboss.weld.introspector.jlr.WeldMethodImpl.invokeOnInstance(WeldMethodImpl.java:188) at org.jboss.weld.introspector.ForwardingWeldMethod.invokeOnInstance(ForwardingWeldMethod.java:59) at org.jboss.weld.injection.MethodInjectionPoint.invokeOnInstanceWithSpecialValue(MethodInjectionPoint.java:198) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:282) at org.jboss.weld.event.ObserverMethodImpl.sendEvent(ObserverMethodImpl.java:265) at org.jboss.weld.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:234) at org.jboss.weld.manager.BeanManagerImpl.notifyObservers(BeanManagerImpl.java:635) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:622) at org.jboss.weld.manager.BeanManagerImpl.fireEvent(BeanManagerImpl.java:616) at org.jboss.forge.shell.Bootstrap$1.run(Bootstrap.java:172) at java.lang.Thread.run(Thread.java:722) [forge-openshift-demo] forge-openshift-demo $ yyyyyyyysyyyyynyyyyy ***ERROR*** No such command: yyyyyyyysyyyyynyyyyy This bug is reproduced without config file added under ~/.ssh. If trying to add below config file under ~/.ssh, it works well. # cat config StrictHostKeyChecking=no Unable to reproduce in latest. @Fabiano Franz I am trying to use JBoss Forge(version 2.12.1.Final) to verify this bug, but it's failed to install plugin of OpenShift Java client tools, could you please help to have a look? Have tried below ways to install plugin of OpenShift Java client tools: 1. From the system command line: $ forge --install org.jboss.forge.addon:openshift java.lang.IllegalArgumentException: No Artifact version found for org.jboss.forge.addon:openshift at org.jboss.forge.bootstrap.Bootstrap.install(Bootstrap.java:335) at org.jboss.forge.bootstrap.Bootstrap.<init>(Bootstrap.java:179) at org.jboss.forge.bootstrap.Bootstrap.main(Bootstrap.java:95) > Forge version [2.12.1.Final] 2. From Forge CLI: [openshiftme]$ addon-install-from-git --url https://github.com/forge/plugin-openshift.git ***INFO*** Installing Addon from Git [0/4] ... ***INFO*** Installing Addon from Git:Cloning repository in /tmp/1414466344189-0 [0/4] ... ***INFO*** Installing Addon from Git:Installing project into local repository [1/4] ... [INFO] Scanning for projects... <-------------snip-------------> ***INFO*** Installing Addon from Git:Removing previous addon installation (com.redhat.openshift:forge-openshift-plugin,1.0.6.Final) [2/4] ... ***INFO*** Installing Addon from Git:Installing addon (com.redhat.openshift:forge-openshift-plugin,1.0.6.Final) [3/4] ... ***ERROR*** Addon com.redhat.openshift:forge-openshift-plugin,1.0.6.Final could not be installed: org.eclipse.aether.resolution.DependencyResolutionException: Failure to find com.redhat.openshift:forge-openshift-plugin:jar:forge-addon:1.0.6.Final in http://maven.repository.redhat.com/earlyaccess/all/ was cached in the local repository, resolution will not be reattempted until the update interval of jboss-earlyaccess-repository has elapsed or updates are forced Thanks in advance! |