SCVを4.8にアップグレードすると、dotnetランタイムファイルのアップグレードに失敗する
環境
SnapCenter Plug-in for VMware vSphere(SCV)4.8
問題
- メンテナンスコンソールにSCV 4.8へのアップグレードが成功と表示される
- SCVは、4.7より前のバージョンからアップグレードする場合(4.7にはすでに新しいdotnetがあるため)、次のような苦情を表示します。
Failed to get protection services status from configuration service: Connection refused (Connection refused). Please make sure the protection services are up and running
daemon.log
にはエラーが表示されます。
Jan 31 14:46:15 mbrscv systemd[1]: Starting protection rbac service...
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: It was not possible to find any compatible framework version
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: The framework 'Microsoft.NETCore.App', version '6.0.0' was not found.
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: - The following frameworks were found:
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: 3.1.2 at [/usr/bin/dotnet/shared/Microsoft.NETCore.App]
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: You can resolve the problem by installing the specified framework and/or SDK.
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: The specified framework can be found at:
Jan 31 14:46:15 mbrscv protectionservice-rbac[14936]: - https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.0&arch=x64&rid=debian.11-x64
Jan 31 14:46:30 mbrscv protectionservice-rbac[14926]: /
Jan 31 14:46:30 mbrscv systemd[1]: protectionservice-rbac.service: New main PID 14936 does not exist or is a zombie.
Jan 31 14:46:30 mbrscv systemd[1]: protectionservice-rbac.service: Failed with result 'protocol'.
- SCVプラグインUIが読み込まれず、SCVサービスを再起動しようとすると、メンテナンスコンソールのエラーが表示されます。
Job for the protectionservice-rbac.service failed because the service did not take the steps required by its unit configuration.
A dependency job for the scvservice.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-backup.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-configuration.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-job.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-logger.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-policy.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-report.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-resources.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-scheduler.service failed. See journalctl -xe for details.
A dependency job for the protectionservice-storage.service failed. See journalctl -xe for details.
Failed to VMware plugin status: Connection refused (Connection refused). Please make sure the plugin is up and running. Failed to get protection services status from configuration service. Connection refused (Connection refused). Please make sure the protection services are up and running.
- SCV診断シェルで、と入力すると、
sudo su
dotnet --info
3.1.2 が現在のdotnetバージョンであることがわかります。 - SCV管理UI(https://scv_IP:8080)に次のエラーが表示されます。
vCenter Plugin connection has failed. VADP Server error occurred