[Users] Adding oVirt Node Fails
Nicholas Kesick
cybertimber2000 at hotmail.com
Mon May 7 22:53:39 UTC 2012
Results of testing, round 2 (trying to get [Errno 16] Device or resource busy '/etc/pki/vdsm/certs/cacert.pem' error.) Again, I started with a reinstall of ovirt-engine and ovirt-node-2.3.0 (formatted drive with F16 disk, reinstalled), enabled network (logical = breth0, device = eth0). This time, I set the management server (by IP address and default port), with the [*] Connect to oVirt Engine and Validate Certificate set, and entered the oVirt Engine Admin Password. Ovirt prompts to confirm fingerprint, accepted. (quickly a message about pki and "persisted" appears on screen).Created a new host in ovirt-manager, host went to "Pending Approval".On the node shell, performed "ln -s /etc/system-release /etc/rhev-hypervisor-release" ((note: not sure this make an effect yet, I think it's the validating certificate part, but did so that only ONE thing changed between first and second test.))On the manager, clicked the host, clicked approve, and clicked ok (on power management warning)
Ended at missing cpuFlags. So we are at the same point as before, which means my idea on what caused it (validate certificate) didn't cause it. Now for testing without the sym-link that Doron suggested. - Nick From: cybertimber2000 at hotmail.com
To: dfediuck at redhat.com; mburns at redhat.com
Date: Mon, 7 May 2012 18:32:34 -0400
CC: users at ovirt.org
Subject: Re: [Users] Adding oVirt Node Fails
Ok so here is the results of testing:
I started with a reinstall of ovirt-engine and ovirt-node-2.3.0 (formatted drive, reinstalled), enabled network (via logical network breth0 through device eth0), and set the Ovirt Engine Admin Password on the node. Created a new host in ovirt-manager, host went to "Pending Approval".
On the node shell, performed "ln -s /etc/system-release /etc/rhev-hypervisor-release"
On the manager, clicked the host, clicked approve, and clicked ok (on power management warning)
Ended at missing cpuFlags.
SO: We are at the same point that I was at with the plain Fedora16 + VDSM install, which is good. No issue with failing to install the cert!
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, will post the step by step when I have it.
- Nick > To: mburns at redhat.com; abaron at redhat.com; cybertimber2000 at hotmail.com
> From: dfediuck at redhat.com
> CC: users at ovirt.org
> Date: Mon, 7 May 2012 17:28:20 -0400
> Subject: Re: [Users] Adding oVirt Node Fails
>
> Nicholas,
> The code I saw is testing for this file to verify it's a nods platform,
> and if it's missing the behaviour changes. So the code will try to
> unlink the file, which will give
> you this result in a mounted file.
>
> Sent from my Android phone. Please ignore typos.
>
> -----Original Message-----
> From: Nicholas Kesick [cybertimber2000 at hotmail.com]
> Received: Tuesday, 08 May 2012, 0:08
> To: mburns at redhat.com, abaron at redhat.com
> CC: oVirt Mailing List [users at ovirt.org]
> Subject: Re: [Users] Adding oVirt Node Fails
>
>
> Ayal, did you see something in the code that made you want me to try the sym-link to /etc/rhev-hypervisor-release?Mike, is there any harm in linking it? - Nick
> > Subject: Re: [Users] Adding oVirt Node Fails
> > From: mburns at redhat.com
> > To: abaron at redhat.com
> > CC: cybertimber2000 at hotmail.com; users at ovirt.org
> > Date: Sun, 6 May 2012 21:26:08 -0400
> >
> > On Sat, 2012-05-05 at 16:39 -0400, Ayal Baron wrote:
> > >
> > > ----- Original Message -----
> > > >
> > > >
> > > > > Date: Sat, 5 May 2012 12:29:20 +0300
> > > > > From: dfediuck at redhat.com
> > > > > To: cybertimber2000 at hotmail.com
> > > > > CC: mburns at redhat.com; users at ovirt.org
> > > > > Subject: Re: [Users] Adding oVirt Node Fails
> > > > >
> > > > > On 04/05/12 02:49, Nicholas Kesick wrote:
> > > > > > Fri, 27 Apr 2012 05:22:24 DEBUG instCert: try to delete old
> > > > > > certificates
> > > > > > Fri, 27 Apr 2012 05:22:24 DEBUG instCert: failed.
> > > > > > Traceback (most recent call last):
> > > > > > File "/usr/share/vdsm-reg/deployUtil.py", line 1133, in instCert
> > > > > > File "/usr/share/vdsm-reg/deployUtil.py", line 1098, in
> > > > > > pkiCleanup
> > > > > > OSError: [Errno 16] Device or resource busy:
> > > > > > '/etc/pki/vdsm/certs/cacert.pem'
> > > > >
> > > > >
> > > > > Nicholas,
> > > > > I think I got it;
> > > > > Please check if this file exists: '/etc/rhev-hypervisor-release'.
> > > > > If not, try to create a sym-link in this name to
> > > > > /etc/system-release,
> > > > > and restart vdsm-reg service.
> >
> > No, /etc/rhev-hypervisor-release should not exist. It doesn't have to.
> > We went through significant effort before the 3.0 release making sure
> > 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, Dictionnaire
> > > > > Philosophique (1764)
> > > >
> > > > Just to make sure I do it right, can you specify which you wanted
> > > > done on the node, and which you wanted on the manager? I have the
> > > > feeling you wanted it all done on the node.
> > >
> > > you are correct, all on node.
> > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Users mailing list
> > > > Users at ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > > _______________________________________________
> > > Users mailing list
> > > Users at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> >
> >
>
>
> Sent from my Android phone. Please ignore typos.
_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20120507/14c9a71a/attachment-0001.html>
More information about the Users
mailing list