Skip to main content
NetApp Knowledge Base

ONTAP Deploy: Upgrade fails on license-manager setup

Views:
14
Visibility:
Public
Votes:
0
Category:
ontap-select-deploy-upgrade
Specialty:
virt
Last Updated:

Applies to

ONTAP Deploy 9.9.1

Issue

  • Deploy VM upgrade fails with the following message:
(ONTAPdeploy) deploy upgrade
-package-path /home/admin/SELECTDEPLOY_9121P4.tar.gz

Two-node clusters are being managed by this Deploy instance. An upgrade
operation requires a reboot of Deploy, which will temporarily disconnect iSCSI connections from ONTAP Select nodes of two-node
clusters (being managed and using the mediator service running on this Deploy). Takeover/Giveback will be disabled on all such
two-node clusters for the short period until the Deploy reboot completes and iSCSI connections from ONTAP Select nodes are
restored.

Do you want to proceed with the upgrade ? [y/N] y

A backup of the system will be taken prior to upgrade.
Enter a password to encrypt the backup with:
Retype new password:

Starting upgrade. This may take a few minutes. The system will reboot to
complete the upgrade. No other operations are permitted while the upgrade is in progress.

Deploy upgrade failed.
  • The Deploy upgrade fails regardless of target version.
  • In the Deploy upgrade.log file, you see errors like the below:

upgrade.log.1:[2023-09-14 11:29:21] Setting up license-manager (0.0.1)
... 
upgrade.log.1:[2023-09-14 11:29:21] rm: cannot remove '/usr/lib/license-manager-0.0.1/license_manager/license_manager/common/__init__.py': No such file or directory 
upgrade.log.1:[2023-09-14 11:29:21] dpkg: error processing package license-manager (--configure): 
upgrade.log.1:[2023-09-14 11:29:21] installed license-manager package post-installation script subprocess returned error exit status 1 
upgrade.log.1-[2023-09-14 11:29:21] Errors were encountered while processing: 
upgrade.log.1:[2023-09-14 11:29:21] license-manager

  • In older upgrade.log files, you see evidence a previous upgrade attempted failed to complete license-manager setup:

upgrade.log.2:[2023-03-27 10:10:25] Unpacking license-manager (0.0.1) over (0.0.1)
...
upgrade.log.2:[2023-03-27 10:10:25] Setting up license-manager (0.0.1)
...  
upgrade.log.2-[2023-03-27 10:10:26] Errors were encountered while processing:
upgrade.log.2:[2023-03-27 10:10:26] license-manager 
upgrade.log.2-[2023-03-27 10:10:26] Deploy Upgrade Failed
upgrade.log.2-[2023-03-27 10:10:26] Upgrade script exit status: 1

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.