Modify ↓
Ticket #324 (closed defect: fixed)
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:2 Changed 16 years ago by desai
- Status changed from new to assigned
The first part of this was fixed in [7a7baf22994d8c7e007adbdb6d59ca8eafb38bf3] (SVN r2577).
comment:4 Changed 16 years ago by desai
- Status changed from assigned to closed
- Resolution set to fixed
Fixed in [84dfc8ea1451e679f4cefccd990024a1a10fbf72] (SVN r2580)
Note: See
TracTickets for help on using
tickets.
A comment - doing a mkdir /var/lib/bcfg2/Bundler "fixed" this for me.