ECS:OBS:xDoctor 自動排程:無法剖析inventory.ini
摘要: 本機主機檔案inventory.ini剖析失敗。
本文章適用於
本文章不適用於
本文無關於任何特定產品。
本文未識別所有產品版本。
症狀
Error message:
admin@ecsnode1:~> sudo xdoctor autopilot --kb 273244 --target-rack red Checking for existing screen sessions... Starting screen session 'autopilot_kb_273244_20250623_184352'... Screen session 'autopilot_kb_273244_20250623_184352' started successfully. Attaching to screen session 'autopilot_kb_273244_20250623_184352'... Using /etc/ansible/ansible.cfg as config file [WARNING]: * Failed to parse /opt/emc/xdoctor/config/inventory.ini with ini plugin: can't add group to itself [WARNING]: Unable to parse /opt/emc/xdoctor/config/inventory.ini as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' VERSION: 3.0 Playbook tasks: 29 Role tasks: 28 Total tasks: 57 across 1 host(s) [WARNING]: Could not match supplied host pattern, ignoring: red PLAY [red] ******************************************************************************************************************************************************************************* Detected 0 hosts for this play. skipping: no hosts matched PLAY RECAP ******************************************************************************************************************************************************************************* ========================================================================================================================================================================================== Status: PASS Time Elapsed: 0h 0m 0s Debug log: /tmp/autopilot/log/autopilot_273244_20250623_184352.log Message: ========================================================================================================================================================================================== s= [screen is terminating]
原因
檔案無法剖析 inventory.ini 建立時導致檔案空白。
解析度
此指令將重新產生 inventory.ini 檔案,只要偵測到問題時,包括自動產生清查檔案期間,也可在發現檔案問題時手動執行。
sudo xdoctor autopilot --inventory
admin@ecsnode1:~> sudo xdoctor autopilot --inventory Updated inventory file /opt/emc/xdoctor/config/inventory.ini
在較新版本上:
sudo xdoctor ansible --update
受影響的產品
ObjectScale, ECS Appliance產品
ECS, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, ObjectScale Software with Encryption, ObjectScale Software without Encryption, ObjectScale Software Series文章屬性
文章編號: 000336401
文章類型: Solution
上次修改時間: 27 2月 2026
版本: 4
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。