<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 9:17 AM, Nir Soffer <span dir="ltr"><<a href="mailto:nsoffer@redhat.com" target="_blank">nsoffer@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Mar 9, 2016 at 7:54 AM, Bond, Darryl <<a href="mailto:dbond@nrggos.com.au">dbond@nrggos.com.au</a>> wrote:<br>
> I have a 3 node 3.6.3 hosted engine cluster (Default) with a number of VMs. The hosted engine is stored on gluster.<br>
><br>
> Adding an additional server to the Default cluster that isn't a hosted-engine ha server fails.<br>
><br>
> Looking at the vdsm.log, the host attempts to mount the gluster as NFS with the gluster options which fails.<br>
><br>
><br>
<br>
</span>Please add the logs above the log you posted, with the string "Run and<br>
protect, connectStorageServer"<br>
<br>
This log contains the arguments received from engine, revealing what<br>
is going on.<br>
<span class=""><br>
> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::fileUtils::143::Storage.fileUtils::(createdir) Creating directory: /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine mode: None<br>
> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::storageServer::357::Storage.StorageServer.MountConnection::(_get_backup_servers_option) Using bricks: ['ovirt36-h1', 'ovirt36-h2', 'ovirt36-h3']<br>
> jsonrpc.Executor/6::DEBUG::2016-03-09 15:10:01,022::mount::229::Storage.Misc.excCmd::(_runcmd) /usr/bin/taskset --cpu-list 0-11 /usr/bin/sudo -n /usr/bin/systemd-run --scope --slice=vdsm-glusterfs /usr/bin/mount -o backup-volfile-servers=ovirt36-h2:ovirt36-h3 ovirt36-h1:/hosted-engine /rhev/data-center/mnt/glusterSD/ovirt36-h1:_hosted-engine (cwd None)<br>
<br>
</span>-t glusterfs is missing here<br>
<br></blockquote><div><br></div><div>Could it related to the auto-import feature?</div><div>Did it correctly recognized the hosted-engine storage domain as a gluster one?</div><div>Adding Roy here.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
This line can be generated only by the GlusterfFSConnection, used when<br>
connecting<br>
to gluster storage domain, but this connection type ads the "glustefs" type.<br>
<span class=""><br>
> jsonrpc.Executor/6::ERROR::2016-03-09 15:10:01,042::hsm::2473::Storage.HSM::(connectStorageServer) Could not connect to storageServer<br>
> Traceback (most recent call last):<br>
> File "/usr/share/vdsm/storage/hsm.py", line 2470, in connectStorageServer<br>
> conObj.connect()<br>
> File "/usr/share/vdsm/storage/storageServer.py", line 236, in connect<br>
> six.reraise(t, v, tb)<br>
> File "/usr/share/vdsm/storage/storageServer.py", line 228, in connect<br>
> self._mount.mount(self.options, self._vfsType, cgroup=self.CGROUP)<br>
> File "/usr/share/vdsm/storage/mount.py", line 225, in mount<br>
> return self._runcmd(cmd, timeout)<br>
> File "/usr/share/vdsm/storage/mount.py", line 241, in _runcmd<br>
> raise MountError(rc, ";".join((out, err)))<br>
> MountError: (32, ';Running scope as unit run-18808.scope.\nmount.nfs: an incorrect mount option was specified\n')<br>
><br>
> I noticed the hosted-engine servers perform the same mount but pass the -t glusterfs correctly.<br>
><br>
> A bug or am I doing something wrong??<br>
><br>
> I do not want to create a new datacentre without the hosted engine storage as I want to use the same storage domains.<br>
<br>
</span>Same storage domains? Maybe you mean same bricks?<br>
<br>
You cannot use the same storage domain from different DC. You can<br>
create new gluster volume<br>
using the same bricks.<br>
<span class="HOEnZb"><font color="#888888"><br>
Nir<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div></div>