Undercloud logs spammed with error from ironic-api

Solution In Progress - Updated -

Issue

  • The following message appears every 1-2 seconds in /var/log/messages on an undercloud deployment:
Sep  3 15:49:05 osprod-mgmt1 ironic-api: 10.10.10.10 - - [03/Sep/2015 15:49:05] "GET / HTTP/1.0" 200 376
Sep  3 15:49:05 osprod-mgmt1 ironic-api: Traceback (most recent call last):
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/wsgiref/handlers.py", line 86, in run
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.finish_response()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/wsgiref/handlers.py", line 128, in finish_response
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.write(data)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/wsgiref/handlers.py", line 212, in write
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.send_headers()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/wsgiref/handlers.py", line 270, in send_headers
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.send_preamble()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/wsgiref/handlers.py", line 194, in send_preamble
Sep  3 15:49:05 osprod-mgmt1 ironic-api: 'Date: %s\r\n' % format_date_time(time.time())
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/socket.py", line 324, in write
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.flush()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/socket.py", line 303, in flush
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self._sock.sendall(view[write_offset:write_offset+buffer_size])
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 376, in sendall
Sep  3 15:49:05 osprod-mgmt1 ironic-api: tail = self.send(data, flags)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 359, in send
Sep  3 15:49:05 osprod-mgmt1 ironic-api: total_sent += fd.send(data[total_sent:], flags)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: error: [Errno 104] Connection reset by peer
Sep  3 15:49:05 osprod-mgmt1 ironic-api: 10.10.10.10 - - [03/Sep/2015 15:49:05] "GET / HTTP/1.0" 500 59
Sep  3 15:49:05 osprod-mgmt1 ironic-api: Traceback (most recent call last):
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/SocketServer.py", line 593, in process_request_thread
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.finish_request(request, client_address)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/SocketServer.py", line 334, in finish_request
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.RequestHandlerClass(request, client_address, self)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/SocketServer.py", line 651, in __init__
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.finish()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/SocketServer.py", line 710, in finish
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.wfile.close()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/socket.py", line 279, in close
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self.flush()
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib64/python2.7/socket.py", line 303, in flush
Sep  3 15:49:05 osprod-mgmt1 ironic-api: self._sock.sendall(view[write_offset:write_offset+buffer_size])
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 376, in sendall
Sep  3 15:49:05 osprod-mgmt1 ironic-api: tail = self.send(data, flags)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: File "/usr/lib/python2.7/site-packages/eventlet/greenio/base.py", line 359, in send
Sep  3 15:49:05 osprod-mgmt1 ironic-api: total_sent += fd.send(data[total_sent:], flags)
Sep  3 15:49:05 osprod-mgmt1 ironic-api: error: [Errno 32] Broken pipe
  • Those logs won't appear in /var/log/ironic/ironic-api.log but appears in journalctl
journalctl -u openstack-ironic-api --no-pager

Environment

  • Red Hat OpenStack 7.0 (RHOS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In