get_wsrep_value doesn't log connection exception
Bug #1942936 reported by
Adam Dyess
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Fix Committed
|
Medium
|
Gui Maluf Balzana |
Bug Description
percona_
can fail in cursor.execute(...) with an Exception but the logging is
```
unit-mysql-3: 15:53:19 ERROR unit.mysql/
```
changing to
except Exception as e:
log("Failed to get key=%s '%s'" % (key, e), ERROR)
return None
you can get a better log
```
unit-mysql-3: 15:58:33 ERROR unit.mysql/
```
Changed in charm-percona-cluster: | |
importance: | Undecided → Medium |
status: | New → Triaged |
tags: | added: good-first-bug |
Changed in charm-percona-cluster: | |
assignee: | nobody → Zeeshan Ali Shah (babal1nux) |
description: | updated |
Changed in charm-percona-cluster: | |
assignee: | Zeeshan Ali Shah (babal1nux) → Gui Maluf Balzana (guimalufb) |
To post a comment you must log in.
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- percona- cluster/ +/850464
Review: https:/