Guest

Preview Tool

Cisco Bug: CSCvt09877 - Upgrade to 1.3.1.4 Fails at INSTALL_PRE_HOOKS stage due to missing directory in /opt/maglev/hooks/

Last Modified

Jul 03, 2020

Products (1)

  • Cisco DNA Center

Known Affected Releases

DNAC1.3.1.4

Description (partial)

Symptom:
Cisco DNA Center may fail to upgrade its System packate to 1.3.1.4 at 1% with an error at the "INSTALL_PRE_HOOKS" state.

Output from an effected system may appear similar to the following:
$ maglev system_updater update_info
 
System update status:
  Version successfully installed : 1.3.0.94
  Version currently processed    : 1.3.0.109
    Update phase                 : failed
    Update details               : Applying pre system update hooks failed for node x.x.x.x
    Progress                     : 1%
 
  Updater State:
    Currently processed version  : 1.3.0.109
    State                        : FAILED
    Sub-State                    : INSTALL_PRE_HOOKS
    Details                      : Applying pre system update hooks failed for node x.x.x.x
    Source                       : system-updater

Conditions:
This may happen during an upgrade from Cisco DNA Center 1.3.1.3 to 1.3.1.4

The maglev-hook-installer logs indicate the following errors:

Feb 13 15:07:36 maglev-master-1 maglev-hook-installer.sh[7762]: | 2020-02-13 15:07:36,954 | DEBUG  | 7782 | MainThread   | 140325490276096 | root                                               | process-hooks.py:470 | Received a Install-Hook command. Name: main-system-package_1.3.0.109 Phase: PRE_SYSTEM_UPDATE Status: initiated |
Feb 13 15:07:36 maglev-master-1 maglev-hook-installer.sh[7762]: | 2020-02-13 15:07:36,955 | ERROR  | 7782 | MainThread   | 140325490276096 | root                                               | process-hooks.py:322 | Hook Artifact Directory /opt/maglev/hooks/main-system-package_1.3.0.109/1.0.1.53 not found on the host: x.x.x.x |
.
+++
.
Feb 13 15:07:36 maglev-master-1 maglev-hook-installer.sh[7762]: | 2020-02-13 15:07:36,956 | ERROR  | 7782 | MainThread   | 140325490276096 | root                                               | process-hooks.py:492 | Failed to complete the execution of the hook: main-system-package_1.3.0.109, phase: PRE_SYSTEM_UPDATE id: None, command: None, exception: , |
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.