Migration from 6.0 Windows vCenter to VCSA 6.7 fails during VCHA Export with the error : " FileNotFoundError for vpxd_connector.ext"
search cancel

Migration from 6.0 Windows vCenter to VCSA 6.7 fails during VCHA Export with the error : " FileNotFoundError for vpxd_connector.ext"

book

Article ID: 345283

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • The Export_com.vmware.vcha has the following trace :
2020-04-08T17:20:19.761Z INFO featureState_utils Found FSS 'VCHA_Upgrade' with value 'True'
2020-04-08T17:20:19.762Z ERROR __main__ Upgrade Phase 'vcha:Export' failed.
Exception: [Errno 2] No such file or directory: u'/tmp/vmware-upgrade-temp-dir8WhHpoWcT0/tmpC0Xfd9y43U/upgrade_working_directory/vpxd_connector.ext'


 Note:The preceding log excerpts are only examples.Date,time and environmental variables may vary depending on your environment.

Environment

VMware vCenter Server 6.5.x
VMware vCenter Server 6.0.x
VMware vCenter Server Appliance 6.7.x
VMware vCenter Server Appliance 6.5.x

Cause

This issue is caused when the vpxd gets exported before the vcha export which is dependent on vpxd.

Resolution

This issue resolved in VMware vCenter Server version 6.7 U3.

Workaround:
  • To workaround the issue, follow the steps below :
  • Initiate the Upgrade/Migration till Stage 1.
  • Post Stage 1, initiate an SSH session to the Location on the target Appliance : /usr/lib/vmware/cis_upgrade_runner/payload/components-metadata
  • Edit the vcha_upgrade_metadata.json :
From :

"destination-system": [
    {
      "platform": [
        "Linux"
      ],
      "upgrade-script": "vcha",
      "description": "vcha upgrade component metadata",
      "component-name": "vcha",
      "component-display-name": "VMware vCenter Server High-Availability",
      "stop-services": [
      ],
      "start-services-after-import": [
      ],
      "firstboot-script": "vcha_firstboot",
      "import-after": ["vcdb"],
      "py3-compatible": true
    }
  ],
  "source-system": [
    {
      "platform": [
        "Linux"
      ],
      "version": [
        "6.5"
      ],
      "export-before" : [
        "vcdb"
      ],
      "export-from" : ["com.vmware.vpxd"]
    },
    {
      "platform": [
        "Linux"
      ],
      "version": [
        "6.7"
      ],
      "export-before" : [
        "vcdb"
      ],
      "export-from" : ["com.vmware.vpxd"],
      "py3-compatible": true
    }
  ]
}



TO :

{
    "destination-system": [
        {
            "platform": [
                "Linux"
            ],
            "upgrade-script": "vcha",
            "description": "vcha upgrade component metadata",
            "component-name": "vcha",
            "component-display-name": "VMware vCenter Server High-Availability",
            "stop-services": [
            ],
            "start-services-after-import": [
            ],
            "firstboot-script": "vcha_firstboot",
            "import-after": ["vcdb"],
            "py3-compatible": true
        }
    ],
    "source-system": [
        {
            "platform": [
                "Linux"
            ],
            "version": [
                "6.5"
            ],
            "export-before" : [
                "vcdb",  <-----------------------  Comma here
                "vpxd"   <-----------------------
            ],
            "export-from" : ["com.vmware.vpxd"]
        },
        {
            "platform": [
                "Linux"
            ],
            "version": [
                "6.7"
            ],
            "export-before" : [
                "vcdb",  <-----------------------  Comma here
                "vpxd"   <-----------------------
            ],
            "export-from" : ["com.vmware.vpxd"],
            "py3-compatible": true
        }
    ]
}


 
  • Save the file and continue with the Pre-checks in Stage 2.