[JBoss JIRA] (JBIDE-21701) Enable port forwarding on a given pod and a given debug port
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21701?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-21701:
------------------------------------------
builds and tests pass, merged into jbosstools-4.3.x and cherry-picked to master
> Enable port forwarding on a given pod and a given debug port
> ------------------------------------------------------------
>
> Key: JBIDE-21701
> URL: https://issues.jboss.org/browse/JBIDE-21701
> Project: Tools (JBoss Tools)
> Issue Type: Sub-task
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Reporter: Fred Bricon
> Assignee: Xavier Coulon
> Fix For: 4.3.1.CR1
>
>
> Given a remote debug port, we need to ensure to programmatically enable port forwarding on a pod, return the matching local debug port (named debug).
> The local port could be determined as the next available free port, or read from the server adapter's preferences. But that latter case would also require adding some UI to let a user set the local port. That could be done in a later iteration.
> If port forwarding is already enabled on the remote pod, then the current local debug port should be returned
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21871) Weird message in error log when connecting to cdk openshift - Unauthorized
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21871?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-21871:
---------------------------------------
Linking JBIDE-21886 - Have a label for when there is no project in your openshift connection
> Weird message in error log when connecting to cdk openshift - Unauthorized
> ---------------------------------------------------------------------------
>
> Key: JBIDE-21871
> URL: https://issues.jboss.org/browse/JBIDE-21871
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.CR1
> Reporter: Martin Malina
> Fix For: 4.4.0.Alpha1
>
> Attachments: secure-storage.png
>
>
> Everytime I start cdk and then want to connect to the openshift instance in OpenShift Explorer view, I get this info message in Error Log:
> Unauthorized. Trying to reauthenticate
> All the time I was thinking that the connection is actually not working, but then I tried to create a project and it worked.
> I can see a few issues here:
> 1. Why is this info message displayed even though the connection is actually established? It's confusing.
> 2. There is no clear indication if a connection is established or not - could we do something about it? If there is an existing project, then you can see it. But currently there is none for the openshift-dev user by default. What makes is worse is the fact that once you start cdk, there is a little arrow next to the openshift connection as if you could expand it. When you do that, it will expand 1 line with "Loading.." and then it will suddenly disappear, so it really looks like something is wrong.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21886) Have a label for when there is no project in your openshift connection
by Martin Malina (JIRA)
Martin Malina created JBIDE-21886:
-------------------------------------
Summary: Have a label for when there is no project in your openshift connection
Key: JBIDE-21886
URL: https://issues.jboss.org/browse/JBIDE-21886
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Martin Malina
Marian and I were discussing the issue that it's not clear whether or not a connection to OpenShift 3 is established or not - in the OpenShift Explorer view.
So here's a suggestion:
When you expand your OpenShift connection and there is no project yet, we could display an item like this:
No projects are available. Click this link to create a new project...
This would be similar to what Server view display if there are no servers yet.
This is related to JBIDE-21871 where we discussed how to make it clearer that an OpenShift connection is active and working.
For CDK, we will hopefully have a default project via https://github.com/projectatomic/adb-utils/pull/78 so this won't be an issue, but you cannot guarantee that there will always be a project on all OpenShift 3 instances, so it would still be a good idea to have what we suggest above.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21885) Remvoe "()" from context-menu name of Start Build
by Xia Zhao (JIRA)
Xia Zhao created JBIDE-21885:
--------------------------------
Summary: Remvoe "()" from context-menu name of Start Build
Key: JBIDE-21885
URL: https://issues.jboss.org/browse/JBIDE-21885
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.Beta2
Environment: JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160316-2139-B1202
OS: Fedora 22 & Windows 10
Reporter: Xia Zhao
Priority: Minor
Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21885) Remvoe "()" from context-menu name of Start Build
by Xia Zhao (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21885?page=com.atlassian.jira.plugi... ]
Xia Zhao updated JBIDE-21885:
-----------------------------
Description: The "()" from context-menu name of Start Build should be removed (was: Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409})
Steps to Reproduce:
Steps to Reproduce:
1. Login online with JBT
2. Go to your project, populate the property panel of your service
3. choose a bc, right click on it, look at the context-menu name of Start build
Actual Result:
context-menu name is "Start Build ()"
Expected Result:
The "()" from context-menu name of Start build should be removed
was:
Steps to Reproduce:
1. Login online with JBT
2. Go to your project, populate the property panel of your service
3. choose a bc, right click on it and select edit
4. In editor, do some modifications, click on the save button --> the 1st time edited dc can be saved successfully
5. Repeat step 3-4
Actual Result:
Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409}
Expected Result:
Should be able to edit bc continously in eclipse editor
> Remvoe "()" from context-menu name of Start Build
> --------------------------------------------------
>
> Key: JBIDE-21885
> URL: https://issues.jboss.org/browse/JBIDE-21885
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Environment: JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160316-2139-B1202
> OS: Fedora 22 & Windows 10
> Reporter: Xia Zhao
> Priority: Minor
> Labels: openshift_v3
>
> The "()" from context-menu name of Start Build should be removed
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21884) Not able to edit bc continously in eclipse editor
by Xia Zhao (JIRA)
[ https://issues.jboss.org/browse/JBIDE-21884?page=com.atlassian.jira.plugi... ]
Xia Zhao updated JBIDE-21884:
-----------------------------
Description:
Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409}
was:
-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}"
-Issue did not repro if switch to OSE
-Repro on Linux/Windows/Mac OS
Steps to Reproduce:
Steps to Reproduce:
1. Login online with JBT
2. Go to your project, populate the property panel of your service
3. choose a bc, right click on it and select edit
4. In editor, do some modifications, click on the save button --> the 1st time edited dc can be saved successfully
5. Repeat step 3-4
Actual Result:
Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409}
Expected Result:
Should be able to edit bc continously in eclipse editor
was:
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
Priority: Minor (was: Critical)
Environment:
JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160316-2139-B1202
OS: Fedora 22 & Windows 10
was:
-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
> Not able to edit bc continously in eclipse editor
> -------------------------------------------------
>
> Key: JBIDE-21884
> URL: https://issues.jboss.org/browse/JBIDE-21884
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.3.1.Beta2
> Environment: JBoss OpenShift 3 Tools 3.2.0.Alpha1-v20160316-2139-B1202
> OS: Fedora 22 & Windows 10
> Reporter: Xia Zhao
> Priority: Minor
> Labels: openshift_v3
>
> Not able to save edited bc since the 2nd time editing it in eclipse editor, have to reopen it everytime, or will get this error:
> Could not update "[xiazhao] Build Config : cakephp-example.json" for project "xiazhao" : buildconfigs "cakephp-example" cannot be updated: the object has been modified; please apply your changes to the latest version and try again
> Could not update resource cakephp-example: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"buildconfigs \"cakephp-example\" cannot be updated: the object has been modified; please apply your changes to the latest version and try again","reason":"Conflict","details":{"name":"cakephp-example","kind":"buildconfigs"},"code":409}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years
[JBoss JIRA] (JBIDE-21884) Not able to edit bc continously in eclipse editor
by Xia Zhao (JIRA)
Xia Zhao created JBIDE-21884:
--------------------------------
Summary: Not able to edit bc continously in eclipse editor
Key: JBIDE-21884
URL: https://issues.jboss.org/browse/JBIDE-21884
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
Priority: Critical
-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}"
-Issue did not repro if switch to OSE
-Repro on Linux/Windows/Mac OS
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
10 years