ECS: OBS: Piloto automático do xDoctor: Falha ao analisar inventory.ini

Summary: Falha na análise do inventory.ini de arquivo de host local.

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

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]

Cause

O arquivo falhou ao analisar o inventory.ini na criação, fazendo com que o arquivo ficasse vazio.

Resolution

Esse comando regenera o arquivo inventory.ini sempre que um problema é detectado, inclusive durante a geração automatizada de arquivos de inventário, e também pode ser executado manualmente a qualquer momento em que um problema com o arquivo é encontrado.

sudo xdoctor autopilot --inventory
admin@ecsnode1:~> sudo xdoctor autopilot --inventory 
Updated inventory file /opt/emc/xdoctor/config/inventory.ini

Nas versões mais recentes:

sudo xdoctor ansible --update

Affected Products

ObjectScale, ECS Appliance

Products

ECS, ECS Appliance Software with Encryption, ECS Appliance Software without Encryption, ObjectScale Appliance Software with Encryption, ObjectScale Appliance Software without Encryption, ObjectScale Software Series
Article Properties
Article Number: 000336401
Article Type: Solution
Last Modified: 14 Nov 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.