GlusterFS Centos 7 unable to mount NFS on gluster members
by Donny Davis
This is a multipart message in MIME format.
------=_NextPart_000_0007_01D02EA2.D9347DE0
Content-Type: text/plain;
charset="koi8-r"
Content-Transfer-Encoding: 7bit
Here is a quick rundown of the system, and the problem.
All hosts on centOS 7 fully up to date
GlusterFS is running on 6 servers, 3x2 distribute/replicate.
CTDB is running on all hosts
I am unable to mount via nfs the exported volume on any of the gluster
server members.
I am able to mount, read, write, umount from any server that is not a
gluster member.
Topology - all are hostnames that are resolvable
Gluster Members
Node1
Node2
Node3
Node4
Node5
Node6
CTDB Virtual IP/Hostname
SharedNFS
Test Machine
Test1
Gluster Volumes
Engine
Data
I am trying to bring up hosted-engine using nfs using the gluster members
I run hosted-engine -deploy
Nfsv3
Host:/path sharednfs:/engine
Error while mounting specified storage path: mount.nfs: an incorrect mount
option was specified
Ok well lets try that without using the hosted-engine script
Mount -v -t nfs -o vers=3 sharednfs:/engine /tmp
mount.nfs: timeout set for Mon Jan 12 22:00:08 2015
mount.nfs: trying text-based options 'vers=3,lock=Flase,addr=192.168.0.240
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.0.240 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: portmap query retrying: RPC: Program not registered
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.0.240 prog 100005 vers 3 prot TCP port 38465
mount.nfs: mount(2): Invalid argument
mount.nfs: an incorrect mount option was specified
[root@node4 ~]# systemctl status rpcbind
rpcbind.service - RPC bind service
Loaded: loaded (/usr/lib/systemd/system/rpcbind.service; enabled)
Active: active (running) since Mon 2015-01-12 20:01:13 EST; 1h 57min ago
Process: 1349 ExecStart=/sbin/rpcbind -w ${RPCBIND_ARGS} (code=exited,
status=0/SUCCESS)
Main PID: 1353 (rpcbind)
CGroup: /system.slice/rpcbind.service
L-1353 /sbin/rpcbind -w
Jan 12 20:01:13 node4 systemd[1]: Starting RPC bind service...
Jan 12 20:01:13 node4 systemd[1]: Started RPC bind service.
Jan 12 21:19:22 node4 systemd[1]: Started RPC bind service.
Ummm: this makes no sense:.
[root@test1 ~]# mount -v -o vers=3 -t nfs 192.168.0.240:/engine /tmp
mount.nfs: timeout set for Mon Jan 12 20:02:58 2015
mount.nfs: trying text-based options 'vers=3,addr=192.168.0.240
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.0.240 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: portmap query retrying: RPC: Program not registered
mount.nfs: prog 100005, trying vers=3, prot=6
mount.nfs: trying 192.168.0.240 prog 100005 vers 3 prot TCP port 38465
192.168.0.240:/engine on /tmp type nfs (rw,vers=3)
On the test machine mounts the nfs share with no problems. I have confirmed
this does not work on a single machine that is part of the gluster. And any
other machine is able to mount the exact same share, with the exact same
parameters: on the exact same OS:.
I am at a loss
Donny D
------=_NextPart_000_0007_01D02EA2.D9347DE0
Content-Type: text/html;
charset="koi8-r"
Content-Transfer-Encoding: quoted-printable
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dkoi8-r">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta name=3DGenerator =
content=3D"Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal>Here is a =
quick rundown of the system, and the problem.<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>All hosts on =
centOS 7 fully up to date<o:p></o:p></p><p class=3DMsoNormal>GlusterFS =
is running on 6 servers, 3x2 distribute/replicate. <o:p></o:p></p><p =
class=3DMsoNormal>CTDB is running on all hosts<o:p></o:p></p><p =
class=3DMsoNormal>I am unable to mount via nfs the exported volume on =
any of the gluster server members.<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>I am able to =
mount, read, write, umount from any server that is not a gluster member. =
<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Topology – all are hostnames that are resolvable =
<o:p></o:p></p><p class=3DMsoNormal>Gluster Members<o:p></o:p></p><p =
class=3DMsoNormal>Node1<o:p></o:p></p><p =
class=3DMsoNormal>Node2<o:p></o:p></p><p =
class=3DMsoNormal>Node3<o:p></o:p></p><p =
class=3DMsoNormal>Node4<o:p></o:p></p><p =
class=3DMsoNormal>Node5<o:p></o:p></p><p =
class=3DMsoNormal>Node6<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>CTDB Virtual =
IP/Hostname<o:p></o:p></p><p =
class=3DMsoNormal>SharedNFS<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Test =
Machine<o:p></o:p></p><p class=3DMsoNormal>Test1<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Gluster =
Volumes<o:p></o:p></p><p class=3DMsoNormal>Engine<o:p></o:p></p><p =
class=3DMsoNormal>Data<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>I am trying =
to bring up hosted-engine using nfs using the gluster =
members<o:p></o:p></p><p class=3DMsoNormal>I run hosted-engine =
–deploy<o:p></o:p></p><p class=3DMsoNormal>Nfsv3<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Host:/path =
sharednfs:/engine<o:p></o:p></p><p class=3DMsoNormal>Error while =
mounting specified storage path: mount.nfs: an incorrect mount option =
was specified<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Ok well lets try that without using the hosted-engine =
script<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Mount –v –t nfs –o vers=3D3 =
sharednfs:/engine /tmp<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: =
timeout set for Mon Jan 12 22:00:08 2015<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: trying text-based options =
'vers=3D3,lock=3DFlase,addr=3D192.168.0.240<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100003, trying vers=3D3, =
prot=3D6<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: trying =
192.168.0.240 prog 100003 vers 3 prot TCP port 2049<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100005, trying vers=3D3, =
prot=3D17<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: portmap query =
retrying: RPC: Program not registered<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100005, trying vers=3D3, =
prot=3D6<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: trying =
192.168.0.240 prog 100005 vers 3 prot TCP port 38465<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: mount(2): Invalid argument<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: an incorrect mount option was =
specified<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>[root@node4 =
~]# systemctl status rpcbind<o:p></o:p></p><p =
class=3DMsoNormal>rpcbind.service - RPC bind service<o:p></o:p></p><p =
class=3DMsoNormal>=9A=9A Loaded: loaded =
(/usr/lib/systemd/system/rpcbind.service; enabled)<o:p></o:p></p><p =
class=3DMsoNormal>=9A=9A Active: active (running) since Mon 2015-01-12 =
20:01:13 EST; 1h 57min ago<o:p></o:p></p><p class=3DMsoNormal>=9A =
Process: 1349 ExecStart=3D/sbin/rpcbind -w ${RPCBIND_ARGS} =
(code=3Dexited, status=3D0/SUCCESS)<o:p></o:p></p><p class=3DMsoNormal> =
Main PID: 1353 (rpcbind)<o:p></o:p></p><p class=3DMsoNormal>=9A=9A =
CGroup: /system.slice/rpcbind.service<o:p></o:p></p><p =
class=3DMsoNormal>=9A=9A=9A=9A=9A=9A=9A=9A=9A=9A └─1353 =
/sbin/rpcbind -w<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Jan 12 =
20:01:13 node4 systemd[1]: Starting RPC bind service...<o:p></o:p></p><p =
class=3DMsoNormal>Jan 12 20:01:13 node4 systemd[1]: Started RPC bind =
service.<o:p></o:p></p><p class=3DMsoNormal>Jan 12 21:19:22 node4 =
systemd[1]: Started RPC bind service.<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>Ummm… =
this makes no sense…. <o:p></o:p></p><p =
class=3DMsoNormal>[root@test1 ~]# mount -v -o vers=3D3 -t nfs =
192.168.0.240:/engine /tmp<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: =
timeout set for Mon Jan 12 20:02:58 2015<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: trying text-based options =
'vers=3D3,addr=3D192.168.0.240<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100003, trying vers=3D3, =
prot=3D6<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: trying =
192.168.0.240 prog 100003 vers 3 prot TCP port 2049<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100005, trying vers=3D3, =
prot=3D17<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: portmap query =
retrying: RPC: Program not registered<o:p></o:p></p><p =
class=3DMsoNormal>mount.nfs: prog 100005, trying vers=3D3, =
prot=3D6<o:p></o:p></p><p class=3DMsoNormal>mount.nfs: trying =
192.168.0.240 prog 100005 vers 3 prot TCP port 38465<o:p></o:p></p><p =
class=3DMsoNormal>192.168.0.240:/engine on /tmp type nfs =
(rw,vers=3D3)<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>On the test =
machine mounts the nfs share with no problems. I have confirmed this =
does not work on a single machine that is part of the gluster. =9AAnd =
any other machine is able to mount the exact same share, with the exact =
same parameters… on the exact same OS….<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p><p class=3DMsoNormal>I am at a =
loss<o:p></o:p></p><p class=3DMsoNormal><o:p> </o:p></p><p =
class=3DMsoNormal>Donny D<o:p></o:p></p><p =
class=3DMsoNormal><o:p> </o:p></p></div></body></html>
------=_NextPart_000_0007_01D02EA2.D9347DE0--
9 years, 10 months
fixed by reboot - Stucked VM Migration and now only run once
by Kurt Woitschach
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--loHd0jldbOSfxn0f5CQhmAbevw6948fUs
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
Thank You!
Reboot of the engine fixed the problem.
Greets
Kurt
On 28.12.2014 18:00, users-request(a)ovirt.org wrote:
> ----------------------------------------------------------------------
>=20
> Message: 1
> Date: Sun, 28 Dec 2014 08:02:31 -0500 (EST)
> From: Arik Hadas <ahadas(a)redhat.com>
> To: Kurt Woitschach <kurt.woitschach-mueller(a)tngtech.com>
> Cc: Oved Ourfali <ovedo(a)redhat.com>, users(a)ovirt.org
> Subject: Re: [ovirt-users] Stucked VM Migration and now only run once
> Message-ID:
> <334493801.1660696.1419771751996.JavaMail.zimbra(a)redhat.com>
> Content-Type: text/plain; charset=3Dutf-8
>=20
> You wrote that reboot didn't help, is it the host that you rebooted? Be=
cause engine restart will release the migration's lock and you'll be able=
to run the VM normally for sure.
>=20
> Since you managed to run the VM using run-once while it was locked, I g=
uess you're using ovirt 3.3.1/3.3.2/3.3.3/3.3.4 right?
> We fixed several flows in which the migration's lock was not released s=
ince then, so I suggest to upgrade the system.
> If it happens with any other version, please provide the logs Oved ment=
ioned and specify which version of engine you're using.
>=20
> Thanks,
> Arik
>=20
> ----- Original Message -----
>> > Can you provide the engine and host logs?
>> > Also, please specify when the migration happened, and in addition wh=
en did
>> > you try to run the VM.
>> > It will help understand the flow in the logs.
>> >=20
>> > Thanks,
>> > Oved
>> >=20
>> > ----- Original Message -----
>>> > > From: "Kurt Woitschach" <kurt.woitschach-mueller(a)tngtech.com>
>>> > > To: users(a)ovirt.org
>>> > > Sent: Saturday, December 27, 2014 9:22:35 PM
>>> > > Subject: [ovirt-users] Stucked VM Migration and now only run once=
>>> > >=20
>>> > > Hi all,
>>> > >=20
>>> > > we have a Problem with a VM that can only be started in run-once =
mode.
>>> > >=20
>>> > > After a temporary network disconnect on the hosting node, the vm =
(and
>>> > > some others) was down. When I tried to start regularly, it showed=
a
>>> > > currently beeing migrated status.
>>> > > I only could start it with run-once.
>>> > >=20
>>> > > Reboot didn't make a change.
>>> > >=20
>>> > > Any ideas?
>>> > >=20
>>> > >=20
>>> > > Greets
>>> > > Kurt
>>> > >=20
>>> > > --
>>> > >=20
>>> > >=20
>>> > > Kurt Woitschach-M?ller kurt.woitschach-mueller(a)tngtech.com *
>>> > > +49-1743180076
>>> > > TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterf?hring
>>> > > Gesch?ftsf?hrer: Henrik Klagges, Gerhard M?ller, Christoph Stock
>>> > > Sitz: Unterf?hring * Amtsgericht M?nchen * HRB 135082
>>> > >=20
>>> > >=20
>>> > >=20
>>> > > _______________________________________________
>>> > > Users mailing list
>>> > > Users(a)ovirt.org
>>> > > http://lists.ovirt.org/mailman/listinfo/users
>>> > >=20
>> >=20
--=20
Kurt Woitschach-M=FCller kurt.woitschach-mueller(a)tngtech.com *
+49-1743180076
TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterf=F6hring
Gesch=E4ftsf=FChrer: Henrik Klagges, Gerhard M=FCller, Christoph Stock
Sitz: Unterf=F6hring * Amtsgericht M=FCnchen * HRB 135082
--loHd0jldbOSfxn0f5CQhmAbevw6948fUs
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBAgAGBQJUtPoAAAoJEO13zDeMkkLQhLcIANExQcsi3uYXobizQ7rQOM+G
dr4xJ9EUoLThcoudDIpkC+IgduNdU1s/wtfIHGYL19xC54r0YsdV1V8w7DG+3Lpo
5sl2nNdmStmvvnGHdH58Gl5788hfvDL4S6YtciRWyqJ14lFmXsxSkcclX7mKF7Y7
igu2GRJyF/eQdH08YaMoywwmSHNlq9ZDMaG82m9/twp1Bcous6JVT+BsHeBocLvR
6tIqycQXZcaAiEZa9kDdAjtKYDAnWRUrPtVVk0fQufwzK2KJ8to41obnH6bpPmcY
+1aZKmrdcdte+lspa/2tSl3rqK1gObb+oIKcNqEZiNoF5gbplsSrlEWMBdmOHXs=
=tCDh
-----END PGP SIGNATURE-----
--loHd0jldbOSfxn0f5CQhmAbevw6948fUs--
9 years, 10 months
about Ovirt - KVM - Ubuntu
by Carlos Laurent
Hi,
I have questions about ovirt, my english is not good,I do not know if
there are some mail list in spanish.
I need install ovirt in ubuntu server, it is posible to do? I read is in
experimental. I try install but there areproblems with Python libraries.
Is posible Ovirt server read guest machines in KVM ubuntu server? or I
need install Ovirt and migrade one to one machines.
Thank you very much for the answers.
Carlos Laurent
Costa Rica,NUMAR
9 years, 10 months
I have a question about the spice client.
by jaemin baek
hi,
i'm korean
I have a question about the spice client.
My spice client connect to VDI ----> Windows 7 VDI
input key ---> Korea keyboard(103/106 key) + hangul key ---> windows 7 IME
*but...*
input key ---> Korea keyboard(103/106 key) + hangul key --> hangul key
exchanged ---> Alt key
*Why??*
linux spice client Hangul key OK.
but windows spice client Hangul key ---> Alt key...
Hangul key scancode = 0x38
Alt key scancode = 0x38
*WHY??*
Help me Thank you.
9 years, 10 months
Re: [ovirt-users] rename ovirt-engine
by Koen Vanoppen
No, it was a accident :-).
I'll mark this as solved as I will wait for the new release of ovirt.
Thanks for your help.
If I'll find more bugs, I will definitely let the mailing list know :-)
2015-01-13 8:51 GMT+01:00 Yedidyah Bar David <didi(a)redhat.com>:
> ----- Original Message -----
> > From: "Koen Vanoppen" <vanoppen.koen(a)gmail.com>
> > To: "Yedidyah Bar David" <didi(a)redhat.com>
> > Sent: Tuesday, January 13, 2015 8:02:03 AM
> > Subject: Re: [ovirt-users] rename ovirt-engine
> >
> > Ok, thanks. We'll wait then :-)
>
> Note that we are aware of other issues, still without open bugs or
> any work done to fix them. Please see [1]. Not sure we'll do anything
> about these, as they are non-fatal and are solvable by running
> engine-setup.
> So if you really care, it will help if you can try the nightly 3.5-snapshot
> [2] on a test copy of your engine and report if you find issues. Thanks!
>
> Only now realized you didn't Cc the list. Not sure it was intentional.
> Replying only to you anyway...
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1170229#c1
> [2] http://www.ovirt.org/Install_nightly_snapshot
> --
> Didi
>
9 years, 10 months
deploy failed with "Engine health status page is not yet reachable."
by Will K
------=_Part_837218_289043532.1421052865744
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Hi list,
I've been trying to setup hosted-engine on 2 nodes for a few times.=C2=A0 T=
he latest failure which I can't figure out is the "Engine health status pag=
e is not yet reachable."
I'm running CentOS 6.6 fully patched before setting up 3.5.=C2=A0 Sure I ru=
n screen, I also need to setup three vars to get around a proxy server, htt=
p_proxy, https_proxy, no_proxy.
`hosted-engine --deploy` went fine until the last steps.=C2=A0 After `engin=
e setup is completed`, I picked (1) Continue setup.=C2=A0=C2=A0 It says 'Wa=
iting for VM to shutdown`.=C2=A0 Once the VM is up again, I waited for a co=
uple of minutes, then pick (1) again, it gives me
"Engine health status page is not yet reachable."
At this point, I can ssh to the VM, I can also access and login the web GUI=
.
Any suggestion?
Will
------=_Part_837218_289043532.1421052865744
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"color:#000; background-color:#fff; font-family:He=
lveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;fo=
nt-size:16px"><div id=3D"yui_3_16_0_1_1421052212899_7054">Hi list,</div><di=
v id=3D"yui_3_16_0_1_1421052212899_7053"><br></div><div id=3D"yui_3_16_0_1_=
1421052212899_7026" dir=3D"ltr">I've been trying to setup hosted-engine on =
2 nodes for a few times. The latest failure which I can't figure out =
is the "Engine health status page is not yet reachable."</div><div id=3D"yu=
i_3_16_0_1_1421052212899_7052" dir=3D"ltr"><br></div><div id=3D"yui_3_16_0_=
1_1421052212899_7025" dir=3D"ltr">I'm running CentOS 6.6 fully patched befo=
re setting up 3.5. Sure I run screen, I also need to setup three vars=
to get around a proxy server, http_proxy, https_proxy, no_proxy.</div><div=
id=3D"yui_3_16_0_1_1421052212899_7007" dir=3D"ltr"><br></div><div id=3D"yu=
i_3_16_0_1_1421052212899_7024" dir=3D"ltr">`hosted-engine --deploy` went fi=
ne until the last steps. After `engine setup is completed`, I picked =
(1) Continue setup. It says 'Waiting for VM to shutdown`. =
Once the VM is up again, I waited for a couple of minutes, then pick (1) a=
gain, it gives me</div><div id=3D"yui_3_16_0_1_1421052212899_7050" dir=3D"l=
tr"><br></div><div id=3D"yui_3_16_0_1_1421052212899_7051" dir=3D"ltr">"Engi=
ne health status page is not yet reachable."</div><div id=3D"yui_3_16_0_1_1=
421052212899_7064" dir=3D"ltr"><br></div><div id=3D"yui_3_16_0_1_1421052212=
899_7086" dir=3D"ltr">At this point, I can ssh to the VM, I can also access=
and login the web GUI.</div><div id=3D"yui_3_16_0_1_1421052212899_7065" di=
r=3D"ltr"><br></div><div id=3D"yui_3_16_0_1_1421052212899_7085" dir=3D"ltr"=
>Any suggestion?</div><div id=3D"yui_3_16_0_1_1421052212899_7066" dir=3D"lt=
r"><br></div><div id=3D"yui_3_16_0_1_1421052212899_7088" dir=3D"ltr">Will<b=
r></div><div id=3D"yui_3_16_0_1_1421052212899_6998" dir=3D"ltr"><br></div><=
div id=3D"yui_3_16_0_1_1421052212899_6703"><br></div></div></body></html>
------=_Part_837218_289043532.1421052865744--
9 years, 10 months
Re: [ovirt-users] Setting Base DN for LDAP authentication
by jdeloro@web.de
Hello Alon,
> All over? :)
traveling into the past. This e-mail comes from Mailmans moderator queue. It was sent before I was registered. And after being registered I was unable to cancel the e-mail, because Mailman always told me the token was unknown.
The problem is solved to my complete satisfaction.
Kind regards
Jannick
9 years, 10 months
Setting Base DN for LDAP authentication
by jdeloro@web.de
Hello,
I'm trying to configure LDAP authentication with oVirt 3.5 and ovirt-engine-extension-aaa-ldap. I chose the simple bind transport example. But the given examples are missing the explicit specification of a base dn. Could you please advise me how this can be done?
My curent configuration:
[jd@om01 ovirt-engine]$ cat aaa/company-ldap.properties
include = <openldap.properties>
vars.server = ldap.company.de
vars.user = cn=system,dc=company,dc=de
vars.password = password
pool.default.serverset.single.server = ${global:vars.server}
pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
[jd@om01 ovirt-engine]$ cat company-ldap-authn.properties
ovirt.engine.extension.name = company-ldap-authn
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.ldap.AuthnExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn
ovirt.engine.aaa.authn.profile.name = company-ldap
ovirt.engine.aaa.authn.authz.plugin = company-ldap-authz
config.profile.file.1 = /etc/ovirt-engine/aaa/company-ldap.properties
[jd@om01 ovirt-engine]$ cat company-ldap-authz.properties
ovirt.engine.extension.name = company-ldap-authz
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = org.ovirt.engineextensions.aaa.ldap.AuthzExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz
config.profile.file.1 = /etc/ovirt-engine/aaa/company-ldap.properties
[jd@om01 ovirt-engine]$ ldapsearch -H ldap://ldap.company.de -D cn=system,dc=company,dc=de -W -b dc=company,dc=de cn=jdeloro
# extended LDIF
#
# LDAPv3
# base <dc=company,dc=de> with scope subtree
# filter: cn=jdeloro
# requesting: ALL
#
# jdeloro, users, admins, company.de
dn: cn=jdeloro,ou=users,ou=admins,dc=company,dc=de
[... and many more lines ...]
I could not use namingContexts from RootDSE cause this results in base dn dc=de instead of dc=company,dc=de.
Kind regards
Jannick
9 years, 10 months
rename ovirt-engine
by Koen Vanoppen
Dear all,
A while ago we migrated our engine to a new host with a new name.
But now, we come to realistion that our certificate is still using the old
name of the host.
I tried to run the ovirt-engine-rename script, but after typed the new
hostname I get this output:
[ INFO ] The following files will be updated:
/etc/ovirt-engine/engine.conf.d/10-setup-protocols.conf
/etc/ovirt-engine/imageuploader.conf.d/10-engine-setup.conf
/etc/ovirt-engine/isouploader.conf.d/10-engine-setup.conf
/etc/ovirt-engine/logcollector.conf.d/10-engine-setup.conf
/etc/pki/ovirt-engine/cert.conf
/etc/pki/ovirt-engine/cert.template
/etc/pki/ovirt-engine/certs/apache.cer
/etc/pki/ovirt-engine/keys/apache.key.nopass
/etc/pki/ovirt-engine/keys/apache.p12
[ INFO ] Stage: Transaction setup
[ INFO ] Stopping engine service
[ INFO ] Stopping ovirt-fence-kdump-listener service
[ INFO ] Stopping websocket-proxy service
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ ERROR ] Failed to execute stage 'Misc configuration': invalid literal for
int() with base 10: 'None'
[ INFO ] Stage: Clean up
Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-rename-20150112135225-wfbear.log
[ INFO ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20150112135247-rename.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[ ERROR ] Execution of rename failed
>From the log file:
2015-01-12 13:52:46 DEBUG otopi.plugins.otopi.services.rhel
plugin.executeRaw:785 execute: ('/sbin/service', 'ovirt-websocket-proxy',
'stop'), executable='None', cwd='None', env=None
2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel
plugin.executeRaw:803 execute-result: ('/sbin/service',
'ovirt-websocket-proxy', 'stop'), rc=0
2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel
plugin.execute:861 execute-output: ('/sbin/service',
'ovirt-websocket-proxy', 'stop') stdout:
Stopping oVirt Engine websockets proxy: [ OK ]
2015-01-12 13:52:47 DEBUG otopi.plugins.otopi.services.rhel
plugin.execute:866 execute-output: ('/sbin/service',
'ovirt-websocket-proxy', 'stop') stderr:
2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Misc
configuration
2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE
early_misc
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
early_misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._early_misc
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage:
Package installation
2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE
packages
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
packages METHOD otopi.plugins.otopi.network.iptables.Plugin._packages
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
packages METHOD otopi.plugins.otopi.packagers.yumpackager.Plugin._packages
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Misc
configuration
2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE misc
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD otopi.plugins.otopi.system.command.Plugin._misc
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD otopi.plugins.otopi.network.firewalld.Plugin._misc
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD otopi.plugins.otopi.network.iptables.Plugin._store_iptables
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD otopi.plugins.otopi.network.ssh.Plugin._append_key
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD otopi.plugins.otopi.system.clock.Plugin._set_clock
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:144
condition False
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD
otopi.plugins.ovirt_engine_common.ovirt_engine.db.pgpass.Plugin._misc
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490
ENVIRONMENT DUMP - BEGIN
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
OVESETUP_DB/pgPassFile=str:'/tmp/tmpHWoEfz'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504
ENVIRONMENT DUMP - END
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD
otopi.plugins.ovirt_engine_rename.ovirt-engine.database.Plugin._connection
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490
ENVIRONMENT DUMP - BEGIN
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
OVESETUP_DB/connection=connection:'<connection object at 0x2977e50; dsn:
'dbname=engine host=localhost port=5432 user=engine password=xxxxxxxx
sslmode=allow', closed: 0>'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
OVESETUP_DB/statement=Statement:'<ovirt_engine_setup.engine_common.database.Statement
object at 0x2ab0850>'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504
ENVIRONMENT DUMP - END
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:138 Stage
misc METHOD
otopi.plugins.ovirt_engine_rename.ovirt-engine.database.Plugin._misc
2015-01-12 13:52:47 DEBUG otopi.ovirt_engine_setup.engine_common.database
database.execute:164 Database: 'None', Statement: '
select version, option_value
from vdc_options
where option_name = %(name)s
', args: {'name': 'RedirectServletReportsPage'}
2015-01-12 13:52:47 DEBUG otopi.ovirt_engine_setup.engine_common.database
database.execute:214 Result: [{'version': 'general', 'option_value':
'//ovirtmgmt01prod.brusselsairport.aero:None/ovirt-engine-reports'}]
2015-01-12 13:52:47 DEBUG otopi.context context._executeMethod:152 method
exception
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/otopi/context.py", line 142, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-rename/ovirt-engine/database.py",
line 176, in _misc
ulist[1] = newfqdn + ":" + str(u.port)
File "/usr/lib64/python2.6/urlparse.py", line 105, in port
return int(port, 10)
ValueError: invalid literal for int() with base 10: 'None'
2015-01-12 13:52:47 ERROR otopi.context context._executeMethod:161 Failed
to execute stage 'Misc configuration': invalid literal for int() with base
10: 'None'
2015-01-12 13:52:47 DEBUG otopi.transaction transaction.abort:131 aborting
'Database Transaction'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:490
ENVIRONMENT DUMP - BEGIN
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
BASE/error=bool:'True'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
BASE/exceptionInfo=list:'[(<type 'exceptions.ValueError'>,
ValueError("invalid literal for int() with base 10: 'None'",), <traceback
object at 0x2ae7ea8>)]'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:500 ENV
OVESETUP_DB/connection=NoneType:'None'
2015-01-12 13:52:47 DEBUG otopi.context context.dumpEnvironment:504
ENVIRONMENT DUMP - END
2015-01-12 13:52:47 INFO otopi.context context.runSequence:417 Stage: Clean
up
2015-01-12 13:52:47 DEBUG otopi.context context.runSequence:421 STAGE
cleanup
Any ideas?
Kind regards,
Koen
9 years, 10 months