Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1984

Deployment status is out of sync after redeploy of project in developer mode

    Details

      Description

      When a user redeploys project in development mode, the status of deployment in 'Execution Servers' looks like

      but when clicking refresh button, I can see following log in console:

      2019-03-14 15:09:43,109 INFO  [org.kie.server.controller.websocket.notification.WebSocketNotificationService] (Thread-259) WebSocket notification about change requested on server ServerTemplateKey{id='test-kie-s
      erver', name='test-kie-server'} with container spec ContainerSpec{releasedId=evaluation:evaluation:1.0.0-SNAPSHOT, configs={PROCESS=org.kie.server.controller.api.model.spec.ProcessConfig@bd2a4c03, RULE=org.kie.s
      erver.controller.api.model.spec.RuleConfig@37fc3383}, status=STOPPED} ContainerSpecKey{id='evaluation_1.0.0-SNAPSHOT', containerName='evaluation', serverTemplateKey=ServerTemplateKey{id='test-kie-server', name='
      test-kie-server'}} with following result [Container{serverInstanceId='test-kie-server@localhost:8080', resolvedReleasedId=evaluation:evaluation:1.0.0-SNAPSHOT, messages=[org.kie.server.api.model.Message@778b86ab
      ], status=STARTED} ContainerKey{serverTemplateId='test-kie-server', containerSpecId='evaluation_1.0.0-SNAPSHOT', containerName='evaluation', url='http://localhost:8080/kie-server/services/rest/server/containers/
      evaluation_1.0.0-SNAPSHOT'}]
      

      But the buttons in upper part doesn't change from active: 'Start', disabled: 'Stop', 'Deactivate'

      When I press 'Start' I get , i.e. the start fails, but buttons change to active: 'Stop', 'Deactivate' and disabled 'Start'. Refresh button doesn't change anything in UI.

      Only way to sync the UI and server is to click 'Stop' and 'Start' after.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pere.fernandez Pere Fernandez Perez
                Reporter:
                jstastny Jan Stastny
                Tester:
                Jan Stastny
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: