nova-ceph-multistore job fails often with 'No valid host was found. There are not enough hosts available.'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Critical
|
Dan Smith | ||
devstack-plugin-ceph |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The nova-ceph-
The job has started failing recently with 'No valid host was found. There are not enough hosts available.' errors. We discussed this today in the #openstack-nova channel [2] and found the reason we're getting NoValidHost is because nova-compute is reporting only 10G space available in ceph despite the fact that our ceph volume was created with size 24G. We're getting no allocation candidates from placement.
We traced down the source of the 10G limit to the bluestore ceph backend. When backed by a file, ceph will create the file for the OSD if it doesn't already exist and it will create that file with a default size. Example of it resizing to 10G [3] today:
2020-07-24 03:51:44.470 7f36d4689f00 1 bluestore(
When the job first began running, we were pulling ceph version tag 14.2.10 [4]:
2020-07-23 16:10:50.781 7f1132261c00 0 ceph version 14.2.10-
which uses a default block file size of 100G [5]:
2020-07-23 16:10:50.793 7f1132261c00 1 bluestore(
However, today, we're pulling ceph version tag 14.2.2 [6]:
2020-07-24 03:51:44.462 7f36d4689f00 0 ceph version 14.2.2 (4f8fa0a0024755
which uses a default block file size of 10G [7]:
2020-07-24 03:51:44.470 7f36d4689f00 1 bluestore(
So with the reduced file size we're seeing a lot of NoValidHost failures for lack of space.
We don't yet know what caused the change in the ceph version tag we're pulling in CI.
To address the issue, we're trying out a patch to the devstack-
https:/
Setting this bug as Critical as the failure rate looks to be about 80% from the most recent job runs and this job is voting:
https:/
[1] https:/
[2] http://
[3] https:/
[4] https:/
[5] https:/
[6] https:/
[7] https:/
description: | updated |
description: | updated |
Changed in nova: | |
assignee: | nobody → Dan Smith (danms) |
status: | New → In Progress |
WIP patch https:/ /review. opendev. org/742961 has been proposed to devstack- plugin- ceph