"vamicli update --install latest" コマンドによる VMware Cloud Director 10.6 へのアップグレードがいつまでも実行され続ける
search cancel

"vamicli update --install latest" コマンドによる VMware Cloud Director 10.6 へのアップグレードがいつまでも実行され続ける

book

Article ID: 431111

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

免責事項:これは英文記事「Upgrade of VMware Cloud Director to 10.6 with command "vamicli update --install latest" keeps running indefinitely」の日本語訳です。記事はベストエフォートで翻訳を進めているため、ローカライズ化コンテンツは最新情報ではない可能性があります。最新情報は英語版の記事で参照してください。


  • "vamicli update --install latest" コマンドにより VMware Cloud Director を 10.5 から 10.6 へアップグレードすると、処理がスタックして実行され続けてアップグレードが完了しない。
  • /opt/vmware/var/log/vami/updatecli.log 末尾に以下出力が記録される。

    Created symlink /etc/systemd/system/timers.target.wants/logrotate.timer → /usr/lib/systemd/system/logrotate.timer.
    Created symlink /etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service → /usr/lib/systemd/system/systemd-timesyncd.service.

  • 10 秒のタイムアウトにより証明書追加に失敗したことが、/opt/vmware/var/log/vcd/appliance-sync.log へ記録され続ける。

    YYYY-MM-DD 13:21:19 | Adding certificate for node <node-id> to local trust store.
    YYYY-MM-DD 13:21:29 | Timed out adding certificate for node <node-id>, continuing to other nodes.
    ......
    YYYY-MM-DD 13:22:29 | Adding certificate for node <node-id> to local trust store.
    YYYY-MM-DD 13:22:39 | Timed out adding certificate for node <node-id>, continuing to other nodes.
 

Environment

VMware Cloud Director 10.5.1.1

Cause

証明書インポート処理がタイムアウトすることにより、アップグレード処理がスタックします。

Resolution

この問題を解決するには以下 KB の "Resolution" セクションに従い、証明書インポートタイムアウト値を 10 秒から 25 秒へ変更してください。 
VCD cell configuration fails during database configuration with error " setupvcd script failed to execute"

証明書インポートが成功するとアップグレードスクリプトが実行可能となります。