Custom Query (894 matches)


Show under each result:

Results (46 - 48 of 894)

Ticket Owner Reporter Resolution Summary
#949 desai worksforme md5 function depricated under python 2.6.2

For testing purposes we needed to get an RHEL6 beta server running, which uses python 2.6.2 stock. when running bcfg2 client on the box against our server we get the following message.

/usr/lib/python2.6/site-packages/Bcfg2/Client/Tools/ DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5

you may need to look at putting in some logic that looks at python version and uses the proper module accordingly.

#1041 desai worksforme Error in Ubuntu example

# cat /var/lib/bcfg2/Packages/config.xml

Gives the following with bcfg2-repo-validate:

Failed to open directory /var/lib/bcfg2/Base/
Unexpected instantiation failure for plugin Packages
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/", line 171, in init_plugins
    self.plugins[plugin] = plug(self, self.datastore)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/", line 829, in __init__
    self.cachepath, core.fam, self)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/", line 734, in __init__
    Bcfg2.Server.Plugin.SingleXMLFileBacked.__init__(self, filename, fam)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/", line 575, in __init__
    fam.AddMonitor(filename, self)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/", line 279, in AddMonitor
    mode = os.stat(path)[stat.ST_MODE]
OSError: [Errno 2] No such file or directory: '/var/lib/bcfg2/Packages/sources.xml'

When renamed to Packages/sources.xml the error changes to:

ERROR: /var/lib/bcfg2/Packages/sources.xml fails to verify:
  /var/lib/bcfg2/Packages/sources.xml:2: element APTSource: Schemas validity error : Element 'APTSource': This element is not expected. Expected is one of (
  Group, Client, Source, Sources ).
  /var/lib/bcfg2/Packages/sources.xml fails to validate
Serverless plugins encountered errors, skipping server plugins
1 errors
#1054 desai worksforme Man page for remove configuration elements (-r) option incorrect

The man page for bcfg2 states the following:

Cause bcfg2 to remove extra configuration elements it detects. Mode is one of all, Services,  or Packages. All removes all entries. Likewise, Services and Packages remove only the extra configuration elements of the respective type.

This indicates that the Services and Packages command line params should be capitalized, however bcfg2 does not recognize these options:

Got unknown argument Packages for -r

The man page should be fixed to indicate that Services and Packages are lowercase.

Note: See TracQuery for help on using queries.