test_api_reload_on_sighup failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Rabi Mishra |
Bug Description
We can see intermittent gate failures with this traceback.
2016-07-28 03:22:45.675327 | 2016-07-28 03:22:45.674 |
2016-07-28 03:22:45.676987 | 2016-07-28 03:22:45.676 | Captured traceback:
2016-07-28 03:22:45.678756 | 2016-07-28 03:22:45.678 | ~~~~~~~~~~~~~~~~~~~
2016-07-28 03:22:45.680328 | 2016-07-28 03:22:45.679 | Traceback (most recent call last):
2016-07-28 03:22:45.681963 | 2016-07-28 03:22:45.681 | File "/opt/stack/
2016-07-28 03:22:45.683813 | 2016-07-28 03:22:45.683 | self._reload(
2016-07-28 03:22:45.685376 | 2016-07-28 03:22:45.685 | File "/opt/stack/
2016-07-28 03:22:45.688105 | 2016-07-28 03:22:45.687 | self._change_
2016-07-28 03:22:45.689700 | 2016-07-28 03:22:45.689 | File "/opt/stack/
2016-07-28 03:22:45.691274 | 2016-07-28 03:22:45.690 | self.assertEqua
2016-07-28 03:22:45.693934 | 2016-07-28 03:22:45.693 | File "/opt/stack/
2016-07-28 03:22:45.695600 | 2016-07-28 03:22:45.695 | self.assertThat
2016-07-28 03:22:45.697112 | 2016-07-28 03:22:45.696 | File "/opt/stack/
2016-07-28 03:22:45.698861 | 2016-07-28 03:22:45.698 | raise mismatch_error
2016-07-28 03:22:45.701050 | 2016-07-28 03:22:45.700 | testtools.
Changed in heat: | |
milestone: | none → newton-3 |
It seems the stale childs are removed after a minute or so.
SIGHUP Received at 2016-07-28 03:48:33.595[1]
2016-07-28 03:48:33.595 6673 ERROR heat.common.wsgi [-] SIGHUP received wsgi.server [-] (24039) wsgi starting up on http:// 0.0.0.0: 8004 wsgi.server [-] (24040) wsgi starting up on http:// 0.0.0.0: 8004 wsgi.server [-] (24041) wsgi starting up on http:// 0.0.0.0: 8004
2016-07-28 03:48:33.599 6673 INFO heat.common.wsgi [-] Starting 3 workers
2016-07-28 03:48:33.602 6673 INFO heat.common.wsgi [-] Started child 24039
2016-07-28 03:48:33.604 24039 INFO eventlet.
2016-07-28 03:48:33.607 6673 INFO heat.common.wsgi [-] Started child 24040
2016-07-28 03:48:33.609 24040 INFO eventlet.
2016-07-28 03:48:33.611 6673 INFO heat.common.wsgi [-] Started child 24041
2016-07-28 03:48:33.614 24041 INFO eventlet.
Stale Childs removed: 03:49:07:325[1]
2016-07-28 03:49:07.304 6673 INFO heat.common.wsgi [-] Removed stale child 7100
2016-07-28 03:49:07.325 6673 INFO heat.common.wsgi [-] Removed stale child 7099
After almost 35 seconds. I would post a patch to increase the self.conf. sighup_ timeout
[1] http:// logs.openstack. org/11/ 347111/ 3/check/ gate-heat- dsvm-functional -orig-mysql- lbaasv2/ 81f7fb6/ logs/screen- h-api.txt. gz#_2016- 07-28_03_ 49_07_304