[
https://issues.jboss.org/browse/JBIDE-19850?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-19850 at 7/22/15 11:03 AM:
--------------------------------------------------------------------
With the new binaries my curl against STG is failing, too, there is now no tunnel to my
app being created:
{code}
curl localhost:8080
curl: (7) Failed to connect to localhost port 8080: Connection refused
{code}
I see "oc" being invoked with the following cmd-line arguments:
{code}
/home/adietish/git/origin/_output/local/go/bin/oc port-forward
--insecure-skip-tls-verify=true --server=https://console.stg.openshift.com --token=XXXXXXX
-n nnnnnn -p hello-openshift 8080:8080
{code}
Only when stepping in with brk-points I see following error show up in dialog and log:
{code}
com.openshift.restclient.OpenShiftException: Port forwarding process exited: error: Error
upgrading connection: User "adietish(a)redhat.com" cannot create pods/portforward
in project "nnnnnn"
at
com.openshift.internal.restclient.capability.resources.OpenShiftBinaryPortForwarding.checkProcessIsAlive(OpenShiftBinaryPortForwarding.java:108)
at
com.openshift.internal.restclient.capability.resources.OpenShiftBinaryPortForwarding.startProcess(OpenShiftBinaryPortForwarding.java:97)
at
com.openshift.internal.restclient.capability.resources.OpenShiftBinaryPortForwarding.forwardPorts(OpenShiftBinaryPortForwarding.java:89)
at
org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardModel$2.visit(PortForwardingWizardModel.java:88)
at
org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardModel$2.visit(PortForwardingWizardModel.java:1)
at
com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:75)
at
org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardModel.startPortForwarding(PortForwardingWizardModel.java:75)
at
org.jboss.tools.openshift.internal.ui.portforwading.PortForwardingWizardPage$2$1.run(PortForwardingWizardPage.java:137)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
{code}
was (Author: adietish):
With the new binaries my curl against STG is failing, too, there is now no tunnel to my
app being created:
{code}
curl localhost:8080
curl: (7) Failed to connect to localhost port 8080: Connection refused
{code}
As a user I want to easily set up port forwarding for my application
--------------------------------------------------------------------
Key: JBIDE-19850
URL:
https://issues.jboss.org/browse/JBIDE-19850
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.3.0.Beta1
Reporter: Andre Dietisheim
Assignee: Jeff Cantrill
Priority: Blocker
Labels: openshift_v3, port_forwarding_wizard, respin-a
Fix For: 4.3.0.Beta2
Attachments: hello_world_template.json
As a user I want to be able to easily set up port forwarding to my application
Test by:
# Start OpenShift
# Create app from attached template
# Right Click on "Hello-world Pod" > Forward Ports
# Check find open ports
# Start Port forwarding
# In a terminal "curl localhost:<assigned local port>"
# Expect "Hello OpenShift"
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)