Monday, November 6, 2017

"Please wait while updating the Deployment Agent" pop-up is stuck in Gaia Portal after CPUSE Agent update

"Please wait while updating the Deployment Agent" pop-up is stuck in Gaia Portal after CPUSE Agent update

Symptoms
  • "Please wait while updating the Deployment Agent" pop-up is stuck in Gaia Portal after CPUSE Agent update:
    • On Gaia R77.20 and above: "Upgrades (CPUSE)" section - "Status and Actions" page
    • On Gaia R75.40 - R77.10: "Software Updates" section - "Status and Actions" page
    Example:
Cause
Usually CPUSE sets a flag in Gaia Database to indicate self-update started and disable the flag when finished.
Due to a bug, on some cases the flag was not disabled after self-update finished.
The W/A below disables the flag.
Solution
Follow these steps:
  1. In Gaia Portal, navigate to any other section.
  2. Connect to command line on Gaia OS.
  3. Log in to Expert mode.
  4. Disable the notification for Gaia Portal that CPUSE self-update is in progress:
    [Expert@HostName:0]# dbset installer:self_update_in_progress
    [Expert@HostName:0]# dbset :save
  5. In Gaia Portal, navigate to Upgrades (CPUSE) section (in Gaia R77.20 and above) / to Software Updates section (in Gaia R77.10 and lower) - click on Status and Actions.
    The pop-up "Please wait while updating the Deployment Agent" should not appear.