Modify

Ticket #643 (closed defect: fixed)

Opened 13 years ago

Last modified 12 years ago

Error/warn on xml dupes

Reported by: anonymous Owned by: solj
Priority: major Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:

Description

Currently it is possible for duplicate - but different and conflicting - duplicates to exist in most (any?) config file.

e.g. Pkgmgr/distro.xml

<Package name='kernel'>

<Instance version='2.6.19' release='1.el5' arch='i686' />

</Package> <Package name='kernel'>

<Instance version='2.6.18' release='53.el5' arch='i686' verify_flags='nomtime' /> <Instance version='2.6.18' release='92.el5' arch='i686' verify_flags='nomtime'/>

</Package>

The validator does not catch this, and one of the two sets of package instances is chosen by bcfg2. The first one last time I checked, but this might be random.

Attachments

Change History

comment:1 Changed 13 years ago by solj

  • Owner changed from desai to solj
  • Status changed from new to assigned

comment:2 Changed 13 years ago by solj

  • Milestone changed from Bcfg2 0.9.6.1 (Reporting System Bugfixes) to Bcfg2 1.0 Release

comment:3 Changed 12 years ago by solj

  • Status changed from assigned to closed
  • Resolution set to fixed

This should be resolved in [99b7eba28856d43d1c7a70551d0974e4a266e5f0] (SVN r5220). You can check for duplicates by running bcfg2-repo-validate.

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.