Guest

Preview Tool

Cisco Bug: CSCup15643 - NoneType exception from get_deploy_state_json

Last Modified

Aug 19, 2016

Products (1)

  • Cisco ASA Next-Generation Firewall Services

Known Affected Releases

100.100(100.100.4)

Description (partial)

Symptom:
When choosing a new time period to display in the change history the following exception is thrown:
2014-06-03 14:57:48,754 - common_platform.util.util - util.py - func_call_enter_exit - INFO - 1922738512 - EXIT func=_get_deleted_devices return_value=set([])
2014-06-03 14:57:52,765 - common_platform.change_history.controller.change_history_controller - change_history_controller.py - index - ERROR - 1922738512 - 'NoneType' object has no attribute 'get_deploy_state_json'
Traceback (most recent call last):
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/controller/change_history_controller.py", line 367, in index
    return self._query_change_history (uri_args, request)
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/controller/change_history_controller.py", line 502, in _query_change_history
    start=start)
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/controller/change_history_controller.py", line 84, in _fetch_sorted_commit_records
    display_all_historical_records=display_all_historical_records)
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/controller/change_history_controller.py", line 223, in _enrich_commit_record_to_json
    commit_record.global_db_version, deploy_job)
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/controller/controller_helper.py", line 542, in get_final_deployment_state
    device_json = device_deployment_state.enrich_device(deployment_job, deploy_job_list)
  File "/cisco/site-packages/mgmt_common-1.0-py2.6.egg/common_platform/change_history/model/deploy_mgr.py", line 271, in enrich_device
    device_redeploy_state_json = redeployed_device_deployer.get_deploy_state_json(redeployed_job)
AttributeError: 'NoneType' object has no attribute 'get_deploy_state_json'

Conditions:
Need to be on the change history screen.
No reliable way to reproduce.
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.