VxRail:vCenter VAMI 錯誤:無法取得部署狀態錯誤

Summary: vCenter 裝置管理介面 (VAMI) 無法擷取部署狀態。這可能是由於網域名稱系統 (DNS) 故障、檔案權限、fbInstall.json損毀或零位元組標記檔案遺失所導致。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

存取 VAMI 和 vCenter 時觀察到的問題

VAMI 存取錯誤

  • 嘗試開啟 VAMI 時傳回錯誤訊息 "Unable to get deployment status.”
Unable to get deployment status

vCenter 開機和組態指示燈。

  • 名為的檔案 failed 出現在S /var/log/firstboot/.
  • 的內容 failed 檔案表示 "Failed to configure network.”
  • vCenter 無法 ping DNS 伺服器。

應用程式管理記錄

  • 記錄 /var/log/vmware/applmgmt/applmgmt.log 包含項目「INSTALL_IN_PROGRESS"
... INSTALL_IN_PROGRESS ...

fbInstall.json 檔案異常

  • 檔案 fbInstall.json 存在於 /var/log/firstboot/ 但權限可能不正確 (不是 644 ) 的資料儲存應用程式和系統中執行。
  • JSON 內容顯示的「進度」值不是 100 或“成功”以外的“狀態”值。
{
    "progress": 85,
    "status": "in_progress"
}

升級目錄檔案

  • /var/log/vmware/upgrade/, 預期的檔案 Prechecks-succeeded Exports-succeeded,以及 Import-succeeded 大小缺失或非零 KB。

Cause

導致 VAMI「無法取得部署狀態」的根本原因

  • DNS 解析失敗,當 vCenter 伺服器無法執行 ping 或解析 DNS 伺服器時,VAMI 無法連線至所需的服務。
  • 初次開機期間發生網路組態錯誤。在 /var/log/firstboot/失敗,檔案顯示 "Failed to configure network.”
  • 不當的檔案權限 /var/log/firstboot/fbInstall.json 除了 644 (RW-r--r--) 之外,安裝程序無法讀取進度和狀態資訊。
  • 記錄中顯示安裝進行中。  “INSTALL_IN_PROGRESS”的存在 /var/log/vmware/applmgmt/applmgmt.log 顯示部署尚未完成。
  • 損毀或不完整 fbInstall.json 缺少或格式錯誤的“進度”(不是 100)或“狀態”(不是“成功”)字段會導致 VAMI 報告未定義的部署狀態。
  • 缺少 中的零位元組標記檔案 /var/log/vmware/upgrade/ 缺席 Prechecks-succeeded, Exports-succeeded,或 Import-succeeded 指示先決條件步驟未記錄為已完成。

Resolution

存取 VAMI 並驗證 DNS 組態。

初始存取檢查

嘗試使用直接 IP 位址開啟 VAMI 介面:

https://:5480/configurev2

如果發生錯誤 "Unable to get deployment status 出現,請繼續執行以下步驟。

DNS 驗證

  • 確認 vCenter 主機可以解析並執行 ping DNS 伺服器。
  • 清除瀏覽器快取或嘗試使用其他瀏覽器。
  • 參考 VxRail 文章 VxRail:vCenter 無法取得部署狀態 以取得其他指引。
警示: 不正確的 DNS 設定可能會阻止進一步的部署步驟。請先驗證連線能力後,再繼續進行。

檢查首次開機記錄是否有網路錯誤。

找到失敗檔案。

# List files in the firstboot log directory
ls -l /var/log/firstboot/

# If a file named "failed" exists, display its contents
cat /var/log/firstboot/failed

如果檔案包含 "Failed to configure network,” 確保 vCenter 可以 ping DNS 伺服器,並修正任何網路錯誤設定。

檢查應用程式管理狀態。

搜索正在進行的安裝。

# Look for the INSTALL_IN_PROGRESS flag
grep -i "INSTALL_IN_PROGRESS" /var/log/vmware/applmgmt/applmgmt.log

驗證 fbInstall.json

# Verify the file exists
ls -l /var/log/firstboot/fbInstall.json

# Confirm permissions are 644 (rw-r--r--)
ls -ltrh /var/log/firstboot/fbInstall.json

# Review the JSON content
cat /var/log/firstboot/fbInstall.json

在 JSON 輸出中,確保:

  • "progress" 設定為 100
  • "status" 設定為 "success"

如有需要,請重新啟動 applmgmt 服務。

# Stop the service
service-control --stop applmgmt

# Edit the JSON file (use vi or your preferred editor) to correct any incorrect values
vi /var/log/firstboot/fbInstall.json

# Start the service
service-control --start applmgmt
注意: 編輯 JSON 檔案時應謹慎執行。在進行更改之前,請務必備份原始檔。

確認升級完成檔案。

檢查零位元組成功標記。

cd /var/log/vmware/upgrade/
ls -lh

預期的檔案 (每個 0 KB):

  • Prechecks-succeeded
  • Exports-succeeded
  • Import-succeeded

創建缺失標記。

# Add the files using the touch command. Replace <FILE_NAME> with one of the files above, e.g., Prechecks-succeeded
Example: touch Prechecks-succeeded

# Restart the lightweight VAMI web server
Prior to 8.0U3:
/sbin/service vami-lighttp restart

8.0U3 and above:
systemctl restart cap-lighttpd.service
警示: 正在重新開機 vami-lighttp 暫時中斷 VAMI 存取。如果可能,請在維護時段執行此步驟。

最終驗證

  • 存取 VAMI: https:// :5480/configurev2 並確認部署狀態載入沒有錯誤。
  • 執行下列命令,以確保沒有進行中的安裝:
grep -i "INSTALL_IN_PROGRESS" /var/log/vmware/applmgmt/applmgmt.log || echo "No active installation"
  • 確認三個成功標記檔案存在,並保持在 0 KB。
  • 檢查從 vCenter 主機到 DNS 伺服器的網路連線。
注意: 如果在完成所有步驟後問題仍然存在,請參閱 Broadcom 文章 存取 VAMI 傳回錯誤「無法取得部署狀態」,此超連結會帶您前往 Dell Technologies 以外的網站。或開立 Dell 支援案例。

Affected Products

VxRail, VxRail Appliance Series, VxRail Software
Article Properties
Article Number: 000382558
Article Type: Solution
Last Modified: 22 Dec 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.