Ticket #324 (new defect) — at Initial Version

Opened 16 years ago

Last modified 16 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

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 
Note: See TracTickets for help on using tickets.