]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fixes cinder-volume service startup on Windows
authorLucian Petrut <lpetrut@cloudbasesolutions.com>
Fri, 7 Mar 2014 15:09:33 +0000 (17:09 +0200)
committerLucian Petrut <lpetrut@cloudbasesolutions.com>
Tue, 11 Mar 2014 17:55:13 +0000 (19:55 +0200)
commit7171984aab11cb28af92435bfea264d7faf643fd
tree6ea89ca4314fcf03ca0800c3a70edbffc52d9a7b
parent015555acb75ee4d9298915951d2bfaf0d19d2b02
Fixes cinder-volume service startup on Windows

The Windows service fails due to missing non-blocking IO features
in eventlet. This fix adds a conditional path on Windows to execute
the service accordingly.

This bug had already been fixed by this this commit:
https://review.openstack.org/#/c/44744/ but it had been reverted
here, causing the Windows service to fail again
https://review.openstack.org/67031

Fixes bug: #1219896

Change-Id: I46c6b332e614b6a84ec8372dbec3ee9fb09336de
bin/cinder-volume
cinder/service.py [changed mode: 0644->0755]
cinder/tests/test_service.py [changed mode: 0644->0755]