Custom Query (894 matches)


Show under each result:

Results (85 - 87 of 894)

Ticket Owner Reporter Resolution Summary
#1068 rcuza fixed Malformed URL in Packages/config.xml Throws Traceback

When there is a URl that returns a 404 error in the Packages/config.xml file, running bcfg2 on a client throws a traceback error.

Here is an example

Failed to read file
/var/lib/bcfg2/Packages/cache/http:@@[email protected]@[email protected]@[email protected]@[email protected]
Packages: File read failed; falling back to file download
Packages: Updating
Packages: Failed to fetch url
Packages: Updating
Packages: Failed to fetch url
Failed to read file
/var/lib/bcfg2/Packages/cache/http:@@[email protected]@[email protected]@[email protected]@[email protected]
Failed to update source
Traceback (most recent call last):
 File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/",
line 120, in setup_data
 File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/",
line 403, in read_files
   reader = gzip.GzipFile(fname)
 File "/usr/lib/python2.6/", line 79, in __init__
   fileobj = self.myfileobj =, mode or 'rb')
IOError: [Errno 2] No such file or directory:
'/var/lib/bcfg2/Packages/cache/http:@@[email protected]@[email protected]@[email protected]@[email protected]'
Loading experimental plugin(s): Packages

Expected result is no traceback. The "Failed to fetch" and 404 should be sufficient to get the sysadmin looking in the right direction.

Nice to have: suggested troubleshooting steps in error message.

#1067 rcuza fixed bcfg2-repo-validate throws up on missing aligator

On the malformed attached Metadata/groups.xml file, bcfg2.repo.validate throws up the following error:

# bcfg2-repo-validate 
Traceback (most recent call last):
  File "/usr/sbin/bcfg2-repo-validate", line 40, in <module>
    xdata = lxml.etree.parse("%s/Metadata/groups.xml" % repo)
  File "lxml.etree.pyx", line 2706, in lxml.etree.parse (src/lxml/lxml.etree.c:49958)
  File "parser.pxi", line 1500, in lxml.etree._parseDocument (src/lxml/lxml.etree.c:71797)
  File "parser.pxi", line 1529, in lxml.etree._parseDocumentFromURL (src/lxml/lxml.etree.c:72080)
  File "parser.pxi", line 1429, in lxml.etree._parseDocFromFile (src/lxml/lxml.etree.c:71175)
  File "parser.pxi", line 975, in lxml.etree._BaseParser._parseDocFromFile (src/lxml/lxml.etree.c:68173)
  File "parser.pxi", line 539, in lxml.etree._ParserContext._handleParseResultDoc (src/lxml/lxml.etree.c:64257)
  File "parser.pxi", line 625, in lxml.etree._handleParseResult (src/lxml/lxml.etree.c:65178)
  File "parser.pxi", line 565, in lxml.etree._raiseParseError (src/lxml/lxml.etree.c:64521)
lxml.etree.XMLSyntaxError: expected '>', line 13, column 1

The expected behaviour is for bcfg2-repo-validate to say "Yo phat fingers, you are missing a '>' on line 12. What were you thinking?"

#1066 desai wontfix bcfg2 insists on updating held packages

Some packages are put on hold on my system, but when I run:

bcfg2 -q -v -n

it still shows message In dryrun mode: suppressing entry installation for:

Note: See TracQuery for help on using queries.