Guest

Preview Tool

Cisco Bug: CSCvi18287 - App Fault or Traceback when you try to save Backup configuration file GUI / CLI

Last Modified

Mar 18, 2019

Products (1)

  • Cisco Web Security Appliance

Known Affected Releases

10.1.2-050 10.1.3-033 10.1.3-039 10.5.2-042 10.5.2-296 11.0.0-641 11.5.0-FCS-614

Description (partial)

Symptom:
When Administrator of Cisco Web Security appliance tries to save WSA configuration file in AsyncOS 10.1.2 and 10.1.3 the following application fault (in GUI), or traceback in CLI may happen:

App fault (cab be seen in gui_logs):

Tue Feb 27 07:26:33 2018 Critical: An application fault occurred: ('egg/config_xml.py _generate_xml_config|2048', "<type 'exceptions.KeyError'>", "'key_method'", '[util/Aquarium.py screenLoop|409] [util/InternalLibrary.py inverseExtend|328] [util/InternalLibrary.py __call__|746] [screen/Controller.py __call__|25] [util/InternalLibrary.py __call__|746] [screen/CommonController.py __call__|61] [util/InternalLibrary.py __call__|746] [screen/AppController.py __call__|197] [util/InternalLibrary.py __call__|748] [system_administration/configuration_file.py __call__|107] [screen/Controller.py executeAction|67] [system_administration/configuration_file.py doSaveAction|151] [shared/System.py showconfig|314] [egg/config_xml.py generate_xml|244] [egg/config_xml.py generate_xml_config|260] [egg/config_xml.py _generate_xml_config|2048]')

Traceback (CLI):

Traceback (most recent call last):
  File "/usr/build/iproot/ap/ipoe/ipoe/bootstrap.py", line 54, in <module>
  File "/data/lib/python2.6_9_amd64_nothr/runpy.py", line 128, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/data/lib/python2.6_9_amd64_nothr/runpy.py", line 34, in _run_code
    exec code in run_globals
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 40396, in <module>
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 27629, in main
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 763, in command_loop
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 35720, in do_command
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 35960, in main_input_run
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 35733, in run_func
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/cli.py", line 26853, in commit
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/common_cli.py", line 141, in do_commit
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/variable_store.py", line 884, in commit_changes
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/command_client.py", line 357, in commit_vars
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/command_client.py", line 1094, in _run_config_audit
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/shared/System.py", line 191, in save_config
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/config_xml.py", line 244, in generate_xml
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/config_xml.py", line 260, in generate_xml_config
  File "build/bdist.freebsd-9.2-RELEASE-amd64/egg/config_xml.py", line 2048, in _generate_xml_config
KeyError: 'key_method'

Conditions:
- Running 10.1.2 or 10.1.3 AsyncOS version.
- Customer already created a new Log Subscription from CLI using SCP push method, without using Host Key Check feature, 
- After commit you will notice a traceback in command line.
- After that you will not be able to Save backup configuration from both GUI / CLI
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.