← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334651] [NEW] Nova api service outputs error messages when SIGHUP signal is sent

 

Public bug reported:

When SIGHUP signal is send to nova-api service, it stops all the nova-
api processes and while restarting the nova-api processes, it throws
AttributeError: 'WSGIService' object has no attribute 'reset'.


2014-06-24 15:52:55.185 CRITICAL nova [-] AttributeError: 'WSGIService' object has no attribute 'reset'

2014-06-24 15:52:55.185 TRACE nova Traceback (most recent call last):
2014-06-24 15:52:55.185 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
2014-06-24 15:52:55.185 TRACE nova     sys.exit(main())
2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 56, in main
2014-06-24 15:52:55.185 TRACE nova     launcher.launch_service(server, workers=server.workers or 1)
2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 340, in launch_service
2014-06-24 15:52:55.185 TRACE nova     self._start_child(wrap)
2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 324, in _start_child
2014-06-24 15:52:55.185 TRACE nova     launcher.restart()
2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 145, in restart
2014-06-24 15:52:55.185 TRACE nova     self.services.restart()
2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 478, in restart
2014-06-24 15:52:55.185 TRACE nova     restart_service.reset()
2014-06-24 15:52:55.185 TRACE nova AttributeError: 'WSGIService' object has no attribute 'reset'
2014-06-24 15:52:55.185 TRACE nova 

Steps to reproduce:
1. Run nova-api service as daemon.
2. Send SIGHUP signal to nova-api service
   kill -1 <parent_process_id_of_nova_api>

** Affects: nova
     Importance: Undecided
     Assignee: Rajesh Tailor (rajesh-tailor)
         Status: New


** Tags: ntt

** Changed in: nova
     Assignee: (unassigned) => Rajesh Tailor (rajesh-tailor)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1334651

Title:
  Nova api service outputs error messages when SIGHUP signal is sent

Status in OpenStack Compute (Nova):
  New

Bug description:
  When SIGHUP signal is send to nova-api service, it stops all the nova-
  api processes and while restarting the nova-api processes, it throws
  AttributeError: 'WSGIService' object has no attribute 'reset'.

  
  2014-06-24 15:52:55.185 CRITICAL nova [-] AttributeError: 'WSGIService' object has no attribute 'reset'

  2014-06-24 15:52:55.185 TRACE nova Traceback (most recent call last):
  2014-06-24 15:52:55.185 TRACE nova   File "/usr/local/bin/nova-api", line 10, in <module>
  2014-06-24 15:52:55.185 TRACE nova     sys.exit(main())
  2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/cmd/api.py", line 56, in main
  2014-06-24 15:52:55.185 TRACE nova     launcher.launch_service(server, workers=server.workers or 1)
  2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 340, in launch_service
  2014-06-24 15:52:55.185 TRACE nova     self._start_child(wrap)
  2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 324, in _start_child
  2014-06-24 15:52:55.185 TRACE nova     launcher.restart()
  2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 145, in restart
  2014-06-24 15:52:55.185 TRACE nova     self.services.restart()
  2014-06-24 15:52:55.185 TRACE nova   File "/opt/stack/nova/nova/openstack/common/service.py", line 478, in restart
  2014-06-24 15:52:55.185 TRACE nova     restart_service.reset()
  2014-06-24 15:52:55.185 TRACE nova AttributeError: 'WSGIService' object has no attribute 'reset'
  2014-06-24 15:52:55.185 TRACE nova 

  Steps to reproduce:
  1. Run nova-api service as daemon.
  2. Send SIGHUP signal to nova-api service
     kill -1 <parent_process_id_of_nova_api>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1334651/+subscriptions


Follow ups

References