On Wed, 24 Oct 2018, 7:29 Tianyuan Wang, <tywang0113@gmail.com> wrote:
hi all,
We are developing for supporting ceph as a new storage domain type.

What do you mean by "new storage type"?

Can you share your changes so we can understand better?

It went well when creating and using. But we cannot add a new host to the engine when there is already a ceph-StorageDomain. 

We don't have such storage domain.

The engine reports "VDSM node1 command ConnectStoragePoolVDS failed: Cannot find master domain" and set the node to "Non Operational" status. The vdsm log reports error like this:
...
    raise se.StoragePoolMasterNotFound(self.spUUID, msdUUID)
StoragePoolMasterNotFound: Cannot find master domain: u'spUUID=5bc95ba9-01f7-0307-0342-000000000033, msdUUID=a3d6903d-07d5-4794-9667-9dddc3c84fe6'

This probably means the storage is not connected, but...


After tracing back, I found that there is no local file path under /rhev/data-center/mnt for the storage domain, so it cannot find storage domain when ConnectStoargeSever runs.

Why do you need to connect storage server? ceph disk are used as network disks, so there is nothing to connect.

We are working on Cinderlib based storage, which will allow using ceph or most storage supported by Cinder drivers.

Adding Fred to add more info.

Nir