Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (85 - 87 of 894)

Ticket Owner Reporter Resolution Summary
#1068 https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc rcuza fixed Malformed URL in Packages/config.xml Throws Traceback
Description

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
http://security.debian.org/debian/dists/squeeze/updates/main/binary-amd64/Packages.gz
Packages: Failed to fetch url
http://security.debian.org/debian/dists/squeeze/updates/main/binary-amd64/Packages.gz.
code=404
Packages: Updating
http://security.debian.org/debian/dists/squeeze/updates/main/binary-i386/Packages.gz
Packages: Failed to fetch url
http://security.debian.org/debian/dists/squeeze/updates/main/binary-i386/Packages.gz.
code=404
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/Packages.py",
line 120, in setup_data
   self.read_files()
 File "/usr/lib/pymodules/python2.6/Bcfg2/Server/Plugins/Packages.py",
line 403, in read_files
   reader = gzip.GzipFile(fname)
 File "/usr/lib/python2.6/gzip.py", line 79, in __init__
   fileobj = self.myfileobj = __builtin__.open(filename, 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 https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc rcuza fixed bcfg2-repo-validate throws up on missing aligator
Description

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 https://www.google.com/accounts/o8/id?id=AItOawkPb0RtPyicSdU7pLcv1UrX-yCh-YjkOwU wontfix bcfg2 insists on updating held packages
Description

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.