[jbosstools-issues] [JBoss JIRA] (JBIDE-19850) As a user I want to easily set up port forwarding for my application

Andre Dietisheim (JIRA) issues at jboss.org
Wed Jul 22 16:06:03 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-19850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091915#comment-13091915 ] 

Andre Dietisheim commented on JBIDE-19850:
------------------------------------------

If I do the above "oc" command against my local docker container "oc" errors with the following:
{code}
/home/adietish/git/origin/_output/local/go/bin/oc port-forward --insecure-skip-tls-verify=true --server=https://localhost:8443 --user=test-admin -n openshift -p hello-openshift 8080:8080 
Error from server: User "system:anonymous" cannot get pods in project "openshift"
{code}

This looks like a misconfigured "oc" (missing .kubeconfig?) which tries to log in via "anonymous". The following thread gives a bit of insights how to provide a valid configuration: 
https://github.com/openshift/origin/issues/1643 

> 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)


More information about the jbosstools-issues mailing list