[Users] oVirt 3.1 - Error adding host , incorrect vdsm version

Dan Kenigsberg danken at redhat.com
Wed Jun 20 02:58:57 UTC 2012


On Tue, Jun 19, 2012 at 02:43:14PM -0500, Trey Dockendorf wrote:
> On Tue, Jun 19, 2012 at 1:40 PM, Dan Kenigsberg <danken at 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')
> >
> 
> >From the python , you want to output of name='rpm' or name='vdsm' ?  I
> figured the later but included both

arghh s/rpm/vdsm/

Actually, this question was directed at Ofer. I was wodering how come
the untouched code was working in his environment.

> 
> 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.

Well, I could use yet another verification/review of my
http://gerrit.ovirt.org/#/c/5469/

Thanks,

Dan.



More information about the Users mailing list