INFO: =================== Thu Nov 7 02:02:40 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:02:55.142 7fddadf49888 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:02:55.292 7fddadf49888 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] [Introspect:8096]10.0.0.29 - - [2024-11-07 02:04:04] "GET /Snh_SandeshUVECacheReq?x=NodeStatus HTTP/1.1" 200 3001 0.001112 [Introspect:8096]10.0.0.29 - - [2024-11-07 02:04:06] "GET /Snh_SandeshUVECacheReq?x=NodeStatus HTTP/1.1" 200 3001 0.000959 AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:04:14 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' INFO: =================== Thu Nov 7 02:04:23 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:04:54.311 7fa933c66a88 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:04:54.336 7fa933c66a88 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:05:55 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' INFO: =================== Thu Nov 7 02:06:14 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:06:40.078 7fc0b7bbe7c8 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:06:40.101 7fc0b7bbe7c8 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:07:40 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' INFO: =================== Thu Nov 7 02:08:19 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:08:27.763 7f253f0c1a88 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:08:27.790 7f253f0c1a88 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:09:26 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' INFO: =================== Thu Nov 7 02:10:29 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:10:37.559 7f3b971356c8 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:10:37.582 7f3b971356c8 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:11:37 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' 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' INFO: =================== Thu Nov 7 02:16:59 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:17:07.684 7f0b5b337808 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:17:07.712 7f0b5b337808 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:18:06 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' INFO: =================== Thu Nov 7 02:23:30 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:23:38.117 7f9f529a7a88 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:23:38.140 7f9f529a7a88 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:24:37 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' INFO: =================== Thu Nov 7 02:29:47 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:29:55.882 7f90288bd8c8 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:29:55.910 7f90288bd8c8 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:30:54 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' INFO: =================== Thu Nov 7 02:35:55 UTC 2024 =================== INFO: Cassandra is connected 11/07/2024 02:36:03.762 7f6ca44f0948 [contrail-device-manager] [INFO]: SANDESH: CONNECT TO COLLECTOR: True 11/07/2024 02:36:03.784 7f6ca44f0948 [contrail-device-manager] [INFO]: SANDESH: Logging: LEVEL: [SYS_INFO] -> [SYS_NOTICE] AttributeError Python 3.6.8: /usr/bin/python3 Thu Nov 7 02:37:02 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'