INFO: =================== Thu Nov 7 02:13:12 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:13:20.553 7f9be4bc1f48 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:13:20.575 7f9be4bc1f48 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] [Introspect:8096]10.0.0.29 - - [2024-11-07 02:13:48] "GET /Snh_SandeshUVECacheReq?x=NodeStatus HTTP/1.1" 200 3001 0.000996 AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:14:18 2024 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /usr/bin/contrail-device-manager in () 29 30 31 if __name__ == '__main__': 32 sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0]) 33 sys.exit(load_entry_point('device-manager==0.1.dev0', 'console_scripts', 'contrail-device-manager')()) sys = sys.exit = load_entry_point = /usr/lib/python3.6/site-packages/device_manager/dm_server.py in server_main() 283 def server_main(): 284 vnc_cgitb.enable(format='text') 285 main() 286 # end server_main 287 global main = /usr/lib/python3.6/site-packages/device_manager/dm_server.py in main(args_str='--conf_file /etc/contrail/contrail-device-manage...il/contrail-keystone-auth.conf --dm_run_mode Full') 255 dm_logger.notice("Process %s prepared to run in Full mode..." 256 % os.getpid()) 257 run_device_manager(dm_logger, args) 258 elif args.dm_run_mode == 'Partial': 259 dm_logger = DeviceManagerLogger(args, http_server_port=-1) global run_device_manager = dm_logger = args = Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570) /usr/lib/python3.6/site-packages/device_manager/dm_server.py in run_device_manager(dm_logger=, args=Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570)) 101 dm_logger.introspect_init() 102 DeviceZtpManager.get_instance().set_active() 103 DeviceManager(dm_logger, args, None, _amqp_client) 104 if _amqp_client._consumer_gl is not None: 105 gevent.joinall([_amqp_client._consumer_gl]) global DeviceManager = dm_logger = args = Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570) global _amqp_client = /usr/lib/python3.6/site-packages/device_manager/device_manager.py in __init__(self=, dm_logger=, args=Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570), zookeeper_client=None, amqp_client=) 406 407 if PushConfigState.is_push_mode_ansible(): 408 FabricManager.initialize(args, dm_logger, self._vnc_lib) 409 410 # Initialize cassandra global FabricManager = FabricManager.initialize = > args = Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570) dm_logger = self = self._vnc_lib = /usr/lib/python3.6/site-packages/device_manager/fabric_manager.py in initialize(cls=, args=Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570), logger=, vnc_api=) 53 def initialize(cls, args, logger, vnc_api): 54 if not cls._instance: 55 FabricManager(args, logger, vnc_api) 56 # end _initialize 57 global FabricManager = args = Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570) logger = vnc_api = /usr/lib/python3.6/site-packages/device_manager/fabric_manager.py in __init__(self=, args=Namespace(admin_password='***', admin_tenant_name='...False, zookeeper_ssl_keyfile='', ztp_timeout=570), logger=, vnc_api=) 34 self._logger = logger 35 self._vnc_api = vnc_api 36 self._load_init_data() 37 # end __init__ 38 self = self._load_init_data = > /usr/lib/python3.6/site-packages/device_manager/fabric_manager.py in _load_init_data(self=) 275 ) 276 except NoIdError: 277 self.logger.warn( 278 f"NoIdError: default-domain:admin:master-LR" 279 ) self = self.logger undefined AttributeError: 'FabricManager' object has no attribute 'logger' __cause__ = None __class__ = __context__ = NoIdError('Error: oper 1 url /fqname-to-id body ...-domain\', \'admin\', \'master-LR\'] not found',) __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Attribute not found.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = ("'FabricManager' object has no attribute 'logger'",) with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/device_manager/fabric_manager.py", line 266, in _load_init_data 'default-domain', 'default-project', 'master-LR' File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read res_type, fq_name, fq_name_str, id, ifmap_id) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id return (True, self.fq_name_to_id(res_type, fq_name)) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id content = self._request_server(OP_POST, uri, data=json_body) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server retry_after_authn=retry_after_authn, retry_count=retry_count) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request % (op, url, data, content)) vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "logical-router", "fq_name": ["default-domain", "default-project", "master-LR"]} response Name ['default-domain', 'default-project', 'master-LR'] not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/device_manager/fabric_manager.py", line 273, in _load_init_data 'default-domain', 'admin', 'master-LR' File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 701, in _object_read res_type, fq_name, fq_name_str, id, ifmap_id) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1114, in _read_args_to_id return (True, self.fq_name_to_id(res_type, fq_name)) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 52, in wrapper return func(self, *args, **kwargs) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1395, in fq_name_to_id content = self._request_server(OP_POST, uri, data=json_body) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1128, in _request_server retry_after_authn=retry_after_authn, retry_count=retry_count) File "/usr/lib/python3.6/site-packages/vnc_api/vnc_api.py", line 1181, in _request % (op, url, data, content)) vnc_api.exceptions.NoIdError: Unknown id: Error: oper 1 url /fqname-to-id body {"type": "logical-router", "fq_name": ["default-domain", "admin", "master-LR"]} response Name ['default-domain', 'admin', 'master-LR'] not found During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/contrail-device-manager", line 33, in sys.exit(load_entry_point('device-manager==0.1.dev0', 'console_scripts', 'contrail-device-manager')()) File "/usr/lib/python3.6/site-packages/device_manager/dm_server.py", line 285, in server_main main() File "/usr/lib/python3.6/site-packages/device_manager/dm_server.py", line 257, in main run_device_manager(dm_logger, args) File "/usr/lib/python3.6/site-packages/device_manager/dm_server.py", line 103, in run_device_manager DeviceManager(dm_logger, args, None, _amqp_client) File "/usr/lib/python3.6/site-packages/device_manager/device_manager.py", line 408, in __init__ FabricManager.initialize(args, dm_logger, self._vnc_lib) File "/usr/lib/python3.6/site-packages/device_manager/fabric_manager.py", line 55, in initialize FabricManager(args, logger, vnc_api) File "/usr/lib/python3.6/site-packages/device_manager/fabric_manager.py", line 36, in __init__ self._load_init_data() File "/usr/lib/python3.6/site-packages/device_manager/fabric_manager.py", line 277, in _load_init_data self.logger.warn( AttributeError: 'FabricManager' object has no attribute 'logger'