Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (76 - 78 of 894)

Ticket Owner Reporter Resolution Summary
#970 laszlo Jim Rowan <[email protected]…> fixed ssl traceback; bcfg2-server process wedged
Description

My bcfg2-server process has hung again. strace says it's stuck in a read() call. kill -TERM does not kill it. The server is running on ubuntu lucid, both server and clients are Version: 1.1.1-1~lucid1.

The following was found on the controlling terminal where bcfg2-server was running.

File "/usr/lib/python2.6/ssl.py", line 94, in <lambda>
    self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)
  File "/usr/lib/python2.6/ssl.py", line 174, in send
    v = self._sslobj.write(data)
SSLError: The write operation timed out
----------------------------------------
Error sending response (<class 'ssl.SSLError'>): The write operation timed out
----------------------------------------
Exception happened during processing of request from ('10.222.149.214', 42468)
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
    self.handle()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 329, in handle
    self.handle_one_request()
  File "/usr/lib/python2.6/BaseHTTPServer.py", line 323, in handle_one_request
    method()
  File "/usr/lib/pymodules/python2.6/Bcfg2/SSLServer.py", line 249, in do_POST
    self.wfile.write(response)
  File "/usr/lib/python2.6/socket.py", line 300, in write
    self.flush()
  File "/usr/lib/python2.6/socket.py", line 286, in flush
    self._sock.sendall(buffer)
  File "/usr/lib/python2.6/ssl.py", line 203, in sendall
    v = self.send(data[count:])
  File "/usr/lib/python2.6/ssl.py", line 94, in <lambda>
    self.send = lambda data, flags=0: SSLSocket.send(self, data, flags)
  File "/usr/lib/python2.6/ssl.py", line 174, in send
    v = self._sslobj.write(data)
SSLError: The write operation timed out
----------------------------------------
#708 desai Joe Digilio <[email protected]…> fixed Empty Pkgmgr xml file prints traceback
Description

If there is an empty xml file in the Pkgmgr directory, it prints a traceback instead of a proper error message:

# touch /srv/bcfg2/Pkgmgr/empty-file.xml
# bcfg2-repo-validate
Traceback (most recent call last):
 File "/usr/sbin/bcfg2-repo-validate", line 79, in <module>
   xdata = lxml.etree.parse(plist)
 File "etree.pyx", line 2045, in etree.parse
 File "parser.pxi", line 970, in etree._parseDocument
 File "parser.pxi", line 974, in etree._parseDocumentFromURL
 File "parser.pxi", line 891, in etree._parseDocFromFile
 File "parser.pxi", line 582, in etree._BaseParser._parseDocFromFile
 File "parser.pxi", line 656, in etree._handleParseResult
 File "parser.pxi", line 627, in etree._raiseParseError
etree.XMLSyntaxError: line 1: Start tag expected, '<' not found

I'm guessing it should do something more like this:

# touch /srv/bcfg2/Bundler/empty-file.xml
# bcfg2-repo-validate
/srv/bcfg2/Bundler/empty-file.xml ***FAILS*** to parse           <----
/srv/bcfg2/Bundler/empty-file.xml:1: parser error : Document is empty

^
/srv/bcfg2/Bundler/empty-file.xml:1: parser error : Start tag expected, '<' not found

^
#714 desai Joe Digilio <[email protected]…> fixed Umask results in world writable files
Description

The umask set in src/lib/Component.py is "0" which results in world writable files (eg, pid file, the Packages cache directory and data files, etc)

Note: See TracQuery for help on using queries.