No subject


Thu May 24 20:21:22 EDT 2012


figured the later but included both

On VDSM node

>>> import yum
>>> my =3D yum.YumBase()
>>> my.pkgSack.searchNevra(name=3D'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=3D'vdsm')
[<YumAvailablePackageSqlite : vdsm-4.10.0-0.33.git40b2d55.el6.x86_64
(0x28c4cd0)>]


On the ovirt-engine host

>>> import yum
>>> my =3D yum.YumBase()
>>> my.pkgSack.searchNevra(name=3D'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=3D'vdsm')
[<YumAvailablePackageSqlite : vdsm-4.10.0-0.33.git40b2d55.el6.x86_64
(0x7f60110dd490)>]

Let me know if anything else would be helpful.

Thanks
- Trey


More information about the Users mailing list