[
https://issues.jboss.org/browse/JBIDE-21849?page=com.atlassian.jira.plugi...
]
Xia Zhao updated JBIDE-21849:
-----------------------------
Steps to Reproduce:
1.Login to AP by oc client
2.Create a new project with sufficient resources in it:
$oc get svc
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR
AGE
java-mainclass x.x.x.x <none> 8778/TCP
app=java-mainclass,deploymentconfig=java-mainclass 4m
$ oc get po
NAME READY STATUS RESTARTS AGE
java-mainclass-1-u62c4 1/1 Running 0 5m
java-mainclass-1-y7igr 1/1 Running 0 6m
3.Logout from oc client
4.Login AP with JBT, expand the project node
Actual Result:
Not able to list services under a project after login to RHAP, get error message
"Could not list BuildConfig resources in namespace xia:
{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"the
server could not find the requested
resource","reason":"NotFound","details":{},"code":404}"
Expected Result:
Should list all the services under a project
Additional info:
The related issue on oc side is fixed:
https://bugzilla.redhat.com/show_bug.cgi?id=1311049
was:
1. Prepare 2 applications which will deliver different HTML outputs on a same port 8080.
Say pod1 in project1 will reurn string "I'm A" if you curl
http://127.0.0.1/8080 after a successful port-forward operation, and pod2 in project2 will
reutrn string "I'm B" if you curl
http://127.0.0.1/8080 after a successful
port-forward operation. (Let me know if you need the detailed application json files for
these 2 projects)
2. Deploy these 2 applications sepereately into project1 and project2 of openshift
3. Login openshift with JBT (I used Jboss Developer Studio on Mac OS)
4. Inside JBT, go to project1, right click on pod1 (when this pod is running healty),
port-forward it to local port 8080 --> This is used to make local 8080 port is now in
use
5. curl
http://127.0.0.1/8080, should return string "I'm A" in the result
HTML file
6. If you go back to JBT, close the port-forward window in step #4, and revisit it ,
should still see from UI that port forwarding is in process
7. Now go to project2, right click on pod2 (when this pod is running healty), port-forward
it to local port 8080 --> This should not be success since port 8080 is already in use,
but no error message is popped up, and the Port Forward wizard pretended to be succeeded.
8. Close the port-forward window in step7, and revisit it for the 2nd time now, we can see
from the UI that port forwarding is ended.
9. curl
http://127.0.0.1/8080, still return string "I'm A" in the result
HTML file, this means the port forward in step4 is still taking effect, and the attempt in
step 6 had failed, this is the expected result here.
[AP] Not able to list services under a project after login to AP
----------------------------------------------------------------
Key: JBIDE-21849
URL:
https://issues.jboss.org/browse/JBIDE-21849
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Environment: -JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160310-0336-B1191
-AP puddle: 2016-03-09.2
-oc version:
oc v3.2.0.1
kubernetes v1.2.0-alpha.7-703-gbc4550d
Reporter: Xia Zhao
Assignee: Viacheslav Kabanovich
Priority: Critical
Labels: openshift_v3
No error message pop up when attempt to port-forward to a port in use in Jboss Developer
Studio. This issue does not repro in Eclipse on Mac OS.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)