Modify

Ticket #481 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

bcfg2 fails to notice removal of some Cfg templates

Reported by: [email protected] Owned by: desai
Priority: major Milestone: Bcfg2 0.9.5 Release
Component: bcfg2-server Version:
Keywords: Cc:

Description

I've just removed some old Cfg-based configuration templates and replaced them with new TCheetah-based ones. The old files were removed and the new files were added in the same commit. The following is log output, consisting of a commit and subsequent run on hosts kecra and imed (the server runs on kecra)

Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry default.H_imed.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry /var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_imed.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Entry deletion completed
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Processed 1 gamin events in 0.102 seconds. 0 collapsed
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry default.H_cluster.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry /var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_cluster.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Entry deletion completed
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Processed 1 gamin events in 0.102 seconds. 0 collapsed
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Matched multiple entries for spec default.H_kecra.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Entry filenames are:
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): ['/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu', '/var/lib/bcfg2/Cfg/etc/apa
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry default.H_kecra.ischool.washington.edu
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Removing entry /var/lib/bcfg2/Cfg/etc/apache2/sites-available/default/default.H_kecra.ischool.washington.edu
Sep 20 13:31:26 kecra last message repeated 11 times
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Entry deletion completed
Sep 20 13:31:26 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Processed 1 gamin events in 0.110 seconds. 0 collapsed
Sep 20 13:31:27 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Processed 1 gamin events in 0.100 seconds. 0 collapsed
Sep 20 13:31:27 kecra last message repeated 5 times
Sep 20 13:31:27 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Processed 3 gamin events in 0.109 seconds. 0 collapsed
Sep 20 13:32:53 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Generated config for imed.ischool.washington.edu in 0.122122049332 seconds
Sep 20 13:32:56 imed identd[30915]: started 
Sep 20 13:33:03 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Client imed.ischool.washington.edu reported state clean
Sep 20 13:35:10 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Generated config for imed.ischool.washington.edu in 0.396528959274 seconds
Sep 20 13:35:13 imed identd[30954]: started 
Sep 20 13:35:19 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Client imed.ischool.washington.edu reported state clean
Sep 20 13:36:03 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Client kecra.ischool.washington.edu requested nonexistent bundle trac
Sep 20 13:36:03 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): ConfigFile /etc/apache2/sites-available/default served by multiple generators: Cfg, TCheetah
Sep 20 13:36:03 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Failed to bind entry: ConfigFile /etc/apache2/sites-available/default
Sep 20 13:36:03 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Generated config for kecra.ischool.washington.edu in 0.117414951324 seconds
Sep 20 13:36:21 kecra bcfg2-server[9a2c22595a8261462ed17e7fc9df49cc4d7ba77f] (SVN r1826): Client kecra.ischool.washington.edu reported state dirty

In the filesystem, however, there is no corresponding file in the Cfg directory- the server is inconsistent with the state of the filesystem..

That one line about matches for entries also seems a bit off..

Attachments

Change History

comment:1 Changed 15 years ago by desai

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

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.