[PulseGuardian] Unable to delete Pulse users wptsync-{upstream,downstream}-test

RESOLVED FIXED

Status

RESOLVED FIXED
a year ago
a month ago

People

(Reporter: emorley, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
# STR
1. As "owner" of these pulse users, visit https://pulseguardian.mozilla.org/profile
2. Press the red cross next to either and press ok to confirm
3. Refresh the page
4. Visit the "Queues" page

# Expected:
Users stay deleted and their queues are deleted too.

# Actual:
Users initially appear deleted but then reappear shortly after. The queues remain, and trying to manually delete the queues on https://pulseguardian.mozilla.org/queues doesn't work either (deletion prompt appears, and can press ok, but nothing ends up deleted)

Also, whilst doing the above I got emailed this exception:

"""
Unknown error occurred.

Rabbit URL: https://pulse.mozilla.org/api/
Rabbit user: REDACTED
Error:
Traceback (most recent call last):
  File "pulseguardian/guardian.py", line 423, in guard
    self.monitor_queues(queues, bindings)
  File "pulseguardian/guardian.py", line 247, in monitor_queues
    self.warning_email(queue.owner.owners, queue_data)
  File "pulseguardian/guardian.py", line 274, in warning_email
    exchange = self._exchange_from_queue(queue_data)
  File "pulseguardian/guardian.py", line 269, in _exchange_from_queue
    if detailed_data['incoming']:
KeyError: 'incoming'
"""
That exception is separate (and easily fixed).  I'll put up a PR for it.  Maybe we can sit down at some point to figure out the main issue (I can monitor the logs while you try to delete a user and see if there's an exception).
(Reporter)

Comment 2

a month ago

This was fixed

Status: NEW → RESOLVED
Last Resolved: a month ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.