[jbosstools-issues] [JBoss JIRA] (JBIDE-23662) Scaling To/Up/Down: causes error message (from OpenShift API) reporting outdated objects

Radim Hopp (JIRA) issues at jboss.org
Tue Jan 31 11:56:00 EST 2017


     [ https://issues.jboss.org/browse/JBIDE-23662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radim Hopp closed JBIDE-23662.
------------------------------


Verified in Devstudio 10.3.0.AM2. Closing

> Scaling To/Up/Down: causes error message (from OpenShift API) reporting outdated objects
> ----------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23662
>                 URL: https://issues.jboss.org/browse/JBIDE-23662
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.4.2.Final
>            Reporter: Ricardo Martinelli Oliveira
>            Assignee: Andre Dietisheim
>              Labels: openshift_v3, scaling_pods_wizard
>             Fix For: 4.4.3.AM2
>
>         Attachments: scale-error-object-modified.png
>
>
> Every Scale option I select in the OpenShift Explorer view show this error:
> Unable to scale guestbook-service
> Exception trying to PUT https://10.1.2.2:8443/api/v1/namespaces/sample-project/replicationcontrollers/guestbook-service-2 response code: 409 Operation cannot be fulfilled on replicationcontrollers "guestbook-service-2": the object has been modified; please apply your changes to the latest version and try again
> However, the scale command is executed successfuly.
> Steps to reproduce:
> # ASSERT: make sure that you have a service with at least 1 pod running in OpenShift
> # EXEC: in OpenShift Explorer: select your service and pick "Scale > To" in the context menu
> # ASSERT: "Scale Deployment" dialog is shown, prefilled with the current number of replicas
> # EXEC: change the replicas to a high number (ex. 6 is working well for me to cause the error)
> # ASSERT: you get the error, if not process with next step
> # EXEC:  in OpenShift Explorer: select your service and pick "Scale > To" in the context menu and scale down to "1" replica
> Result:
> either you now get the error above or you need to scale back up etc.
> !scale-error-object-modified.png!



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list