On Tue, Jun 19, 2012 at 1:40 PM, Dan Kenigsberg <danken(a)redhat.com> wrote:
On Tue, Jun 19, 2012 at 12:08:09PM -0400, Ofer Schreiber wrote:
> Just checked this issue with latest ovirt-engine on F17 (with vdsm 4.10), and
didn't encounter this issue at all.
>
> Danken - any idea why?
Hey! I was the one soliciting ideas on how come this issue was not seen
until Trey bumped on it. ;-)
Maybe, just maybe, you host sees BOTH 4.10 and 4.9 ?
what does the following print on your python interpreter?
import yum
my = yum.YumBase()
my.pkgSack.searchNevra(name='rpm')
>
> ----- Original Message -----
> > On Mon, Jun 18, 2012 at 04:08:06PM -0500, Trey Dockendorf wrote:
> > > On Mon, Jun 18, 2012 at 3:25 PM, Dan Kenigsberg <danken(a)redhat.com>
> > > wrote:
> > >
> > > > On Mon, Jun 18, 2012 at 03:01:10PM -0500, Trey Dockendorf wrote:
> >
> > <snip>
> >
> > > >
> > > > You are right. And it is truly surprising that this bug hasn't
> > > > been
> > > > open since we've bumped vdsm version to 4.10.
> > > >
> > > > Would you open up this bug, and make it block
> > > > Bug 822145 - Tracker: oVirt 3.1 release
> > > > ?
> > > >
> > > > The bootstrapping code is a mess. It evolves by adding one ugly
> > > > patch
> > > > over the other. In that spirit, would the following patch solve
> > > > your
> > > > bootstrapping pains?
> >
> > I actually really really hate the code there, and spent some time
> > suggesting a less bad approach. Would you be kind enough to test
> >
http://gerrit.ovirt.org/#/c/5469/
> > and the 2 patches below it?
> >
> > > >
> > > > diff --git a/vds_bootstrap/vds_bootstrap.py
> > > > b/vds_bootstrap/vds_bootstrap.py
> > > > index 0df5023..4fcc040 100755
> > > > --- a/vds_bootstrap/vds_bootstrap.py
> > > > +++ b/vds_bootstrap/vds_bootstrap.py
> > > > @@ -76,11 +76,11 @@ rhel6based =
> > > > deployUtil.versionCompare(deployUtil.getOSVersion(), "6.0")
>= 0
> > > >
> > > > # TODO this is an infra-hackish heuristic for identifying Fedora
> > > > # drop as soon as possible
> > > > -fedorabased =
> > > > deployUtil.versionCompare(deployUtil.getOSVersion(), "16")
> > > > >= 0
> > > > +fedorabased =
> > > > deployUtil.versionCompare(deployUtil.getOSVersion(), "17")
> > > > >= 0
> > > >
> > > > if rhel6based:
> > > > VDSM_NAME = "vdsm"
> > > > - VDSM_MIN_VER = VDSM_NAME + "-4.9"
> > > > + VDSM_MIN_VER = VDSM_NAME + "-4.10"
> > > > KERNEL_VER = "2.6.32-.*.el6"
> > > > KERNEL_MIN_VER = 150
> > > > MINIMAL_SUPPORTED_PLATFORM = "6.0"
> > > >
> > > >
> > >
> > > Those changes worked, the install is now past that point and
> > > installing
> > > packages.
> > >
> > > Bug filed,
https://bugzilla.redhat.com/show_bug.cgi?id=833201
> >
> > Thanks!
> > _______________________________________________
> > Users mailing list
> > Users(a)ovirt.org
> >
http://lists.ovirt.org/mailman/listinfo/users
> >
From the python , you want to output of name='rpm' or
name='vdsm' ? I
figured the later but included both
On VDSM node
>> import yum
>> my = yum.YumBase()
>> my.pkgSack.searchNevra(name='rpm')
Loaded plugins: fastestmirror,
presto, priorities
Loading mirror speeds from cached hostfile
* base:
mirror.raystedman.net
* epel:
mirror.utexas.edu
* extras:
mirror.unl.edu
* updates:
mirror.raystedman.net
[<YumAvailablePackageSqlite : rpm-4.8.0-19.el6.x86_64 (0x28c49d0)>,
<YumAvailablePackageSqlite : rpm-4.8.0-19.el6_2.1.x86_64 (0x28c4b90)>]
>> my.pkgSack.searchNevra(name='vdsm')
[<YumAvailablePackageSqlite : vdsm-4.10.0-0.33.git40b2d55.el6.x86_64
(0x28c4cd0)>]
On the ovirt-engine host
>> import yum
>> my = yum.YumBase()
>> my.pkgSack.searchNevra(name='rpm')
Loaded plugins: fastestmirror,
priorities, versionlock
Loading mirror speeds from cached hostfile
* base:
mirror.steadfast.net
* epel:
mirror.steadfast.net
* extras:
mirror.steadfast.net
* updates:
mirror.anl.gov
[<YumAvailablePackageSqlite : rpm-4.8.0-19.el6.x86_64
(0x7f60110cedd0)>, <YumAvailablePackageSqlite :
rpm-4.8.0-19.el6_2.1.x86_64 (0x7f60110dde90)>]
>> my.pkgSack.searchNevra(name='vdsm')
[<YumAvailablePackageSqlite : vdsm-4.10.0-0.33.git40b2d55.el6.x86_64
(0x7f60110dd490)>]
Let me know if anything else would be helpful.
Thanks
- Trey