Custom Query (894 matches)


Show under each result:

Results (40 - 42 of 894)

Ticket Owner Reporter Resolution Summary
#451 desai steeves fixed XML comments break bcfg2 client

Running 0.9.4pre2 on RHEL4, with lxml 0.9.2.

In /var/lib/bcfg2/Deps/bcfg2-server.xml, I was trying to put in a couple of comments to identify packages that are dependencies of the bcfg2-server reporting engine, and which are dependencies of the bcfg2-admin viz command, but this breaks the bcfg2 client. The bcfg2-server.xml file that I was trying to use reads

[[email protected] Deps]$ cat ./bcfg2-server.xml 
<Dependencies priority='0'>
    <Package name='bcfg2-server'>
        <Package name='python-cheetah'/>
        <Package name='gamin-python'/>
    <!--  Packages for the bcfg2 server reporting engine.  -->
        <Package name='httpd'/>
        <Package name='sqlite3'/>
        <Package name='pysqlite2'/>
        <Package name='django'/>
        <Package name='mod_python'/>
    <!--  Packages for the bcfg2-admin viz command.  -->
        <Package name='graphviz'/>
[[email protected] Deps]$ bcfg2-repo-validate 

The error that shows up in /var/log/messages with this config file (from bcfg2 -q -v -n) reads

Jun 18 15:22:16 vlsbcfg2 bcfg2-server[10155]: Client called function GetConfig with wrong argument count Traceback (most recent call last):   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/", line 184, in _cobalt_marshalled_dispatch     response = self._dispatch(method, (address, ) + params)   File "/usr/lib64/python2.3/", line 407, in _dispatch     return func(*params)   File "/usr/sbin/bcfg2-server", line 187, in Bcfg2GetConfig     return tostring(self.Core.BuildConfiguration(client))   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/", line 308, in BuildConfiguration     prereqs = self.plugins['Deps'].GeneratePrereqs(structures, meta)   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Plugins/", line 94, in GeneratePrereqs     lxml.etree.SubElement(newstruct, tag, name=name)   File "etree.pyx", line 1139, in etree.SubElement   File "etree.pyx", line 1535, in etree._getNsTag   File "etree.pyx", line 1526, in etree._utf8 TypeError: Argument must be strin
#389 desai [email protected] fixed Usability issues with Tool Driver sets.

Given that there are at least two drivers that conflict with each other (RPM and Yum) it would be nice to have the following features:

  1. ability to get a list of available drivers: e.g. bcfg2 -D help could spit out the list of drivers for that client.
  2. ability to restrict the drivers used via /etc/bcfg2.conf on the client. This would allow people to select between RPM and Yum without specifying -D on the command line all the time.
  3. Log warnings when -D arguments are `wrong' (syntactically wrong, no such driver exists etc.)
#512 desai [email protected] fixed bcfg2-server should not update clients.xml

It would be nice to be able to manage the clients.xml file via a version control system. Right now this will not work, since the pingtime field gets updated (and the file contents restored to whatever is in the server memory).

Note: See TracQuery for help on using queries.