Custom Query (894 matches)
Results (19 - 21 of 894)
Ticket | Owner | Reporter | Resolution | Summary |
---|---|---|---|---|
#648 | solj | Martin <[email protected]…> | fixed | Bundler: negate Attribute value |
Description |
I just noticed that negate="True" doesn't work while negate="true" does. This is the opposite of what is explained here: http://trac.mcs.anl.gov/projects/bcfg2/wiki/WritingSpecification#AbstractGroupTag Very tricky as my rule did the opposite of what it was supposed to do... |
|||
#649 | solj | solj | fixed | Portage Tool Driver traceback in 1.0pre2 |
Description |
Failed to instantiate tool Bcfg2.Client.Tools.Portage.Portage Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Client/Frame.py", line 80, in __init__ self.tools.append(tool(self.logger, setup, config)) File "/usr/lib64/python2.6/site-packages/Bcfg2/Client/Tools/Portage.py", line 20, in __init__ Bcfg2.Client.Tools.PkgTool.__init__(self, logger, cfg, setup) File "/usr/lib64/python2.6/site-packages/Bcfg2/Client/Tools/__init__.py", line 222, in __init__ self.RefreshPackages() File "/usr/lib64/python2.6/site-packages/Bcfg2/Client/Tools/Portage.py", line 34, in RefreshPackages self.installed[name] = version UnboundLocalError: local variable 'version' referenced before assignment |
|||
#650 | solj | kisielk | fixed | PseudoFam mode doesn't work, Gamin-related traceback |
Description |
Running without gamin or FAM installed: /usr/sbin/bcfg2-server:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead import logging, md5, select, socket, sys, time /usr/lib64/python2.6/site-packages/Bcfg2/Client/Tools/__init__.py:12: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module. import os, popen2, stat, sys, Bcfg2.Client.XML, time /usr/lib64/python2.6/site-packages/Bcfg2/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import sha Unexpected instantiation failure for plugin Base Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugins/Base.py", line 25, in __init__ self.core.fam) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 187, in __init__ fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Unexpected instantiation failure for plugin Bundler Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugins/Bundler.py", line 19, in __init__ Bcfg2.Server.Plugin.XMLDirectoryBacked.__init__(self, self.data, self.core.fam) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 187, in __init__ fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Unexpected instantiation failure for plugin Cfg Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 675, in __init__ self.AddDirectoryMonitor('') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 723, in AddDirectoryMonitor reqid = self.core.fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Failed to instantiate plugin Metadata Unexpected instantiation failure for plugin Pkgmgr Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 411, in __init__ XMLDirectoryBacked.__init__(self, self.data, self.core.fam) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 187, in __init__ fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Unexpected instantiation failure for plugin Rules Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 411, in __init__ XMLDirectoryBacked.__init__(self, self.data, self.core.fam) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 187, in __init__ fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Unexpected instantiation failure for plugin SSHbase Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Core.py", line 85, in init_plugins self.plugins[plugin] = plug(self, self.datastore) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugins/SSHbase.py", line 49, in __init__ self.core.fam) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Plugin.py", line 187, in __init__ fam.AddMonitor(name, self) File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 190, in AddMonitor handle = GaminEvent(handleID, path, 'exists') File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/FileMonitor.py", line 96, in __init__ action_map = {GAMCreated: 'created', GAMExists: 'exists', GAMChanged: 'changed', NameError: global name 'GAMCreated' is not defined Fatal error: No Metadata Plugin It seems the problem is that the PseudoFam? class instantiates a GaminEvent?, which requires a bunch of stuff imported from the gamin module. |
Note: See TracQuery
for help on using queries.