Skip to content

BUG: error="500, Logger' object has no attribute 'errort #19

@mkania-cisco

Description

@mkania-cisco

Traceback:

2:55PM INF sending data...	| func=queue.senderWorkQueue.sendData length=2
2:55PM INF watching for changes...
2:55PM INF /service-registry/
2:55PM ERR received response from the adaptor	| error="500 - UNKNOWN INTERNAL SERVER ERROR: Exception name AttributeError(\"'Logger' object has no attribute 'errort'\",)Internal exception description'Logger' object has no attribute 'errort': TRACEBACK: ['  File \"/usr/src/app/cnwan_adaptor/controllers/configure_controller.py\", line 128, in events\\n    api.events(body)\\n', '  File \"/usr/local/lib/python3.6/site-packages/metadata_adaptor/core_lib.py\", line 740, in events\\n    self.create_data_policy_with_all_endpoints()\\n', '  File \"/usr/local/lib/python3.6/site-packages/metadata_adaptor/core_lib.py\", line 336, in create_data_policy_with_all_endpoints\\n    self.api_endpoint.update_active_policy(response[\"masterTemplatesAffected\"], \\'create_data_policy_with_all_endpoints\\')\\n', '  File \"/usr/local/lib/python3.6/site-packages/metadata_adaptor/vmanage_functions.py\", line 300, in update_active_policy\\n    logger.errort(\"\\\\nFailed to update IPsec templates\")\\n']" func=services.servicesHandler.logResponseError status-code=500

This is due to typo here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions