Ceph driver doesn't check connection on set up
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Undecided
|
Jan Provaznik |
Bug Description
If ceph driver is misconfigured or ceph backend is not accessible when starting manila-share service, then the service keeps crashing and respawning with error:
2016-11-01 12:13:09.507 1507 INFO manila.
2016-11-01 12:13:09.508 1507 INFO manila.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
2016-11-01 12:13:09.619 1507 ERROR oslo_service.
The reason is that ceph driver doesn't try to connect to the ceph backend when setting up the driver in manila/
It would be better to check that the connection works when setting up driver. If it fails, host initialization is aborted, same as for other drivers.
Changed in manila: | |
assignee: | nobody → Jan Provaznik (jan-provaznik) |
Fix proposed to branch: master /review. openstack. org/394961
Review: https:/