olso.service 0.6.0 - cinder-volume cannot start on Windows

Bug #1481607 reported by Victor Laza
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.service
Fix Released
Undecided
Elena Ezhova

Bug Description

When using Windows and cinder-volume the service cannot start with latest oslo.service (0.6.0)

2015-08-04 16:38:21.430 2504 ERROR cinder Traceback (most recent call last):
2015-08-04 16:38:21.430 2504 ERROR cinder File "<string>", line 1, in <module>
2015-08-04 16:38:21.430 2504 ERROR cinder File "C:\Python27\lib\site-packages\cinder\cmd\volume.py", line 81, in main
2015-08-04 16:38:21.430 2504 ERROR cinder launcher.wait()
2015-08-04 16:38:21.430 2504 ERROR cinder File "C:\Python27\lib\site-packages\cinder\service.py", line 470, in wait
2015-08-04 16:38:21.430 2504 ERROR cinder _launcher.wait()
2015-08-04 16:38:21.430 2504 ERROR cinder File "C:\Python27\lib\site-packages\oslo_service\service.py", line 278, in wait
2015-08-04 16:38:21.430 2504 ERROR cinder self.handle_signal()
2015-08-04 16:38:21.430 2504 ERROR cinder File "C:\Python27\lib\site-packages\oslo_service\service.py", line 243, in handle_signal
2015-08-04 16:38:21.430 2504 ERROR cinder (signal.SIGTERM, signal.SIGHUP, signal.SIGINT),
2015-08-04 16:38:21.430 2504 ERROR cinder AttributeError: 'module' object has no attribute 'SIGHUP'
2015-08-04 16:38:21.430 2504 ERROR cinder

The workaround for now was to force oslo.service==0.5.0 but this should be fixed

Extra info: it affects also nova-compute on HyperV

Revision history for this message
Elena Ezhova (eezhova) wrote :

_is_sighup_supported check should be made before we try to access signal.SIGHUP:

https://github.com/openstack/oslo.service/blob/master/oslo_service/service.py#L151

Changed in oslo.service:
status: New → Confirmed
Revision history for this message
Elena Ezhova (eezhova) wrote :
Changed in oslo.service:
status: Confirmed → In Progress
Elena Ezhova (eezhova)
Changed in oslo.service:
assignee: nobody → Elena Ezhova (eezhova)
status: In Progress → Fix Committed
Changed in oslo.service:
milestone: none → 0.7.0
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.