Hey, I noticed that when you change something on pagure staging https://stg.pagure.io/. It won't send any messages. There are no messages on Datagrepper for any topics that are connected with Pagure. E.g https://apps.stg.fedoraproject.org/datagrepper/v2/search?topic=io.pagure.stg.pagure.issue.new
pagure staging
I noticed that in the if statement, it uses pagure-staging as a tested value for env variable https://pagure.io/fork/amedvede/fedora-infra/ansible/blob/main/f/roles/pagure/templates/fedora-messaging.toml#_12. In other templates only {% if env == "staging" %} is used. Pagure template was in that state even before the last updates. So I not sure now what it can be connected with.
pagure-staging
env
{% if env == "staging" %}
Metadata Update from @smoliicek: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, medium-trouble
We found out that isn't the case. My suspicion is that the fedora-messaging cert for staging pagure just expired.
Metadata Update from @zlopez: - Issue tagged with: ops
I thought that could be too, but... it doesn't seem to be.
Ah. I think I see...
@abompard make a new pki.new for staging in ansible-private. I guess this was changes to support the new rabbitmq version. However we are still installing the ones from the pki dir. ;)
So, @abompard can we rm the old staging/pki dir and replace it with the staging/pki.new dir and re-run playbooks? I think that might fix this...but I am unsure how any other staging thing is working. ;)
This ticket is fixed, huge thanks to Aurelien for help. I got sick so when I will feel better I will update this ticket with solution for future reference and close it
I'm curious what it was. ;)
Metadata Update from @amedvede: - Issue assigned to amedvede
The problem was that rabbitmq didn't have pagure.stg user. Because the playbook contained a staging env variable that was missing env_suffix. It's Ansible commit that fixes it: https://pagure.io/fedora-infra/ansible/c/cfedbcd2ae39f742e8422874ca21c2796439f90a?branch=main
rabbitmq
pagure.stg
env_suffix
Metadata Update from @amedvede: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)