
Date: Tue=2C 8 May 2012 11:11:36 +0300 From: dfediuck@redhat.com To: cybertimber2000@hotmail.com CC: mburns@redhat.com=3B users@ovirt.org Subject: Re: [Users] Adding oVirt Node Fails =20 On 08/05/12 06:06=2C Nicholas Kesick wrote:
Results of testing=2C round 3 (trying to get [Errno 16] Device or resou= rce busy '/etc/pki/vdsm/certs/cacert.pem' error.) Variable: no symlink to /etc/system-release =20 I started with a reinstall of ovirt-engine and ovirt-node-2.3.0 (format= ted drive=2C reinstalled)=2C enabled network (via logical network breth0 th= rough device eth0)=2C and set the Ovirt Engine Admin Password on the node. Created a new host in ovirt-manager=2C host went to "Pending Approval". On the manager=2C clicked the host=2C clicked approve=2C and clicked ok= (on power management warning) And.... we passed the cert install! And everything worked up until I h= it the cpuFlags issue. =20 So... it wasn't the sym-link. Borked install? I guess the only think I= did different these times from before was I used a Fedora 16 disk to forma= t the drive between each attempt=2C instead of using the ovirt-node disk an= d performing a reinstall=2C as well as rebuilding ovirt-manager. =20 Not sure where this leaves this topic. Seems I can properly add a node = now without a cert or bridge renaming issue. - Nick =20 Nick=2C Thanks for taking the time to do this. Can you just verify you used the same ovirt-node ISO for all your tests? =20 Confirmed=2C I used the same ovirt-node ISO for all of my tests.The ISO w= as extracted to a 4GB USB flash drive and installed from it. - Nick -----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------!
From: cybertimber2000@hotmail.com To: dfediuck@redhat.com=3B mburns@redhat.com Date: Mon=2C 7 May 2012 18:53:39 -0400 CC: users@ovirt.org Subject: Re: [Users] Adding oVirt Node Fails =20 Results of testing=2C round 2 (trying to get [Errno 16] Device or resou= rce busy '/etc/pki/vdsm/certs/cacert.pem' error.) =20 Again=2C I started with a reinstall of ovirt-engine and ovirt-node-2.3.= 0 (formatted drive with F16 disk=2C reinstalled)=2C enabled network (logica= l =3D breth0=2C device =3D eth0).=20 This time=2C I set the management server (by IP address and default por= t)=2C with the [*] Connect to oVirt Engine and Validate Certificate set=2C = and entered the oVirt Engine Admin Password.=20 Ovirt prompts to confirm fingerprint=2C accepted. (quickly a message ab= out pki and "persisted" appears on screen). Created a new host in ovirt-manager=2C host went to "Pending Approval". On the node shell=2C performed "ln -s /etc/system-release /etc/rhev-hyp= ervisor-release" ((note: not sure this make an effect yet=2C I think it's t= he validating certificate part=2C but did so that only ONE thing changed be= tween first and second test.)) On the manager=2C clicked the host=2C clicked approve=2C and clicked ok= (on power management warning) Ended at missing cpuFlags. =20 So we are at the same point as before=2C which means my idea on what ca= used it (validate certificate) didn't cause it. Now for testing without th= e sym-link that Doron suggested. =20 - Nick =20 -----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------!
From: cybertimber2000@hotmail.com To: dfediuck@redhat.com=3B mburns@redhat.com Date: Mon=2C 7 May 2012 18:32:34 -0400 CC: users@ovirt.org Subject: Re: [Users] Adding oVirt Node Fails =20 Ok so here is the results of testing: I started with a reinstall of ovirt-engine and ovirt-node-2.3.0 (format= ted drive=2C reinstalled)=2C enabled network (via logical network breth0 th= rough device eth0)=2C and set the Ovirt Engine Admin Password on the node. = Created a new host in ovirt-manager=2C host went to "Pending Approval". On the node shell=2C performed "ln -s /etc/system-release /etc/rhev-hyp= ervisor-release" On the manager=2C clicked the host=2C clicked approve=2C and clicked ok= (on power management warning) Ended at missing cpuFlags. =20 SO: We are at the same point that I was at with the plain Fedora16 + VD= SM install=2C which is good. No issue with failing to install the cert!=20 =20 But I think I know what has been causing the OSError: [Errno 16] Device= or resource busy '/etc/pki/vdsm/certs/cacert.pem' error. Working through that now=2C will post the step by step when I have it. =20 - Nick =20
To: mburns@redhat.com=3B abaron@redhat.com=3B cybertimber2000@hotmail.= com From: dfediuck@redhat.com CC: users@ovirt.org Date: Mon=2C 7 May 2012 17:28:20 -0400 Subject: Re: [Users] Adding oVirt Node Fails
Nicholas=2C The code I saw is testing for this file to verify it's a nods platform= =2C and if it's missing the behaviour changes. So the code will try to unlink the file=2C which will give you this result in a mounted file.
Sent from my Android phone. Please ignore typos.
-----Original Message----- From: Nicholas Kesick [cybertimber2000@hotmail.com] Received: Tuesday=2C 08 May 2012=2C 0:08 To: mburns@redhat.com=2C abaron@redhat.com CC: oVirt Mailing List [users@ovirt.org] Subject: Re: [Users] Adding oVirt Node Fails
Ayal=2C did you see something in the code that made you want me to try=
Subject: Re: [Users] Adding oVirt Node Fails From: mburns@redhat.com To: abaron@redhat.com CC: cybertimber2000@hotmail.com=3B users@ovirt.org Date: Sun=2C 6 May 2012 21:26:08 -0400
On Sat=2C 2012-05-05 at 16:39 -0400=2C Ayal Baron wrote:
----- Original Message -----
> Date: Sat=2C 5 May 2012 12:29:20 +0300 > From: dfediuck@redhat.com > To: cybertimber2000@hotmail.com > CC: mburns@redhat.com=3B users@ovirt.org > Subject: Re: [Users] Adding oVirt Node Fails > > On 04/05/12 02:49=2C Nicholas Kesick wrote: > > Fri=2C 27 Apr 2012 05:22:24 DEBUG instCert: try to delete ol=
d
> > certificates > > Fri=2C 27 Apr 2012 05:22:24 DEBUG instCert: failed. > > Traceback (most recent call last): > > File "/usr/share/vdsm-reg/deployUtil.py"=2C line 1133=2C in = instCert > > File "/usr/share/vdsm-reg/deployUtil.py"=2C line 1098=2C in > > pkiCleanup > > OSError: [Errno 16] Device or resource busy: > > '/etc/pki/vdsm/certs/cacert.pem' > > > Nicholas=2C > I think I got it=3B > Please check if this file exists: '/etc/rhev-hypervisor-releas= e'. > If not=2C try to create a sym-link in this name to > /etc/system-release=2C > and restart vdsm-reg service.
No=2C /etc/rhev-hypervisor-release should not exist. It doesn't have= to. We went through significant effort before the 3.0 release making sur= e that vdsm used /etc/ovirt-node-image-release for determining if the machine is ovirt-node based or not.
There should not be any need for anything that says "rhev" in ovirt-node.
Mike
> > Also please provide the rpm information for vdsm-reg and vdsm = as > well. > -- > > /d > > "Common sense is not so common." --Voltaire=2C Dictionnaire > Philosophique (1764)
Just to make sure I do it right=2C can you specify which you wan= ted done on the node=2C and which you wanted on the manager? I have =
--_e8c33a55-d6b8-446e-9d5f-a4a666d5b5d6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable the sym-link to /etc/rhev-hypervisor-release?Mike=2C is there any harm in = linking it? - Nick the
feeling you wanted it all done on the node.
you are correct=2C all on node.
=20 --=20 =20 /d =20 "Email returned to sender -- insufficient voltage." =
--_e8c33a55-d6b8-446e-9d5f-a4a666d5b5d6_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Tahoma } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'> <br> =3B<BR><div id=3D"SkyDrivePlaceholder"></div><div>>=3B Date: Tue= =2C 8 May 2012 11:11:36 +0300<br>>=3B From: dfediuck@redhat.com<br>>=3B= To: cybertimber2000@hotmail.com<br>>=3B CC: mburns@redhat.com=3B users@o= virt.org<br>>=3B Subject: Re: [Users] Adding oVirt Node Fails<br>>=3B <= br>>=3B On 08/05/12 06:06=2C Nicholas Kesick wrote:<br>>=3B >=3B Resu= lts of testing=2C round 3 (trying to get [Errno 16] Device or resource busy= '/etc/pki/vdsm/certs/cacert.pem' error.)<br>>=3B >=3B Variable: no sym= link to /etc/system-release<br>>=3B >=3B <br>>=3B >=3B I started w= ith a reinstall of ovirt-engine and ovirt-node-2.3.0 (formatted drive=2C re= installed)=2C enabled network (via logical network breth0 through device et= h0)=2C and set the Ovirt Engine Admin Password on the node.<br>>=3B >= =3B Created a new host in ovirt-manager=2C host went to "Pending Approval".= <br>>=3B >=3B On the manager=2C clicked the host=2C clicked approve=2C = and clicked ok (on power management warning)<br>>=3B >=3B And.... we pa= ssed the cert install! And everything worked up until I hit the cpuFlags i= ssue.<br>>=3B >=3B <br>>=3B >=3B So... it wasn't the sym-link. Bor= ked install? I guess the only think I did different these times from before= was I used a Fedora 16 disk to format the drive between each attempt=2C in= stead of using the ovirt-node disk and performing a reinstall=2C as well as= rebuilding ovirt-manager.<br>>=3B >=3B <br>>=3B >=3B Not sure wher= e this leaves this topic. Seems I can properly add a node now without a cer= t or bridge renaming issue.<br>>=3B >=3B - Nick<br>>=3B <br>>=3B Ni= ck=2C<br>>=3B Thanks for taking the time to do this.<br>>=3B Can you ju= st verify you used the same ovirt-node ISO for all your tests?<br>>=3B <b= r>>=3B </div><div>Confirmed=2C I used the same ovirt-node ISO for all of = my tests.</div><div>The ISO was extracted to a 4GB USB flash drive and inst= alled from it.</div><div> =3B</div><div>- Nick</div><div><br>>=3B >= =3B -----------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ----------------!<br>>=3B ---<br>>=3B >=3B From: cybertimber2000@hot= mail.com<br>>=3B >=3B To: dfediuck@redhat.com=3B mburns@redhat.com<br>&= gt=3B >=3B Date: Mon=2C 7 May 2012 18:53:39 -0400<br>>=3B >=3B CC: us= ers@ovirt.org<br>>=3B >=3B Subject: Re: [Users] Adding oVirt Node Fails= <br>>=3B >=3B <br>>=3B >=3B Results of testing=2C round 2 (trying t= o get [Errno 16] Device or resource busy '/etc/pki/vdsm/certs/cacert.pem' e= rror.)<br>>=3B >=3B <br>>=3B >=3B Again=2C I started with a reinst= all of ovirt-engine and ovirt-node-2.3.0 (formatted drive with F16 disk=2C = reinstalled)=2C enabled network (logical =3D breth0=2C device =3D eth0). <b= r>>=3B >=3B This time=2C I set the management server (by IP address and= default port)=2C with the [*] Connect to oVirt Engine and Validate Certifi= cate set=2C and entered the oVirt Engine Admin Password. <br>>=3B >=3B = Ovirt prompts to confirm fingerprint=2C accepted. (quickly a message about = pki and "persisted" appears on screen).<br>>=3B >=3B Created a new host= in ovirt-manager=2C host went to "Pending Approval".<br>>=3B >=3B On t= he node shell=2C performed "ln -s /etc/system-release /etc/rhev-hypervisor-= release" ((note: not sure this make an effect yet=2C I think it's the valid= ating certificate part=2C but did so that only ONE thing changed between fi= rst and second test.))<br>>=3B >=3B On the manager=2C clicked the host= =2C clicked approve=2C and clicked ok (on power management warning)<br>>= =3B >=3B Ended at missing cpuFlags.<br>>=3B >=3B <br>>=3B >=3B S= o we are at the same point as before=2C which means my idea on what caused = it (validate certificate) didn't cause it. Now for testing without the sym= -link that Doron suggested.<br>>=3B >=3B <br>>=3B >=3B - Nick<br>&= gt=3B >=3B <br>>=3B >=3B -------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= ---------------------------------------------------------------------------= --------------------------------------------!<br>>=3B ---<br>>=3B >= =3B From: cybertimber2000@hotmail.com<br>>=3B >=3B To: dfediuck@redhat.= com=3B mburns@redhat.com<br>>=3B >=3B Date: Mon=2C 7 May 2012 18:32:34 = -0400<br>>=3B >=3B CC: users@ovirt.org<br>>=3B >=3B Subject: Re: [U= sers] Adding oVirt Node Fails<br>>=3B >=3B <br>>=3B >=3B Ok so here= is the results of testing:<br>>=3B >=3B I started with a reinstall of = ovirt-engine and ovirt-node-2.3.0 (formatted drive=2C reinstalled)=2C enabl= ed network (via logical network breth0 through device eth0)=2C and set the = Ovirt Engine Admin Password on the node. Created a new host in ovirt-manage= r=2C host went to "Pending Approval".<br>>=3B >=3B On the node shell=2C= performed "ln -s /etc/system-release /etc/rhev-hypervisor-release"<br>>= =3B >=3B On the manager=2C clicked the host=2C clicked approve=2C and cli= cked ok (on power management warning)<br>>=3B >=3B Ended at missing cpu= Flags.<br>>=3B >=3B <br>>=3B >=3B SO: We are at the same point tha= t I was at with the plain Fedora16 + VDSM install=2C which is good. No issu= e with failing to install the cert! <br>>=3B >=3B <br>>=3B >=3B Bu= t I think I know what has been causing the OSError: [Errno 16] Device or re= source busy '/etc/pki/vdsm/certs/cacert.pem' error.<br>>=3B >=3B Workin= g through that now=2C will post the step by step when I have it.<br>>=3B = >=3B <br>>=3B >=3B - Nick<br>>=3B >=3B <br>>=3B >=3B>=3B = To: mburns@redhat.com=3B abaron@redhat.com=3B cybertimber2000@hotmail.com<b= r>>=3B >=3B>=3B From: dfediuck@redhat.com<br>>=3B >=3B>=3B CC: = users@ovirt.org<br>>=3B >=3B>=3B Date: Mon=2C 7 May 2012 17:28:20 -04= 00<br>>=3B >=3B>=3B Subject: Re: [Users] Adding oVirt Node Fails<br>&= gt=3B >=3B>=3B<br>>=3B >=3B>=3B Nicholas=2C<br>>=3B >=3B>= =3B The code I saw is testing for this file to verify it's a nods platform= =2C<br>>=3B >=3B>=3B and if it's missing the behaviour changes. So th= e code will try to<br>>=3B >=3B>=3B unlink the file=2C which will giv= e<br>>=3B >=3B>=3B you this result in a mounted file.<br>>=3B >= =3B>=3B<br>>=3B >=3B>=3B Sent from my Android phone. Please ignore = typos.<br>>=3B >=3B>=3B<br>>=3B >=3B>=3B -----Original Message-= ----<br>>=3B >=3B>=3B From: Nicholas Kesick [cybertimber2000@hotmail.= com]<br>>=3B >=3B>=3B Received: Tuesday=2C 08 May 2012=2C 0:08<br>>= =3B >=3B>=3B To: mburns@redhat.com=2C abaron@redhat.com<br>>=3B >= =3B>=3B CC: oVirt Mailing List [users@ovirt.org]<br>>=3B >=3B>=3B S= ubject: Re: [Users] Adding oVirt Node Fails<br>>=3B >=3B>=3B<br>>= =3B >=3B>=3B<br>>=3B >=3B>=3B Ayal=2C did you see something in th= e code that made you want me to try the sym-link to /etc/rhev-hypervisor-re= lease?Mike=2C is there any harm in linking it? - Nick<br>>=3B >=3B>= =3B >=3B Subject: Re: [Users] Adding oVirt Node Fails<br>>=3B >=3B>= =3B >=3B From: mburns@redhat.com<br>>=3B >=3B>=3B >=3B To: abaron= @redhat.com<br>>=3B >=3B>=3B >=3B CC: cybertimber2000@hotmail.com= =3B users@ovirt.org<br>>=3B >=3B>=3B >=3B Date: Sun=2C 6 May 2012 2= 1:26:08 -0400<br>>=3B >=3B>=3B >=3B<br>>=3B >=3B>=3B >=3B O= n Sat=2C 2012-05-05 at 16:39 -0400=2C Ayal Baron wrote:<br>>=3B >=3B>= =3B >=3B >=3B<br>>=3B >=3B>=3B >=3B >=3B ----- Original Messa= ge -----<br>>=3B >=3B>=3B >=3B >=3B >=3B<br>>=3B >=3B>=3B= >=3B >=3B >=3B<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B Da= te: Sat=2C 5 May 2012 12:29:20 +0300<br>>=3B >=3B>=3B >=3B >=3B &= gt=3B >=3B From: dfediuck@redhat.com<br>>=3B >=3B>=3B >=3B >=3B= >=3B >=3B To: cybertimber2000@hotmail.com<br>>=3B >=3B>=3B >= =3B >=3B >=3B >=3B CC: mburns@redhat.com=3B users@ovirt.org<br>>=3B= >=3B>=3B >=3B >=3B >=3B >=3B Subject: Re: [Users] Adding oVirt= Node Fails<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B<br>>=3B &g= t=3B>=3B >=3B >=3B >=3B >=3B On 04/05/12 02:49=2C Nicholas Kesick= wrote:<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B >=3B Fri=2C 27= Apr 2012 05:22:24 DEBUG instCert: try to delete old<br>>=3B >=3B>=3B= >=3B >=3B >=3B >=3B >=3B certificates<br>>=3B >=3B>=3B >= =3B >=3B >=3B >=3B >=3B Fri=2C 27 Apr 2012 05:22:24 DEBUG instCert:= failed.<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B >=3B Tracebac= k (most recent call last):<br>>=3B >=3B>=3B >=3B >=3B >=3B >= =3B >=3B File "/usr/share/vdsm-reg/deployUtil.py"=2C line 1133=2C in inst= Cert<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B >=3B File "/usr/s= hare/vdsm-reg/deployUtil.py"=2C line 1098=2C in<br>>=3B >=3B>=3B >= =3B >=3B >=3B >=3B >=3B pkiCleanup<br>>=3B >=3B>=3B >=3B &g= t=3B >=3B >=3B >=3B OSError: [Errno 16] Device or resource busy:<br>&= gt=3B >=3B>=3B >=3B >=3B >=3B >=3B >=3B '/etc/pki/vdsm/certs/= cacert.pem'<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B<br>>=3B &g= t=3B>=3B >=3B >=3B >=3B >=3B<br>>=3B >=3B>=3B >=3B >=3B= >=3B >=3B Nicholas=2C<br>>=3B >=3B>=3B >=3B >=3B >=3B >= =3B I think I got it=3B<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B = Please check if this file exists: '/etc/rhev-hypervisor-release'.<br>>=3B= >=3B>=3B >=3B >=3B >=3B >=3B If not=2C try to create a sym-lin= k in this name to<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B /etc/s= ystem-release=2C<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B and res= tart vdsm-reg service.<br>>=3B >=3B>=3B >=3B<br>>=3B >=3B>=3B= >=3B No=2C /etc/rhev-hypervisor-release should not exist. It doesn't hav= e to.<br>>=3B >=3B>=3B >=3B We went through significant effort befo= re the 3.0 release making sure<br>>=3B >=3B>=3B >=3B that vdsm used= /etc/ovirt-node-image-release for determining if the<br>>=3B >=3B>= =3B >=3B machine is ovirt-node based or not.<br>>=3B >=3B>=3B >= =3B<br>>=3B >=3B>=3B >=3B There should not be any need for anything= that says "rhev" in<br>>=3B >=3B>=3B >=3B ovirt-node.<br>>=3B &g= t=3B>=3B >=3B<br>>=3B >=3B>=3B >=3B Mike<br>>=3B >=3B>=3B= >=3B<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B<br>>=3B >=3B= >=3B >=3B >=3B >=3B >=3B Also please provide the rpm information = for vdsm-reg and vdsm as<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B= well.<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B --<br>>=3B >= =3B>=3B >=3B >=3B >=3B >=3B<br>>=3B >=3B>=3B >=3B >=3B = >=3B >=3B /d<br>>=3B >=3B>=3B >=3B >=3B >=3B >=3B<br>>= =3B >=3B>=3B >=3B >=3B >=3B >=3B "Common sense is not so common= ." --Voltaire=2C Dictionnaire<br>>=3B >=3B>=3B >=3B >=3B >=3B &= gt=3B Philosophique (1764)<br>>=3B >=3B>=3B >=3B >=3B >=3B<br>&= gt=3B >=3B>=3B >=3B >=3B >=3B Just to make sure I do it right=2C = can you specify which you wanted<br>>=3B >=3B>=3B >=3B >=3B >= =3B done on the node=2C and which you wanted on the manager? I have the<br>= >=3B >=3B>=3B >=3B >=3B >=3B feeling you wanted it all done on = the node.<br>>=3B >=3B>=3B >=3B >=3B<br>>=3B >=3B>=3B >= =3B >=3B you are correct=2C all on node.<br>>=3B >=3B>=3B >=3B &g= t=3B<br>>=3B <br>>=3B -- <br>>=3B <br>>=3B /d<br>>=3B <br>>=3B = "Email returned to sender -- insufficient voltage."<br></div> </= div></body> </html>= --_e8c33a55-d6b8-446e-9d5f-a4a666d5b5d6_--