Rollback from edge migration fails in VRA (V2T)
search cancel

Rollback from edge migration fails in VRA (V2T)

book

Article ID: 327389

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • Rollback from edge migration fails in VRA
  • Longer N-S cutover outage in environments with large number of ESG's
  • The following error is observed:

    'Unexpected error', 'error': "VraNSCutover failed with 'local variable 't_manager_utils' referenced before assignment'"}

Environment

VMware NSX-T Data Center 3.x
VMware NSX 4.x

Aria Automation

Resolution

This issue is resolved in VMware NSX 4.0.2.0 and VMware NSX 4.1.0

Workaround:

Before starting v2t migration perform the below steps

  1. Download and scp the python files  ns_cutover_plugin.py,dfw_utils.py and vra_ns_cutover_plugin.py to the /tmp dir of the Policy appliance where the NSXT V2T migrator will run
  2. ssh to the Policy appliance where the NSXT V2T migrator will run
  3. cd /opt/vmware/migration-coordinator-tomcat/bin/v2t/config-migrator/plugins
  4. backup the following files  “cp ns_cutover_plugin.py ns_cutover_plugin.py_bkp “ and “cp dfw_utils.py dfw_utils.py_bkp
  5.  cp /tmp/dfw_utils.py .
  6.  cp /tmp/ns_cutover_plugin.py .
  7. rm __pycache__/ns_cutover_plugin.*
  8. rm __pycache__/dfw_utils.*
  9. cd  vra/
  10. backup the following file “cp vra_ns_cutover_plugin.py vra_ns_cutover_plugin.py_bkp
  11. cp /tmp/vra_ns_cutover_plugin.py .
  12. rm __pycache__/vra_ns_cutover_plugin.*
  13. Start MC service if not already running 

    /etc/init.d/migration-coordinator status

    /etc/init.d/migration-coordinator start

Additional Information



Attachments

dfw_utils get_app
ns_cutover_plugin get_app
vra_ns_cutover_plugin get_app