Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-433

New deployment needs two check cycles to download and to install a new DP

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.0.0
    • 2.0.1
    • Management Agent
    • None

    Description

      I tested the new agent implementation but I observed a little bit curious behavior:

      • At first check, the agent detects and downloads the update DP
      • Then it stops with log entry: [DEBUG] 21:50:31 (downloads) Download stopped early: 926530 of -1 bytes downloaded... (0)
      • on the next check: [DEBUG] 21:50:39 (controller) Checking for deployment updates..
      • new DP is detected: [DEBUG] 21:50:39 (controller) Need to install update: newer deployment version available!
      • Download is resumed: [INFO] 21:50:39 (controller) Download of deployment update is STOPPED. Resuming download...
      • and completed: [DEBUG] 21:51:00 (downloads) Download completed: 926530 bytes downloaded...

      This indicates that it needs to cycles to download and really install a DP.

      In DownloadCallableImpl.call():

      • is.getContentSize() return -1 during download
      • afterwards downloadComplete==false (line 100) and stoppedEarly==true (line 101) indicates that the download seems to be stopped (DownloadState.STOPPED in DownloadResult).

      Or is this behaviour (installing a downloaded DP during the next check cycle) intended?

      Attachments

        1. AgentError.log
          4 kB
          Wilfried Sibla

        Activity

          People

            marrs Marcel Offermans
            wilsib Wilfried Sibla
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: