Modify

Ticket #324 (closed defect: fixed)

Opened 15 years ago

Last modified 15 years ago

bcfg2-server setup

Reported by: lueningh Owned by: desai
Priority: minor Milestone: Bcfg2 0.9.0 Release
Component: bcfg2-server Version:
Keywords: Cc:

Description (last modified by desai) (diff)

I'm a brand-new user who doesn't know anything about bcfg2, and I decided to try following the new quickstart guide that Cory hasn't written yet. I installed the packages, ran bcfg2-admin init, started the server, and tried running the client on a host in dryrun mode to see what it would have to say. The client failed, and I got a traceback on the server:

Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Bound to port 6789 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Creating new statistics file /var/lib/bcfg2/etc/statistics.xml 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Failed to load Bundle repository 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Failed to instantiate plugin Bundler 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Failed to load Base repository 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Failed to instantiate plugin Base 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Plugin Bundler not loaded. Not enabled as a Structure 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Plugin Base not loaded. Not enabled as a Structure 
Dec  7 20:26:51 tg-v096 bcfg2-server[23854]: Processed 14 fam events in 0.103 seconds. 0 coalesced 
Dec  7 20:27:27 tg-v096 bcfg2-server[23854]: error in GetStructures Traceback (most recent call last):   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Core.py", line 297, in BuildConfiguration     
structures = self.GetStructures(meta)   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Core.py", line 260, in GetStructures
     [struct.BuildStructures(metadata) for struct in self.structures]) TypeError: reduce() of empty sequence with no initial value 

Attachments

Change History

comment:1 Changed 15 years ago by lueningh

  • Priority changed from major to minor

A comment - doing a mkdir /var/lib/bcfg2/Bundler "fixed" this for me.

comment:2 Changed 15 years ago by desai

  • Status changed from new to assigned

The first part of this was fixed in [7a7baf22994d8c7e007adbdb6d59ca8eafb38bf3] (SVN r2577).

comment:3 Changed 15 years ago by desai

  • Description modified (diff)

comment:4 Changed 15 years ago by desai

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

comment:5 Changed 15 years ago by desai

  • Milestone set to Bcfg2 0.9.0 Release

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.