Hard to determine that wrong Pulse credentials have been used
Categories
(Tree Management :: Treeherder, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: armenzg, Assigned: suyash546)
Details
If a user tries to follow the Pulse instructions and uses the wrong credentials the command to ingest will not fail. It will just do nothing.
I'm happy to fix this with some direction.
root@2c14ad4a3716:/app# ./manage.py pulse_listener_jobs
/app/treeherder/etl/schema.py:13: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
schema = yaml.load(f)
/usr/local/lib/python3.7/site-packages/rest_framework/exceptions.py:18: DeprecationWarning: 'version' is deprecated. Use '__version__' instead.
from rest_framework.compat import unicode_to_repr
| Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Moving to P2 and assigning to :armenzg. Armen, feel free to ping folks in #treeherder or needinfo if you get blocked.
| Reporter | ||
Updated•6 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
I would like to takle this one.
I think that it just needs to be cheecked where the connection is made to the pulseguardian and we add the catch the errors and give error logs in the terminal
| Reporter | ||
Comment 3•5 years ago
|
||
Hi Suyash,
It might be simply that in the past (2 months ago) the logger was set up to only show warning level messages.
| Assignee | ||
Comment 4•5 years ago
|
||
Hi armen, I see that on using the wrong credentials, we get this message on terminal
amqp.exceptions.AccessRefused: (0, 0): (403) ACCESS_REFUSED - Login was refused using authentication mechanism AMQPLAIN. For details see the broker logfile.
I don't think that we need to do anything in this for now
WDYT Armen
| Reporter | ||
Comment 5•5 years ago
|
||
This is probably because we were only logging warning messages.
Thanks for checking!
Description
•