Closed Bug 1434435 Opened 6 years ago Closed 5 years ago

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

Categories

(Webtools :: Pulse, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Unassigned)

Details

# 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).

This was fixed

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.