Guest

Preview Tool

Cisco Bug: CSCuw44868 - Switch version failed with KeyError: 'MessageType'

Last Modified

Sep 05, 2018

Products (1)

  • Cisco Unity Connection

Known Affected Releases

10.5(1.1) 10.5(2.3)

Description (partial)

-> Switch version will fail from 10.5.1 to 10.5.2.x or while upgrading from 10.5.1 to 11.x with locales installed on 10.5.1.x
-> Error seen in the logs :

2015-09-16 07:53:29 ERROR    Exception raised while running defaultdata.cxn_locale (UnityDirDbDefaultData:110)
2015-09-16 07:53:29 Traceback (most recent call last):
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/config-modules/dbscripts/UnityDirDbDefaultData.py", line 106, in run
2015-09-16 07:53:29     if getattr(m, name).run() == False:
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/cxn_locale.py", line 12, in run
2015-09-16 07:53:29     localeutils.InstallPendingLocaleData()
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 21, in InstallPendingLocaleData
2015-09-16 07:53:29     InstallLocale(args)
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 347, in InstallLocale
2015-09-16 07:53:29     AddCustomSubjectLines("/opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/customsubjectline_%s.xml" % languageAbbreviation.lower())
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 204, in AddCustomSubjectLines
2015-09-16 07:53:29     pMessageType = unitydirdbdefines.SubjectLineMessageType[parameterNode.attributes["MessageType"].value.encode("utf-8")],
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/_xmlplus/dom/minidom.py", line 532, in __getitem__
2015-09-16 07:53:29     return self._attrs[attname_or_tuple]
2015-09-16 07:53:29 KeyError: 'MessageType'
2015-09-16 07:53:29 /opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/receipttext_eso.xml file does not exist

Symptom:
-> Switch version will fail from 10.5.1 to 10.5.2 
-> Error seen in the logs :

2015-09-16 07:53:29 ERROR    Exception raised while running defaultdata.cxn_locale (UnityDirDbDefaultData:110)
2015-09-16 07:53:29 Traceback (most recent call last):
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/config-modules/dbscripts/UnityDirDbDefaultData.py", line 106, in run
2015-09-16 07:53:29     if getattr(m, name).run() == False:
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/cxn_locale.py", line 12, in run
2015-09-16 07:53:29     localeutils.InstallPendingLocaleData()
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 21, in InstallPendingLocaleData
2015-09-16 07:53:29     InstallLocale(args)
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 347, in InstallLocale
2015-09-16 07:53:29     AddCustomSubjectLines("/opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/customsubjectline_%s.xml" % languageAbbreviation.lower())
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/connection/localeutils.py", line 204, in AddCustomSubjectLines
2015-09-16 07:53:29     pMessageType = unitydirdbdefines.SubjectLineMessageType[parameterNode.attributes["MessageType"].value.encode("utf-8")],
2015-09-16 07:53:29   File "/opt/cisco/connection/lib/python2.6/site-packages/_xmlplus/dom/minidom.py", line 532, in __getitem__
2015-09-16 07:53:29     return self._attrs[attname_or_tuple]
2015-09-16 07:53:29 KeyError: 'MessageType'
2015-09-16 07:53:29 /opt/cisco/connection/lib/config-modules/dbscripts/defaultdata/receipttext_eso.xml file does not exist

-> This happens when locales are installed on the server prior to the upgrade

Conditions:
-> Above errors can be seen in the switch version logs.
-> Locales are installed on the Unity Connection server prior to the upgrade
-> First seen in the Switch version fail from 10.5.1.11901-1 to 10.5.2.12901-1 but it is reproducible on any later release after 10.5.2.12901-1.

Upgrading 10.5.1 to 10.5.2 or upgrading from 10.5.1 to 11.x with locales installed on 10.5.1.x
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.