Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

ERROR juju.worker.uniter.operation hook "monitors-relation-joined" #42

Open
erik78se opened this issue Apr 4, 2021 · 1 comment
Open

Comments

@erik78se
Copy link

erik78se commented Apr 4, 2021

Following the guide on the "Nagios" charm, referencing this charm.

https://jaas.ai/nagios/42

juju deploy nagios
juju deploy mysql
juju relate mysql nagios"

Logs:

juju debug-log --include mysql/0

unit.mysql/0.monitors-relation-joined ERROR 1133 (42000) at line 1: Can't find any matching row in the user table

unit-mysql-0: 13:24:41 INFO juju.worker.uniter awaiting error resolution for "relation-joined" hook
unit-mysql-0: 13:24:42 WARNING unit.mysql/0.monitors-relation-joined mysql: [Warning] Using a password on the command line interface can be insecure.
unit-mysql-0: 13:24:42 WARNING unit.mysql/0.monitors-relation-joined ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
unit-mysql-0: 13:24:42 ERROR juju.worker.uniter.operation hook "monitors-relation-joined" (via explicit, bespoke hook script) failed: exit status 1
unit-mysql-0: 13:24:42 INFO juju.worker.uniter awaiting error resolution for "relation-joined" hook
unit-mysql-0: 13:25:59 INFO juju.worker.uniter awaiting error resolution for "relation-joined" hook
unit-mysql-0: 13:25:59 WARNING unit.mysql/0.monitors-relation-joined mysql: [Warning] Using a password on the command line interface can be insecure.
unit-mysql-0: 13:25:59 WARNING unit.mysql/0.monitors-relation-joined ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
unit-mysql-0: 13:25:59 ERROR juju.worker.uniter.operation hook "monitors-relation-joined" (via explicit, bespoke hook script) failed: exit status 1
unit-mysql-0: 13:25:59 INFO juju.worker.uniter awaiting error resolution for "relation-joined" hook
^[unit-mysql-0: 13:28:30 INFO juju.worker.uniter awaiting error resolution for "relation-joined" hook
unit-mysql-0: 13:28:30 WARNING unit.mysql/0.monitors-relation-joined mysql: [Warning] Using a password on the command line interface can be insecure.
unit-mysql-0: 13:28:30 WARNING unit.mysql/0.monitors-relation-joined ERROR 1133 (42000) at line 1: Can't find any matching row in the user table
unit-mysql-0: 13:28:30 ERROR juju.worker.uniter.operation hook "monitors-relation-joined" (via explicit, bespoke hook script) failed: exit status 1
image

@erik78se
Copy link
Author

erik78se commented Apr 4, 2021

I have also submitted a bug on the nagios charm.

https://bugs.launchpad.net/charm-nagios/+bug/1922486

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant