Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-23662

Scaling To/Up/Down: causes error message (from OpenShift API) reporting outdated objects

    Details

      Description

      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:

      1. ASSERT: make sure that you have a service with at least 1 pod running in OpenShift
      2. EXEC: in OpenShift Explorer: select your service and pick "Scale > To" in the context menu
      3. ASSERT: "Scale Deployment" dialog is shown, prefilled with the current number of replicas
      4. EXEC: change the replicas to a high number (ex. 6 is working well for me to cause the error)
      5. ASSERT: you get the error, if not process with next step
      6. 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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  adietish André Dietisheim
                  Reporter:
                  rimolive Ricardo Martinelli
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: