Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 894)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Owner Reporter Resolution Summary
#705 solj m4z <[email protected]…> fixed unicode german umlaut client error
Description

This is revision 5399.

# bcfg2 -qenv
Traceback (most recent call last):
  File "/usr/local/bin/bcfg2", line 300, in <module>
    client.run()
  File "/usr/local/bin/bcfg2", line 242, in run
    self.config = Bcfg2.Client.XML.XML(rawconfig)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML
    parser.feed(text)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed
    self._parser.Parse(data, 0)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 21094: ordinal not in range(128)
# bcfg2 -qenvc ~/`hostname`.`date "+%F_%H-%M"`.xml
Traceback (most recent call last):
  File "/usr/local/bin/bcfg2", line 300, in <module>
    client.run()
  File "/usr/local/bin/bcfg2", line 242, in run
    self.config = Bcfg2.Client.XML.XML(rawconfig)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 963, in XML
    parser.feed(text)
  File "/usr/lib/python2.5/xml/etree/ElementTree.py", line 1245, in feed
    self._parser.Parse(data, 0)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xc4' in position 21094: ordinal not in range(128)
# head -c 21100 <hostname>.<date>.xml | tail -c 20 | tail -n1; echo ""
" Letzte Änder
# cat /etc/bcfg2.conf
[communication]
protocol = xmlrpc/ssl
password = ...
user = ...

[components]
bcfg2 = https://...:6789
encoding = UTF-8
# 
#707 solj m4z <[email protected]…> fixed Unexpected instantiation failure for plugin Packages
Description

For one repository, I get an error (all others work fine):

# bcfg2-server -dv | tee -a /var/log/bcfg2-server.log
failed to read file /var/lib/bcfg2/Packages/cache/http:@@[email protected]@[email protected]@[email protected]@Packages.gz
Packages: File read failed; falling back to file download
updating http://ftp.freenet.de/debian/dists/testing/main/binary-i386/Packages.gz
Unexpected instantiation failure for plugin Packages
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/Bcfg2/Server/Core.py", line 129, in init_plugins
    self.plugins[plugin] = plug(self, self.datastore)
  File "/usr/lib/python2.5/site-packages/Bcfg2/Server/Plugins/Packages.py", line 432, in __init__
    source.setup_data()
  File "/usr/lib/python2.5/site-packages/Bcfg2/Server/Plugins/Packages.py", line 60, in setup_data
    self.update()
  File "/usr/lib/python2.5/site-packages/Bcfg2/Server/Plugins/Packages.py", line 84, in update
    data = urllib2.urlopen(url).read()
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 387, in open
    response = meth(req, response)
  File "/usr/lib/python2.5/urllib2.py", line 498, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.5/urllib2.py", line 425, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.5/urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.5/urllib2.py", line 506, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 406: Not acceptable
service available at https://bcfg2:6789
serving bcfg2 at https://bcfg2:6789
serve_forever() [start]
Failed to find IP address for somehost
Handled 75 events in 0.486s

The corresponding entry from Packages/config.xml:

<APTSource>
    <Group>debian-testing</Group>
    <URL>http://ftp.freenet.de/debian</URL>
    <Version>testing</Version>
    <Component>main</Component>
    <Component>contrib</Component>
    <Component>non-free</Component>
    <Arch>i386</Arch>
</APTSource>

Despite the confusing hostname, this is a valid HTTP repo (see http://www.debian.org/mirror/list).

#709 solj Travis Campbell <[email protected]…> fixed 1.1.0 doesn't shutdown when you ^C from a non-daemonized bcfg2-server instance.
Description

I just loaded bcfg2-server on a new box and whenever I run it in interactive mode (eg, don't daemonize and disassociate from the terminal), the bcfg2-server process refuses to die off after I hit Control-C. The last entry I see from the verbose output is:

Handled 5 events in 0.001s serve_forever() [stop] server_close()

and it hangs forever after this. I have to send a sigquit in order for it to now shutdown at this point.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.