[Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

Yan Gao ygao at novell.com
Mon Jun 8 07:15:55 UTC 2009


Hi Dejan,
On Tue, 2009-06-02 at 13:02 +0200, Dejan Muhamedagic wrote:
> Hi Yan,
> 
> On Mon, Jun 01, 2009 at 03:00:52PM +0800, Yan Gao wrote:
> > On Wed, 2009-05-27 at 15:46 +0200, Andrew Beekhof wrote:
> > > I'll have to defer to Yan Gao on this one.
> > > I'm not familiar with the GUI's requirements.
> > :-)
> > 
> > > 
> > > On Tue, May 26, 2009 at 1:05 PM, Florian Haas <florian at linbit.com> wrote:
> > > > Andrew,
> > > >
> > > > this is probably of minor importance, but the CentOS 5 repo hosted on
> > > > download.opensuse.org seems to have a dependency issue pertaining to the
> > > >  pacemaker-mgmt-client package:
> > > >
> > > > yum install pacemaker-mgmt-client
> > > > Loaded plugins: fastestmirror
> > > > Loading mirror speeds from cached hostfile
> > > >  * base: ftp.halifax.rwth-aachen.de
> > > >  * updates: ftp.hosteurope.de
> > > >  * addons: ftp.hosteurope.de
> > > >  * extras: ftp.hosteurope.de
> > > > Excluding Packages from CentOS-5 - Extras
> > > > Finished
> > > > Setting up Install Process
> > > > Parsing package install arguments
> > > > Resolving Dependencies
> > > > --> Running transaction check
> > > > ---> Package pacemaker-mgmt-client.x86_64 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > --> Processing Dependency: PyXML for package: pacemaker-mgmt-client
> > > > --> Processing Dependency: pygtk2 for package: pacemaker-mgmt-client
> > > > ---> Package pacemaker-mgmt-client.i386 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > --> Running transaction check
> > > > ---> Package pacemaker-mgmt-client.x86_64 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > ---> Package pacemaker-mgmt-client.i386 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > ---> Package pygtk2.x86_64 0:2.10.1-12.el5 set to be updated
> > > > --> Processing Dependency: python-numeric for package: pygtk2
> > > > --> Processing Dependency: pycairo for package: pygtk2
> > > > ---> Package PyXML.x86_64 0:0.8.4-4 set to be updated
> > > > --> Running transaction check
> > > > ---> Package python-numeric.x86_64 0:23.7-2.2.2 set to be updated
> > > > ---> Package pycairo.x86_64 0:1.2.0-1.1 set to be updated
> > > > ---> Package pacemaker-mgmt-client.x86_64 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > ---> Package pacemaker-mgmt-client.i386 0:1.99.1-2.1 set to be updated
> > > > --> Processing Dependency: python-lxml for package: pacemaker-mgmt-client
> > > > --> Finished Dependency Resolution
> > > > pacemaker-mgmt-client-1.99.1-2.1.i386 from server_ha-clustering has
> > > > depsolving problems
> > > >  --> Missing Dependency: python-lxml is needed by package
> > > > pacemaker-mgmt-client-1.99.1-2.1.i386 (server_ha-clustering)
> > > > pacemaker-mgmt-client-1.99.1-2.1.x86_64 from server_ha-clustering has
> > > > depsolving problems
> > > >  --> Missing Dependency: python-lxml is needed by package
> > > > pacemaker-mgmt-client-1.99.1-2.1.x86_64 (server_ha-clustering)
> > > > Error: Missing Dependency: python-lxml is needed by package
> > > > pacemaker-mgmt-client-1.99.1-2.1.x86_64 (server_ha-clustering)
> > > > Error: Missing Dependency: python-lxml is needed by package
> > > > pacemaker-mgmt-client-1.99.1-2.1.i386 (server_ha-clustering)
> > > >
> > > > I don't know if python-lxml is "supposed" to be included in CentOS 5,
> > > > but if it isn't, you might want to toss it into the repo along with your
> > > > own packages. 
> > I wasn't intending to put python-lxml into the repository because I
> > thought that would mess the _HA_ repo . Moreover most distributions
> > include this package. Even for CentOS, people could find it somewhere I
> > thought...
> > 
> > > Or remove/correct the dependency (if that's possible).
> > python-lxml is required by GUI now. Maybe I should try to make it
> > optional in codes, and remove the dependency in rpm for some
> > distributions. Although that would make a different experience  without
> > python-lxml. 
> 
> Are you sure that this is a good decision? Is it really that
> difficult to find that package for other distributions? I don't
> know which functionality depends on python-lxml,
With python-lxml, the GUI does validation in the front-end before
updating a user's modification to CIB. If it's not valid against the
schema, the GUI will give the detailed reason. 
While without it, the GUI will easily print "Updated CIB does not
validate against pacemaker-1.0 schema/dtd" which is given by CIB daemon.
A bit confusing:-)

>  but if it makes
> the GUI different enough, perhaps it would be good to insist on
> it. (How enough is enough, I'll leave that to you :)
:-) I can understand people would like to add a repo via zypper/yum and
install packages from there with everything resolved. 

So for the distributions that don't include python-lxml (As far as I
know: RHEL/CentOS 4&5). I prefer removing the dependency. Even though,
whenever people find and install python-lxml, they'll get the same
experience. 

While for other distributions that surely include python-lxml, I'll
leave the dependency in rpm/deb, and it behaves just like before.

Your opinion?
Thanks,
-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com

Novell, Inc.
Making IT Work As One™





More information about the Pacemaker mailing list