Guest

Preview Tool

Cisco Bug: CSCuq81250 - xcp_do_backup.py is throwing exception when directory is not found

Last Modified

Jul 03, 2017

Products (2)

  • Cisco Unified Communications Manager IM & Presence Service
  • Cisco Unified Communications Manager IM and Presence Service Version 10.5

Known Affected Releases

10.5(1)

Description (partial)

Symptom:
Backup is failing with the following error in xcp backup log:

----> BEGIN Standard Error
Traceback (most recent call last):
  File "/usr/local/xcp/drf/scripts/xcp_do_backup.py", line 89, in <module>
    BACKUP_FILES = getBackupList ()
  File "/usr/local/xcp/drf/scripts/xcp_do_backup.py", line 85, in getBackupList
    pushBackupList("/usr/lib/oracle/client_1/")
  File "/usr/local/xcp/drf/scripts/xcp_do_backup.py", line 76, in pushBackupList
    LogMsg (logfile, 'ERROR', 'File not found :: %s' % (filename))
NameError: global name 'LogMsg' is not defined

----> END Standard Error

Conditions:
One of the following directories is missing on the IM&P server:
        "/usr/local/xcp/certs/ca"
        "/usr/local/xcp/certs/tls"
        "/usr/local/xcp/certs/xmpp-s2s.pem"
        "/usr/local/xcp/certs/xmpp.pem"
        "/usr/local/sip/.security/xmpp"
        "/usr/local/sip/.security/xmpp-s2s"
        "/usr/lib/oracle/client_1/"

This will cause backup script to fail and abort backup process
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.