[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vdsm-devel
Subject:    =?utf-8?q?=5Bovirt-devel=5D?= Re: How does the host synchronizes existing storage domains when added
From:       Nir Soffer <nsoffer () redhat ! com>
Date:       2018-10-24 15:56:41
Message-ID: CAMRbyysR0871NQ35NwxzXHHeVdML_8uVSB=_A4c50xvd_Oy3Wg () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


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

[Attachment #5 (text/html)]

<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">On Wed, 24 Oct 2018, \
7:29 Tianyuan Wang, &lt;<a \
href="mailto:tywang0113@gmail.com">tywang0113@gmail.com</a>&gt; \
wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><font face="comic sans ms, sans-serif">hi all,</font></div><div \
class="gmail_default"><font face="comic sans ms, sans-serif">We are developing for \
supporting ceph as a new storage domain \
type.</font></div></div></div></blockquote></div></div><div dir="auto"><br></div><div \
dir="auto">What do you mean by &quot;new storage type&quot;?</div><div \
dir="auto"><br></div><div dir="auto">Can you share your changes so we can understand \
better?</div><div dir="auto"><br></div><div dir="auto"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><font face="comic sans ms, sans-serif"> It went well when \
creating and using. But we cannot add a new host to the engine when there is already \
a ceph-StorageDomain.  </font></div></div></div></blockquote></div></div><div \
dir="auto"><br></div><div dir="auto">We don&#39;t have such storage domain.</div><div \
dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><font face="comic sans ms, sans-serif">The engine reports \
&quot;VDSM node1 command ConnectStoragePoolVDS failed: Cannot find master \
domain&quot; and set the node to &quot;Non Operational&quot; status. The vdsm log \
reports error like this:</font></div></div></div></blockquote></div></div><div \
dir="auto">...</div><div dir="auto"></div><div dir="auto"><div \
class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><div class="gmail_default"><font face="comic sans ms, \
sans-serif">      raise se.StoragePoolMasterNotFound(self.spUUID, \
msdUUID)</font></div><div class="gmail_default"><font face="comic sans ms, \
sans-serif">StoragePoolMasterNotFound: Cannot find master domain: \
u&#39;spUUID=5bc95ba9-01f7-0307-0342-000000000033, \
msdUUID=a3d6903d-07d5-4794-9667-9dddc3c84fe6&#39;</font></div></div></div></div></blockquote></div></div><div \
dir="auto"><br></div><div dir="auto">This probably means the storage is not \
connected, but...</div><div dir="auto"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><div><font face="comic sans ms, \
sans-serif"></font></div></div></div></div></blockquote></div></div><div \
dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div \
class="gmail_default"><div><font face="comic sans ms, \
sans-serif"><br></font></div><div><font face="comic sans ms, sans-serif">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. </font></div></div></div></div></blockquote></div></div><div \
dir="auto"><br></div><div dir="auto">Why do you need to connect storage server? ceph \
disk are used as network disks, so there is nothing to connect.</div><div \
dir="auto"><br></div><div dir="auto">We are working on Cinderlib based storage, which \
will allow using ceph or most storage supported by Cinder drivers.</div><div \
dir="auto"><br></div><div dir="auto">Adding Fred to add more info.</div><div \
dir="auto"><br></div><div dir="auto">Nir</div><div dir="auto"><br></div><div \
dir="auto"><br></div></div>


[Attachment #6 (text/plain)]

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/K6LLIGNABEEXFNROH6IELHE6NKK3NKAF/




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic