-
Bug
-
Resolution: Done
-
Major
-
4.4.1.AM3
-
devex #121 October 2016
-
8
-
When I have an application where no replication controller is yet and I want to deploy latest, I get following error:
Unable to perform a deployment for config hello-openshift com.openshift.restclient.NotFoundException: replicationcontrollers "hello-openshift-0" not found at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.createOpenShiftException(ResponseCodeInterceptor.java:105) at com.openshift.internal.restclient.okhttp.ResponseCodeInterceptor.intercept(ResponseCodeInterceptor.java:59) at okhttp3.RealCall$ApplicationInterceptorChain.proceed(RealCall.java:190) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:163) at okhttp3.RealCall.execute(RealCall.java:57) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:200) at com.openshift.internal.restclient.DefaultClient.execute(DefaultClient.java:181) at com.openshift.internal.restclient.DefaultClient.get(DefaultClient.java:269) at com.openshift.internal.restclient.capability.resources.DeployCapability.deploy(DeployCapability.java:59) at org.jboss.tools.openshift.internal.ui.handler.TriggerDeploymentHandler$1$1.visit(TriggerDeploymentHandler.java:90) at org.jboss.tools.openshift.internal.ui.handler.TriggerDeploymentHandler$1$1.visit(TriggerDeploymentHandler.java:1) at com.openshift.internal.restclient.model.KubernetesResource.accept(KubernetesResource.java:91) at org.jboss.tools.openshift.internal.ui.handler.TriggerDeploymentHandler$1.doRun(TriggerDeploymentHandler.java:85) at org.jboss.tools.openshift.internal.common.core.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:37) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
This is wrong, because it is trying to "deploy latest replication controller" instead of deploying latest deployment configuration (as it works e.g. from oc binary - deployment uses latest deployment configuration not replication controller which could be understood as instance of deployment configuration). Therefore if there is no replication controller and I click Deploy Latest in context menu of a service in OpenShift Explorer view or in context menu of a deployment configuration in properties view, I get the error.
- incorporates
-
JBIDE-21715 Unable to deploy image because a deployment (replication controller) does not exist
- Closed
- is related to
-
JBIDE-22915 Deploy Docker Image: Replication controller is not created for some images
- Closed
-
JBIDE-23379 set up CI jobs for https://github.com/openshift/openshift-restclient-java, which deploy to nexus
- Closed