Problem description
VMWare VM first backup job failed with Error: “Cannot concatenate 'str' due to vmname.vmx file missing nvrm properties.”.
Cause
The NVRAM property is missing from the vm_name.vmx configuration file. This property is usually added by VMware when a new VM is created, so its absence is unexpected..
Traceback
[ERROR] Error <type 'exceptions.TypeError'>:cannot concatenate 'str' and 'NoneType' objects. Traceback -Traceback (most recent call last):
File "agents/vmware/vmwareAgent.py", line 1772, in do_retry
File "agents/vmware/vmwareAgent.py", line 1958, in get_nvram_from_datastore
File "agents/vmware/vmwareAgent.py", line 1945, in __get_nvram_path
TypeError: cannot concatenate 'str' and 'NoneType' objects
Resolution
Edit VM settings → VM Options → Advanced → Edit Configuration → Add Configuration Parameter...
Parameter name: nvram
Value: [NVRAM file name with the .nvram extension]
Note:
If the NVRAM parameter is missing and the VM is powered on, VMware will create an NVRAM file named nvram without any extension. Please consult with your VMware Admins before proceeding with this action plan.