[openstack-dev] [nova] Integration with Ceph

Sergey Nikitin snikitin at mirantis.com
Mon Nov 24 12:45:10 UTC 2014

As you know we can use Ceph as ephemeral storage in nova. But we have some
problems with its integration. First of all, total storage of compute nodes
is calculated incorrectly. (more details here
https://bugs.launchpad.net/nova/+bug/1387812). I want to fix this problem.
Now size of total storage is only a sum of storage of all compute nodes.
And information about the total storage is got directly from db. (
To fix the problem we should check type of using storage. If type of
storage is RBD we should get information about total storage directly from
Ceph storage.
I proposed a patch (https://review.openstack.org/#/c/132084/) which should
fix this problem, but I got the fair comment that we shouldn't check type
of storage on the API layer.

The other problem is that information about size of compute node incorrect
too. Now size of each node equal to size of whole Ceph cluster.

On one hand it is good to do not check type of storage on the API layer, on
the other hand there are some reasons to check it on API layer:
1. It would be useful for live migration because now a user has to send
information about storage with API request.
2. It helps to fix problem with total storage.
3. It helps to fix problem with size of compute nodes.

So I want to ask you: "Is this a good idea to get information about type of
storage on API layer? If no - Is there are any ideas to get correct
information about Ceph storage?"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20141124/b2c045c2/attachment.html>

More information about the OpenStack-dev mailing list