migrate_edge_config step./var/log/syslog for the error:2026-01-12T07:34:30.669Z <hostname> NSX 54603 SYSTEM [nsx@4413 comp="nsx-edge" subcomp="upgrade-bundle" level="INFO"] Script /image/VMware-NSX-edge-9.1.0.0.25318228/scripts/migrate_edge_config.py exited with return code 255/etc/network/interfaces file. Look for the management interface configuration using CIDR notation for the address:address #.#.#.#/25VMware NSX 4.2.x
VMware NSX 9.1.0
VMware Cloud Foundation 9.1.0
The failure is caused by a netplan configuration conversion error. Specifically, the upgrade scripts in affected versions do not correctly handle management interface IP configurations that use CIDR notation (e.g., #.#.#.#/25) in the /etc/network/interfaces file.
This is a known issue and it is fixed in future NSX releases.
Workaround:
To resolve this, modify the /etc/network/interfaces file to use standard netmask notation instead of CIDR. This can be done before starting the upgrade to prevent the failure or during the upgrade after a failure has occurred. No reboot or service restart is required.:
Inspect with cat /etc/network/interfaces.
Change address #.#.#.#/# to address #.#.#.# netmask #.#.#.#.
Retry the upgrade.