#10476 Planned Outage - Datanommer Migration - 2022-01-17 11:00 UTC
Closed: Fixed 2 years ago by mobrien. Opened 2 years ago by mobrien.

Planned Outage - Datanommer Migration - 2022-01-17 11:00 UTC

There will be an outage starting at 2022-01-17 11:00 UTC,
which will last approximately 2 hours.

To convert UTC to your local time, take a look at
http://fedoraproject.org/wiki/Infrastructure/UTCHowto
or run:

date -d '2022-01-17 11:00 UTC'

Reason for outage:

We are making some improvements to the performance of the datanommer database including adding the timescaledb plugin, a migration to a new database was required as this involved some breaking changes, the migration has already taken place but the required apps will now be required to point to the new database

Affected Services:

datanommer/datagrepper and any service which interacts with those

Ticket Link:

https://pagure.io/fedora-infrastructure/issue/10476

Please join #fedora-admin or #fedora-noc on irc.libera.chat
or add comments to the ticket for this outage above.


Looks ok to me (although you might fix the old 2021 date?

also, please add a pending outage to status... :)

Metadata Update from @kevin:
- Issue priority set to: Waiting on External (was: Needs Review)
- Issue tagged with: medium-gain, medium-trouble, ops

2 years ago

Email has been sent to infrastructure and devel announce list and status.fp.o has been updated

This outage is now complete. Please raise any further issues related to this should they occur

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

2 years ago

Trying to view the detail of any message on datagrepper is giving me a Python traceback now. e.g. https://apps.fedoraproject.org/datagrepper/v2/id?id=2021-a7cfc7b5-ee00-43b6-8baa-a2c580c43058&is_raw=true&size=extra-large . The traceback is:

Traceback (most recent call last):
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/app.py\", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/app.py\", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/app.py\", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/_compat.py\", line 39, in reraise
    raise value
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/app.py\", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File \"/opt/app-root/lib64/python3.9/site-packages/flask/app.py\", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File \"/opt/app-root/src/datagrepper/app.py\", line 413, in msg_id
    msg_dict = get_message_dict(msg, meta)
  File \"/opt/app-root/src/datagrepper/util.py\", line 137, in get_message_dict
    msg_dict = msg.as_fedora_message_dict()
  File \"/opt/app-root/lib64/python3.9/site-packages/datanommer/models/__init__.py\", line 339, in as_fedora_message_dict
    if \"sent-at\" not in headers:
TypeError: argument of type 'NoneType' is not iterable

Login to comment on this ticket.

Metadata
Boards 1
ops Status: Backlog