Symptoms:
- VMware NSX Edge upgrade fails with a message similar to the following in the VMware NSX Edge Upgrade UI:
install_os execution failed with msg: An unexpected exception occurred: CommandFailedError: Command ['mount', '-o', 'ro', '/dev/mapper/nsx-config', '/tmp/tmpd6fpw2yr'] returned non-zero code 32: b'mount: /tmp/tmpd6fpw2yr: /dev/mapper/nsx-config already mounted or mount point busy.\n
- In the edge node syslog we see:
nsx-edge-0-1 NSX 3081986 SYSTEM [nsx@6876 comp="nsx-edge" subcomp="upgrade-bundle" level="INFO"] Unmounting /config
nsx-edge-0-1 systemd 1174061 - - config.mount: Succeeded.
nsx-edge-0-1 systemd 1 - - config.mount: Succeeded.
nsx-edge-0-1 NSX 3081986 SYSTEM [nsx@6876 comp="nsx-edge" subcomp="upgrade-bundle" level="INFO"] Mounting /dev/mapper/nsx-config partition as ro on /tmp/tmpd6fpw2yr directory
nsx-edge-0-1 NSX 3081986 SYSTEM [nsx@6876 comp="nsx-edge" subcomp="upgrade-bundle" level="INFO"] Output of mounting /dev/mapper/nsx-config as ro on /tmp/tmpd6fpw2yr directory: mount: /tmp/tmpd6fpw2yr: /dev/mapper/nsx-config already mounted or mount point busy.
Note: The
/tmp/tmpd6fpw2yr details above may be different in your environment.