Need retry mechanism when connecting to etcdserver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
networking-vpp |
New
|
Undecided
|
Unassigned |
Bug Description
2017-04-18 16:41:22.522 33 DEBUG etcd.client [-] Writing None to key /networking-
2017-04-18 16:41:29.524 33 DEBUG oslo_concurrenc
2017-04-18 16:41:29.525 33 ERROR neutron.service [-] Unrecoverable error: please check log for details.
2017-04-18 16:41:29.525 33 ERROR neutron.service Traceback (most recent call last):
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service service.start()
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service self.wsgi_app = _run_wsgi(
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service app = config.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service app = loader.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return deploy.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return loadobj(APP, uri, name=name, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return context.create()
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self.object_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service **context.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service val = callable(*args, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service app = loader.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service name=name, global_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self.object_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service **context.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service val = callable(*args, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service app = loader.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service name=name, global_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self.object_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return fix_call(
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service val = callable(*args, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return cls(**local_config)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service plugin = manager.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return weakref.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service cls._create_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return f(*args, **kwargs)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service cls._instance = cls()
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service plugin_provider)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return plugin_class()
2017-04-18 16:41:29.525 33 ERROR neutron.service app = loader.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service name=name, global_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self.object_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service **context.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service val = callable(*args, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service app = loader.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service name=name, global_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self.object_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return fix_call(
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service val = callable(*args, **kw)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return cls(**local_config)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service plugin = manager.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return weakref.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service cls._create_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return f(*args, **kwargs)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service cls._instance = cls()
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service plugin_provider)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return plugin_class()
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return f(*args, **kwargs)
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service self.mechanism_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service driver.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service self.communicator = EtcdAgentCommun
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service etcd_helper.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service self.etcd_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service response = self.api_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service return self._handle_
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service etcd.EtcdError.
2017-04-18 16:41:29.525 33 ERROR neutron.service File "/usr/lib/
2017-04-18 16:41:29.525 33 ERROR neutron.service raise exc(msg, payload)
2017-04-18 16:41:29.525 33 ERROR neutron.service EtcdException: Raft Internal Error : etcdserver: request timed out, possibly due to previous leader failure
Looks like neutron-server is coming up, and loading all ML2 plugins. networking-vpp created an etcdclient, but failed to connect to etcdserver. The server at this moment is probably still booting up, so better we have a retry mechanism to be more reliable.