Modify

Ticket #556 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

bcfg2-info tracebacks

Reported by: gogolok Owned by: desai
Priority: major Milestone: Bcfg2 0.9.6 Release
Component: bcfg2-server Version:
Keywords: bcfg-info Cc:

Description

I haven't set up bcfg2.

$ bcfg2-info
Creating new statistics file /var/lib/bcfg2/etc/statistics.xml
Failed to load Bundle repository
Failed to instantiate plugin Bundler
Failed to load Base repository
Failed to instantiate plugin Base
Failed to load SSHbase repository from /var/lib/bcfg2/SSHbase
[Errno 2] No such file or directory: '/var/lib/bcfg2/SSHbase'
Failed to instantiate plugin SSHbase
Failed to open directory /var/lib/bcfg2/Cfg/
Failed to load Pkgmgr indices
Failed to instantiate plugin Pkgmgr
Failed to load Rules indices
Failed to instantiate plugin Rules
Unexpected instantiation failure for plugin Metadata
Traceback (most recent call last):
  File "/home/gogo/PREFIX//lib/python2.5/site-packages/Bcfg2/Server/Core.py", line 238, in __init__
    self.plugins[plugin] = struct(self, self.datastore)
  File "/home/gogo/PREFIX//lib/python2.5/site-packages/Bcfg2/Server/Plugins/Metadata.py", line 69, in __init__
    core.fam.AddMonitor("%s/%s" % (self.data, "groups.xml"), self)
  File "/home/gogo/PREFIX//lib/python2.5/site-packages/Bcfg2/Server/Core.py", line 134, in AddMonitor
    mode = os.stat(path)[stat.ST_MODE]
OSError: [Errno 2] No such file or directory: '/var/lib/bcfg2/Metadata/groups.xml'
Traceback (most recent call last):
  File "/home/gogo/PREFIX/bin//bcfg2-info", line 279, in <module>
    setup['password'], setup['svn'])
  File "/home/gogo/PREFIX/bin//bcfg2-info", line 29, in __init__
    Bcfg2.Server.Core.Core.__init__(self, repo, struct, gens, passwd, svn)
  File "/home/gogo/PREFIX//lib/python2.5/site-packages/Bcfg2/Server/Core.py", line 244, in __init__
    self.metadata = self.plugins['Metadata']
KeyError: 'Metadata'
>>>  

Attachments

Change History

comment:1 Changed 14 years ago by desai

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

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.