csm-aut / csm

This repository contains Cisco Software Manager (CSM Server) source code
Apache License 2.0
11 stars 7 forks source link

MySQL server has gone way exception #74

Closed csm-aut closed 7 years ago

csm-aut commented 7 years ago

When CSM failed to discover a host (e.g. wrong IP), this exception is seen.

raise OperationalError(2006, "MySQL server has gone away (%r)" % (e,)) OperationalError: (OperationalError) (2006, "MySQL server has gone away (error(32, 'Broken pipe'))") 'INSERT INTO log (level, trace, msg, created_time) VALUES (%s, %s, %s, %s)' ('ERROR', None, '10.48.32.2354: nodename nor servname provided, or not known', datetime.datetime(2017, 6, 2, 23, 32, 50, 405150))

csm-aut commented 7 years ago

https://github.com/csm-aut/csm/commit/d896b385e2ed35e8e29ec64ca12d1ea0241bc6d6