From tmiller at hcjb.org Mon Jan 6 17:09:46 2014 Content-Type: multipart/mixed; boundary="===============0985382288887506464==" MIME-Version: 1.0 From: Ted Miller To: users at ovirt.org Subject: [Users] tuned profile for Centos hosts -- new Bugzilla or Regression Date: Mon, 06 Jan 2014 22:09:44 +0000 Message-ID: --===============0985382288887506464== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable --_000_a584ee1c0d4e40a2ae295cf23111628bDM2PR05MB320namprd05pro_ Content-Type: text/plain; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable I posted a script (a while back) to get oVirt running on Centos hosts. One of the items in it has to do with what "tuned" profile to use. At the = =3D time I first ran into it, this was a fatal error. It is now just a warning= =3D , so it does not prevent installing a host. But, as a warning, a lot of pe= =3D ople are probably missing it. When using Centos 6 as the host OS, the script tries to install a "rhs-virt= =3D ualization" profile. That profile is not included in Centos. I substitute= =3D d the "virtual-host" profile. I believe that this may be a regression as a result of Bugzilla 987293, where "rhs-virtualizat= io=3D n" was substituted for "virtual-host" for RHEV + RHS. I am guessing that w= =3D hatever is used as a switch to determine RHEV + RHS is also shoving Centos = =3D into that same path, which is not appropriate. My suggestion would be to write the script so that it uses "rhs-virtualizat= =3D ion" when present, and if it is not present, then it falls back to "virtual= =3D -host". (I don't know what (if any) differences there are between the two = =3D profiles.) Should I open a new bug, make a comment on 987293, or take some other path? Ted Miller --_000_a584ee1c0d4e40a2ae295cf23111628bDM2PR05MB320namprd05pro_ Content-Type: text/html; charset=3D"us-ascii" Content-Transfer-Encoding: quoted-printable
I posted a script (a while back) to get oVirt running on Centos hosts.

One of the items in it has to do with what "tuned" profile to use= =3D .  At the time I first ran into it, this was a fatal error.  It i= =3D s now just a warning, so it does not prevent installing a host.  But, = =3D as a warning, a lot of people are probably missing it.

When using Centos 6 as the host OS, the script tries to install a "rhs= =3D -virtualization" profile.  That profile is not included in Centos= =3D .  I substituted the "virtual-host" profile.

I believe that this may be a regression as a result of Bugzilla 987293, where "rhs-virtualization" was substituted for= =3D "virtual-host" for RHEV + RHS.  I am guessing that what= =3D ever is used as a switch to determine RHEV + RHS is also shoving Centos= =3D into that same path, which is not appropriate.

My suggestion would be to write the script so that it uses "rhs-virtua= =3D lization" when present, and if it is not present, then it falls back t= =3D o "virtual-host".  (I don't know what (if any) differences t= =3D here are between the two profiles.)

Should I open a new bug, make a comment on 987293, or take some other path?= =3D

Ted Miller

--_000_a584ee1c0d4e40a2ae295cf23111628bDM2PR05MB320namprd05pro_-- --===============0985382288887506464== Content-Type: multipart/alternative MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="attachment.bin" LS1fMDAwX2E1ODRlZTFjMGQ0ZTQwYTJhZTI5NWNmMjMxMTE2MjhiRE0yUFIwNU1CMzIwbmFtcHJk MDVwcm9fCkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXMtYXNjaWkiCkNvbnRl bnQtVHJhbnNmZXItRW5jb2Rpbmc6IHF1b3RlZC1wcmludGFibGUKCkkgcG9zdGVkIGEgc2NyaXB0 IChhIHdoaWxlIGJhY2spIHRvIGdldCBvVmlydCBydW5uaW5nIG9uIENlbnRvcyBob3N0cy4KCk9u ZSBvZiB0aGUgaXRlbXMgaW4gaXQgaGFzIHRvIGRvIHdpdGggd2hhdCAidHVuZWQiIHByb2ZpbGUg dG8gdXNlLiAgQXQgdGhlID0KdGltZSBJIGZpcnN0IHJhbiBpbnRvIGl0LCB0aGlzIHdhcyBhIGZh dGFsIGVycm9yLiAgSXQgaXMgbm93IGp1c3QgYSB3YXJuaW5nPQosIHNvIGl0IGRvZXMgbm90IHBy ZXZlbnQgaW5zdGFsbGluZyBhIGhvc3QuICBCdXQsIGFzIGEgd2FybmluZywgYSBsb3Qgb2YgcGU9 Cm9wbGUgYXJlIHByb2JhYmx5IG1pc3NpbmcgaXQuCgpXaGVuIHVzaW5nIENlbnRvcyA2IGFzIHRo ZSBob3N0IE9TLCB0aGUgc2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MgYSBzd2l0Y2ggdG8gZGV0ZXJtaW5lIFJI RVYgJiM0MzsgUkhTIGlzIGFsc28gc2hvdmluZyBDZW50b3M9CiBpbnRvIHRoYXQgc2FtZSBwYXRo LCB3aGljaCBpcyBub3QgYXBwcm9wcmlhdGUuPGJyPgo8YnI+Ck15IHN1Z2dlc3Rpb24gd291bGQg YmUgdG8gd3JpdGUgdGhlIHNjcmlwdCBzbyB0aGF0IGl0IHVzZXMgJnF1b3Q7cmhzLXZpcnR1YT0K bGl6YXRpb24mcXVvdDsgd2hlbiBwcmVzZW50LCBhbmQgaWYgaXQgaXMgbm90IHByZXNlbnQsIHRo ZW4gaXQgZmFsbHMgYmFjayB0PQpvICZxdW90O3ZpcnR1YWwtaG9zdCZxdW90Oy4mbmJzcDsgKEkg ZG9uJ3Qga25vdyB3aGF0IChpZiBhbnkpIGRpZmZlcmVuY2VzIHQ9CmhlcmUgYXJlIGJldHdlZW4g dGhlIHR3byBwcm9maWxlcy4pPGJyPgo8YnI+ClNob3VsZCBJIG9wZW4gYSBuZXcgYnVnLCBtYWtl IGEgY29tbWVudCBvbiA5ODcyOTMsIG9yIHRha2Ugc29tZSBvdGhlciBwYXRoPz0KPGJyPgo8YnI+ ClRlZCBNaWxsZXI8YnI+Cjxicj4KPC9kaXY+CjwvYm9keT4KPC9odG1sPgoKLS1fMDAwX2E1ODRl ZTFjMGQ0ZTQwYTJhZTI5NWNmMjMxMTE2MjhiRE0yUFIwNU1CMzIwbmFtcHJkMDVwcm9fLS0K --===============0985382288887506464==-- From sander at grendelman.com Wed Jan 8 03:02:28 2014 Content-Type: multipart/mixed; boundary="===============7804287394383583246==" MIME-Version: 1.0 From: Sander Grendelman To: users at ovirt.org Subject: Re: [Users] tuned profile for Centos hosts -- new Bugzilla or Regression Date: Wed, 08 Jan 2014 09:02:27 +0100 Message-ID: In-Reply-To: a584ee1c0d4e40a2ae295cf23111628b@DM2PR05MB320.namprd05.prod.outlook.com --===============7804287394383583246== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable I did not run into this problem at all ( neither on my cos6.4 nor on my 6.5 hosts ). The "virtual-host" profile was chosen automatically, installation of vdsm was literally as simple as adding the following lines in the %post section of my kickstart file: rpm -ivh http://ovirt.org/releases/ovirt-release-el.noarch.rpm rpm -ivh http://mirror.1000mbps.com/fedora-epel/6/i386/epel-release-6-8.noa= rch.rpm yum -y update epel-release yum -y install vdsm On Mon, Jan 6, 2014 at 11:09 PM, Ted Miller wrote: > I posted a script (a while back) to get oVirt running on Centos hosts. > > One of the items in it has to do with what "tuned" profile to use. At the > time I first ran into it, this was a fatal error. It is now just a warni= ng, > so it does not prevent installing a host. But, as a warning, a lot of > people are probably missing it. > > When using Centos 6 as the host OS, the script tries to install a > "rhs-virtualization" profile. That profile is not included in Centos. I > substituted the "virtual-host" profile. > > I believe that this may be a regression as a result of Bugzilla 987293, > where "rhs-virtualization" was substituted for "virtual-host" for RHEV + > RHS. I am guessing that whatever is used as a switch to determine RHEV + > RHS is also shoving Centos into that same path, which is not appropriate. > > My suggestion would be to write the script so that it uses > "rhs-virtualization" when present, and if it is not present, then it falls > back to "virtual-host". (I don't know what (if any) differences there are > between the two profiles.) > > Should I open a new bug, make a comment on 987293, or take some other pat= h? > > Ted Miller > > > _______________________________________________ > Users mailing list > Users(a)ovirt.org > http://lists.ovirt.org/mailman/listinfo/users > --===============7804287394383583246==--