Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 894)

Ticket Owner Reporter Resolution Summary
#949 desai https://www.google.com/accounts/o8/id?id=AItOawmQmn0B7szSWU05XNIWqq49So7cIisAOpI worksforme md5 function depricated under python 2.6.2
Description

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/rpmtools.py:24: 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 https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU worksforme Error in Ubuntu example
Description

http://docs.bcfg2.org/quickstart/ubuntu.html

# cat /var/lib/bcfg2/Packages/config.xml
<Sources>
  <APTSource>
    <Group>ubuntu-lucid</Group>
    <URL>http://us.archive.ubuntu.com/ubuntu</URL>
    <Version>lucid</Version>
    <Component>main</Component>
    <Component>multiverse</Component>
    <Component>restricted</Component>
    <Component>universe</Component>
    <Arch>amd64</Arch>
    <Arch>i386</Arch>
  </APTSource>
</Sources>

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/Core.py", line 171, in init_plugins
    self.plugins[plugin] = plug(self, self.datastore)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/Packages.py", line 829, in __init__
    self.cachepath, core.fam, self)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/Packages.py", line 734, in __init__
    Bcfg2.Server.Plugin.SingleXMLFileBacked.__init__(self, filename, fam)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugin.py", line 575, in __init__
    fam.AddMonitor(filename, self)
  File "/usr/lib/pymodules/python2.6/Bcfg2/Server/FileMonitor.py", 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 https://www.google.com/accounts/o8/id?id=AItOawlIm5EgGLqOqGEr7NnQwG0NBPWGKgiWMEo worksforme Man page for remove configuration elements (-r) option incorrect
Description

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.