ECS: Problemas ao encontrar informações relacionadas ao VDC - ou StoragePool - Erro do VDC: Nenhum VDC encontrado

Summary: Ao listar a topologia do VDC usando o xDoctor, ele informa "VDC Error: Nenhum VDC encontrado"

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

Ao listar a topologia do VDC usando o xDoctor, ele informa "VDC Error: No VDC Found":
admin@lab-ecs01-n01:~> sudo xdoctor --top --vdc

ECS
|
|- CLOUD - ID:[77071b835bb4e0e7c85a1e55e1cxxxxx]
   |
   |- Local VDC - ID:[Unknown] Name:[Unknown]
   |- Local SP  - ID:[d714b08e-1a06-3483-a4ad-fc54f8xxxxx] Name:[LAB-CRK-SP01]
   |  |
   |  |- Local RACK - Name:[red] Master:[169.254.1.1] PSNT:[CKM001.....] SWID:[ELM.....]
   |  |  |
   |  |  |- Node  1, [   provo], NAN.IP:[    169.254.1.1], Public.IP:[  10.x.x.100]
   |  |  |- Node  2, [   sandy], NAN.IP:[    169.254.1.2], Public.IP:[  10.x.x.101]
   |  |  |- Node  3, [    orem], NAN.IP:[    169.254.1.3], Public.IP:[  10.x.x.102]
   |  |  |- Node  4, [   ogden], NAN.IP:[    169.254.1.4], Public.IP:[  10.x.x.103]
   |  |  |- Node  5, [  layton], NAN.IP:[    169.254.1.5], Public.IP:[  10.x.x.104]

Error: Problems in finding VDC -or StoragePool related information ...
VDC Error: No VDC Found.

Cause

Causa 1:
Isso indicaria uma nova instalação e nenhum VDC ainda está configurado:
admin@lab-ecs01-n01:~> /opt/emc/xdoctor/tools/ee_scripts/svc_tools/svc_vdc list -detail
svc_vdc v1.0.20 (svc_tools v1.6.8)                 Started 2020-01-12 10:49:10

Name: Unknown
  Local VDC:                  True

  Serial #:                   CKM001.....
  ECS Release:                3.3.0.1 GA
  Object Version:             3.3.0.1-109311.635bd4c
  VDC ID:                     Unknown
  Short form VDC ID:          Unknown
  TSO Status:                 Healthy

  Storage pools (cos):
  LAB-CRK-SP01                urn:storageos:VirtualArray:d714b08e-1a06-3483-a4ad-fc54f8xxxxx

    managementEndPoints       interVdcCmdEndPoints      interVdcEndPoints
Causa 2:
Se este for um VDC instalado, o xDoctor pode ter problemas com a criação do arquivo de modelo que o comando de topologia (e outras funções) usa.

Resolution

Resolução da causa 1:
Confirme se esta é uma nova instalação conectando-se à interface do usuário do ECS e verifique se um VDC (Virtual Data Center, data center virtual) foi configurado:

kA23a000000GHL1CAO_2_0
se esse for o caso, "VDC Error: Nenhum VDC encontrado" na topologia do VDC usando xDoctor é esperado.

Resolução da causa 2:
Se este for um VDC instalado, precisamos remover alguns dos arquivos de cache e recriá-los com sucesso.

Aqui, o arquivo model_cache.xml não estava sendo preenchido.
# cd /usr/local/xdoctor

# cat config/model_cache.xml
<model cloud="88183b946cc5f0e8c96b2e66e1c74a7e" id="ECS" name="Elastic Cloud Storage" ts="1680862358"><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error><error>
    <code>10001</code>
    <description>An error occurred while encoding/decoding of tokens</description>
    <details>Unable to decode token.</details>
    <retryable>false</retryable>
</error></model>emc@belbchecs01:/usr/local/xdoctor> sudo rm config/model_cache.xml
Se o caso, remover o arquivo model_cache.xml e o arquivo de cache do token xDoctor resolverá o problema:
# sudo rm config/model_cache.xml
# sudo rm .rest_token
# cat config/model_cache.xml
Verifique se a lista da topologia do VDC usando o xDoctor funciona:
# sudo xdoctor --top
# sudo xdoctor --top --vdc
# sudo xdoctor --top --details

Affected Products

Elastic Cloud Storage

Products

Elastic Cloud Storage
Article Properties
Article Number: 000081945
Article Type: Solution
Last Modified: 13 Apr 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.