Modify

Ticket #639 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

New to bcfg2 notes/questions from somekool (at) gmail (dot) com

Reported by: dclark Owned by: desai
Priority: minor Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-doc Version:
Keywords: Cc:

Description

somekool is on #bcfg2 as somekool, just recording this for posterity; it's also up at http://pastebin.ca/1316219

BCFG2 errors messages I have trouble with;

- the page http://trac.mcs.anl.gov/projects/bcfg2/wiki/ErrorMessages is not so descriptive into finding causes/solutions
- many clients return the following error everytime bcfg2 is run
no server x509 fingerprint; no server verification performed!

- Failed to locate basefile for /path/to/foo
i guess this one will start making sens to me once 

- Failed to bind entry: <Type> <item>
this seems to be showing up when mappings returns nothing.
will it show for each items that are unused? if so, it is a warning, that should be specified.
if not, it does not say anything about how to fix

- NotFound: cannot find 'foobar'
- Failed to template /path/to/foo

I just realized those two are working together. seems like foobar is a variable not found in the template for /path/to/foo
but the message could be better. on one line. something like

Failed to template /path/to/foo : variable not found in file PluginDir/path/to/foo/template at line XY


--------


see python backtrace below, why should the info file by a directory?

[[email protected] bcfg2]# bcfg2-info
Filesystem check 1 of 25
Processed 197 gamin events in 2.844 seconds. 0 collapsed
Filesystem check 2 of 25
Processed 86 gamin events in 0.144 seconds. 0 collapsed
Filesystem check 3 of 25
Processed 280 gamin events in 0.649 seconds. 0 collapsed
Filesystem check 4 of 25
Processed 257 gamin events in 0.638 seconds. 0 collapsed
Filesystem check 5 of 25
error in handling of gamin event for info
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Core.py", line 176, in Service
    self.handles[event.requestID].HandleEvent(event)
  File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Plugins/TGenshi.py", line 137, in HandleEvent
    self.entries[identifier].HandleEvent(event)
  File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Plugins/TGenshi.py", line 37, in HandleEvent
    for line in open(self.name + '/info').readlines():
IOError: [Errno 20] Not a directory: '/etc/httpd/conf.d/mongrel.conf/info'
Not creating template for /etc/httpd/conf.d/mongrel.conf/template
Processed 55 gamin events in 0.223 seconds. 0 collapsed

Attachments

Change History

comment:1 Changed 14 years ago by solj

  • Status changed from new to closed
  • Resolution set to fixed
  • Milestone set to Bcfg2 1.0 Release

These should all be fixed now.

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.