ONTAP Deploy:升级license-manager设置失败
- Views:
- Visibility:
- Public
- Votes:
- 0
- Category:
- ontap-select-deploy-upgrade
- Specialty:
- virt<a>2009年751895年</a>
- Last Updated:
适用场景
问题描述
- Deploy VM升级失败、并显示以下消息:
(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.
- 无论目标版本如何、Deploy升级都会失败。
- 在Deploy
upgrade.log
文件中、您会看到如下错误:
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
- 在较早的
upgrade.log
文件中、您会看到先前尝试升级的操作无法完成许可证管理器设置的证据:
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