Fix ganeti-rapi/noded exit-under-load bug
Fix ganeti-rapi/noded exit-under-load bug

If ganeti-rapi/ganeti-noded receive a request while dom0 is under
resource pressure, it is possible for fork() to fail. Currently this
isn't handled, and leads to asyncore.dispatcher.log_info printing an
error to stdout, HttpServer exiting its runloop and terminating the
daemon.

Fix this by logging the error closing the connection since there isn't
very much else we can do.

Signed-off-by: Brian Foley <a00e555871a6a538e97f8c44307104c884f8e869@google.com>
Reviewed-by: Viktor Bachraty <a13ea37fcfcda126dc54f94389ded93f402eee93@google.com>

mbakke/ganeti,mbakke/ganeti,leshchevds/ganeti,leshchevds/ganeti,yiannist/ganeti,yiannist/ganeti,andir/ganeti,ganeti/ganeti,onponomarev/ganeti,leshchevds/ganeti,andir/ganeti,onponomarev/ganeti,yiannist/ganeti,ganeti/ganeti,ganeti/ganeti,andir/ganeti,mbakke/ganeti