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