CephRadosGW.ceph_rados_gw() does not wait for Ceph to become available for OS services
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Triaged
|
Critical
|
Fuel Library (Deprecated) |
Bug Description
http://
6.1 staging job failed with:
=======
FAIL: Deploy ceph HA with RadosGW for objects
-------
Traceback (most recent call last):
File "/home/
compatabili
File "/home/
func()
File "/home/
func(
File "/home/
return func(*args, **kwargs)
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
failed_
File "/home/
result = func(*args, **kwargs)
File "/home/
failed_
AssertionError: Failed tests, fails: 1 should fail: 0 failed tests name: [{u'Create volume and boot instance from it (failure)': u'Failed to get to expected status. In error state. Please refer to OpenStack logs for more details.'}]
cinder-scheduler contains the following error:
2015-02-27 09:50:44.101 9193 ERROR cinder.
The problem is that last report from cinder-volume was:
2015-02-27 09:50:17.526 9193 DEBUG cinder.
capacity_gb': 0, u'driver_version': u'1.1.0', u'total_
-packages/
which means last time cinder-volume checked Ceph status (by default, every 60 seconds), there was no space available.
Looks like we need to add another wait to ceph_rados_gw(), which would wait before 'ceph df' reports available space for our pools (images, volumes) and give OS service another 60 seconds to update the information in the DB.
Changed in fuel: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in fuel: | |
importance: | Medium → Critical |
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Fuel Library Team (fuel-library) |
tags: | added: ceph |
Looks like, 2 of last 3 6.1 staging bvt runs failed because of this.
I suspect https:/ /github. com/stackforge/ fuel-qa/ commit/ f75ee6796164b25 497fe10010bbaa6 71d31d842d might also be involved here.