Error occurs when stop the heat-engine.service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
In the ocata and pike version of heat on ubuntu 16.04, the stop of heat-engine service will trigger the error.
2017-10-09 17:40:58.960 26236 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:58.961 26237 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:58.963 26239 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:58.964 26238 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:58.975 26219 INFO oslo_service.
2017-10-09 17:40:58.975 26219 DEBUG oslo_concurrenc
2017-10-09 17:40:58.976 26219 DEBUG oslo_concurrenc
2017-10-09 17:40:58.976 26219 DEBUG oslo_service.
2017-10-09 17:40:58.980 26219 CRITICAL heat-engine [req-915752c5-
2017-10-09 17:40:58.980 26219 ERROR heat-engine Traceback (most recent call last):
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/bin/
2017-10-09 17:40:58.980 26219 ERROR heat-engine sys.exit(main())
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine launcher.wait()
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine self.stop()
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine service.stop()
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine return f(*args, **kwargs)
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine service_
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine db_api.
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine service = service_
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine result = context.
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine return self._get_
2017-10-09 17:40:58.980 26219 ERROR heat-engine File "/usr/lib/
2017-10-09 17:40:58.980 26219 ERROR heat-engine if len(ident) != len(mapper.
2017-10-09 17:40:58.980 26219 ERROR heat-engine TypeError: object of type 'NoneType' has no len()
2017-10-09 17:40:58.980 26219 ERROR heat-engine
2017-10-09 17:40:59.077 26239 INFO oslo_service.
2017-10-09 17:40:59.078 26238 INFO oslo_service.
2017-10-09 17:40:59.078 26236 INFO oslo_service.
2017-10-09 17:40:59.078 26237 INFO oslo_service.
2017-10-09 17:40:59.079 26236 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:59.079 26237 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:59.079 26238 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
2017-10-09 17:40:59.082 26239 DEBUG heat.engine.service [-] Attempting to stop engine service... _stop_rpc_server /usr/lib/
Using "systemctl stop heat-engine.
It looks like the EngineService object(self) will be initialized again after the _stop_rpc_server() function. Therefore the services delete cannot be performed due to self.service_id is none.
Besides the error, there is no other side effect for the service stop issue. Heat engine service could be started well and running without problems.
description: | updated |
summary: |
- Error occurs when restart the heat-engine.service + Error occurs when stop the heat-engine.service |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |