#12020 Toddlers are stuck in production
Closed: Fixed 6 months ago by abompard. Opened 6 months ago by zlopez.

Describe what you would like us to do:


Toddlers are currently stuck processing check_email_overrides plugin with following error.

2024-07-01 12:25:32,816 - [INFO toddlers.plugins.check_email_overrides] Loading the email_overrides.toml file
2024-07-01 12:25:32,962 - [INFO toddlers.plugins.check_email_overrides] Setting up connection to FAS
2024-07-01 12:25:33,095 - [INFO toddlers.plugins.check_email_overrides] Setting up connection to bugzilla
2024-07-01 12:25:52,102 - [ERROR toddlers.runner] Toddler 'check_email_overrides' failed to process message id: 33aca92e-3798-4e94-acad-f4c0f4476e01 -- putting it back in the queue
Traceback (most recent call last):
File "/code/toddlers/runner.py", line 96, in __call__
toddler.process(self.toddler_config[toddler.name], message)
File "/code/toddlers/plugins/check_email_overrides.py", line 79, in process
fas_user = fedora_account.get_user_by_email(fas_email)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/code/toddlers/utils/fedora_account.py", line 103, in get_user_by_email
result = fasjson.search(rhbzemail__exact=email).result or []
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fasjson_client/response.py", line 40, in __call__
call_result = self.operation(**kwargs).response().result
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/bravado/client.py", line 271, in __call__
request_params = construct_request(
^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/bravado/client.py", line 312, in construct_request
construct_params(operation, request, op_kwargs)
File "/usr/lib/python3.11/site-packages/bravado/client.py", line 332, in construct_params
raise SwaggerMappingError(
bravado_core.exception.SwaggerMappingError: search does not have parameter rhbzemail__exact
2024-07-01 12:25:52,103 - [WARNING fedora_messaging.twisted.consumer] Returning message id 33aca92e-3798-4e94-acad-f4c0f4476e01 to the queue

When do you need this to be done by? (YYYY/MM/DD)


Asap


As a quick fix I increased the number of pods to 8. But this needs to be resolved as soon as possible.

@amedvede Given you've done work on toddlers in the past, is this something you'd feel comfortable looking into?

Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

6 months ago

Ah, it's a consequence of a change I did in FASJSON, sorry. I'll take this one as penitence.

Metadata Update from @abompard:
- Issue assigned to abompard

6 months ago

Metadata Update from @abompard:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

6 months ago

Log in to comment on this ticket.

Metadata