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

Summary: When listing the VDC topology using xDoctor, it reports 'VDC Error: No VDC Found'

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

When listing the VDC topology using xDoctor, it reports '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

Cause 1:
This would indicate a new install and no VDC is configured yet:
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
Cause 2:
If this is an installed VDC, xDoctor can have issues with creating the model file which the topology command (and other functions) use.

Resolution

Resolution for Cause 1:
Confirm if this is a new install by connecting to the ECS user interface and verify if a Virtual Data Center (VDC) has been configured:

kA23a000000GHL1CAO_2_0
If this is the case, 'VDC Error: No VDC Found' on the VDC topology using xDoctor is expected.

Resolution for Cause 2:
If this is an installed VDC, we need to clear out some of the cache files and recreate them successfully.

Here the model_cache.xml file was not being populated.
# 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
If the case, removing the model_cache.xml and the xDoctor token cache file will resolve the issue:
# sudo rm config/model_cache.xml
# sudo rm .rest_token
# cat config/model_cache.xml
Verify listing the VDC topology using xDoctor works:
# 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.