--Sig_/X22DB.eulTCYHh1dWExXoR9
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
On Fri, 22 Jul 2016 18:21:15 +0200 Simone wrote:
ST> On Fri, Jul 22, 2016 at 4:48 PM, Ralf Schenk <rs(a)databay.de> wrote:
ST>=20
ST> > Hello,
ST> >
ST> > I also see from the logs that all your Storage-Domains that work are
ST> > mounted as nfsVersion=3D'V4' but
ovirt-nfs.netsec:/ovirt/hosted-engin=
e is
ST> > mounted as nfsVersion=3D'null'.
ST> > =20
ST>=20
ST> Hi Robert,
ST> unfortunately Ralf is right: I reproduced the issue.
ST>=20
ST> The auto-import procedure for the hosted-engine storage domain ignores =
the
ST> nfsVersion parameter and so we don't have a value for that in the engin=
e DB.
ST> On hosted-engine hosts, the agent mounts the hosted-engine storage doma=
in
ST> before the engine and so everything is fine since the agent knows that =
it's
ST> nfsv4.
ST>=20
ST> The issue comes with the hosts of that datacenter not involved in
ST> hosted-engine: in this case the engine simply tries to mount without
ST> the nfsVersion parameter and so, if the NFS server cannot be access over
ST> nfsv3, the mount could fail and the host will be declared as not operat=
ion.
ST>=20
ST> I opened a ticket to track it:
ST>
https://bugzilla.redhat.com/show_bug.cgi?id=3D1359265
ST>=20
ST> If you need a quick fix you can:
ST> - fix the configuration of your storage server to allow it to be access=
ed
ST> also over nfsv3
ST> - edit the configuration of the storage connection in the engine DB on =
the
ST> engine VM to add the missing parameter. Something like:
ST> # sudo -u postgresl psql
ST> \c engine;
ST> select * from storage_server_connections;
ST> UPDATE storage_server_connections SET nfs_version =3D '4' WHERE connec=
tion =3D
ST> 'ovirt-nfs.netsec:/ovirt/hosted-engine';
ST> commit;
ST> select * from storage_server_connections;
Thanks for that workaround. I've added it to the bugzilla. The easy manual
workaround I tried was:
# mkdir /rhev/data-center/mnt/ovirt-nfs.localdomain:_ovirt_hosted-engine
# /usr/bin/mount -t nfs -o soft,nosharecache,timeo=3D600,retrans=3D6,nfsver=
s=3D4 \
ovirt-nfs.localdomain:/ovirt/hosted-engine \
/rhev/data-center/mnt/ovirt-nfs.netsec:_ovirt_hosted-engine
which got the hosts operational again.
Thanks for all the help!
Robert
--=20
Senior Software Engineer @ Parsons
--Sig_/X22DB.eulTCYHh1dWExXoR9
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEARECAAYFAleSXGYACgkQ7/fVLLY1mni5EQCeLunYa08x3AYFhHw+qmQ6dvJk
bJMAmgJRfIXizUfQfsYasI13kHvSlGhn
=50gl
-----END PGP SIGNATURE-----
--Sig_/X22DB.eulTCYHh1dWExXoR9--