[ PCA 2.3.1+ / OVM 3.3+ ] Restoring Simple Names fails in updateZones with "obName = "Adding zone '" + zone + "' to ServerPool '" + objName + "'" TypeError: cannot concatenate 'str' and 'javainstance' objects"

(Doc ID 2370281.1)

Last updated on MARCH 11, 2018

Applies to:

Private Cloud Appliance - Version 2.3.1 and later
Linux x86-64

Symptoms

On Oracle VM and Oracle Private Cloud Appliance, when attempting to restore the simple names of the objects, the operation fails and the script abruptly ends with :

unexpected exception: Traceback (most recent call last):
File "/root/restoreSimpleName-3.3-v1.3.py", line 647, in main
updateZones(ovmMgr, getXmlSection(doc, "Zones"))
File "/root/restoreSimpleName-3.3-v1.3.py", line 472, in updateZones
jobName = "Adding zone '" + zone + "' to ServerPool '" + objName + "'"
TypeError: cannot concatenate 'str' and 'javainstance' objects


Changes

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms