Modify

Ticket #274 (closed defect: fixed)

Opened 17 years ago

Last modified 16 years ago

Server crashes when the generators or structures line is empty in config file

Reported by: thomas Owned by: desai
Priority: minor Milestone: Bcfg2 0.8.7 Release (LISA)
Component: bcfg2-server Version:
Keywords: Cc:

Description

I use bcfg2 with only one plugin which takes care of the generation and buildstructures parts. Problem is that the server is unable to parse the following config file snippet:

structures = MyPlugin? generators =

The error message is: Traceback (most recent call last):

File "/usr/bin/bcfg2-server", line 218, in ?

BSERV = Bcfg2Serv(SSETUP)

File "/usr/bin/bcfg2-server", line 81, in init

self.Core = Core(setup, setupconfigfile?)

File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 236, in init

mod = getattr(import("Bcfg2.Server.Plugins.%s" %

ValueError?: Empty module name

If I write:

structures = MyPlugin? generators = MyPlugin?

it works just fine.

Attachments

Change History

comment:1 Changed 17 years ago by desai

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

comment:2 Changed 16 years ago by desai

  • Milestone set to Bcfg2 0.8.7 Release (LISA)

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.