On Wed, 24 Apr 2019 at 09:29, Pierre-Yves Chibon <pingou(a)pingoured.fr> wrote:
On Wed, Apr 24, 2019 at 08:48:09AM +0200, Clement Verna wrote:
> Hi all,
>
> Currently resultsdb in production is not configured properly to send
> messages using fedora-messaging which in turns causes greenwave to not
> send messages (greenwaves publishes messages when it receives new
> results).
>
> The attached patch makes sure that we create the fedora-messaging in
> production and not only in staging.
>
> This should be fixing
https://pagure.io/fedora-infrastructure/issue/7735
>
> +1s ?
While I'm +1 on this, shouldn't it currently still use fedmsg?
Looking at what I have done 2 months ago :-P. resultsdb only supports
fedora-messaging now.
https://pagure.io/taskotron/resultsdb/pull-request/130#
>
> +1 on this anyway,
>
> Pierre
>
>
>
> > From 66db8337e2ab262eab9838c554788b57d730c4c8 Mon Sep 17 00:00:00 2001
> > From: Clement Verna <cverna(a)tutanota.com>
> > Date: Wed, 24 Apr 2019 08:43:44 +0200
> > Subject: [PATCH] resultsbd: enbale fedora-messaging in prod
> >
> > Signed-off-by: Clement Verna <cverna(a)tutanota.com>
> > ---
> > playbooks/groups/resultsdb.yml | 3 +--
> > roles/taskotron/resultsdb-backend/tasks/main.yml | 3 ---
> > 2 files changed, 1 insertion(+), 5 deletions(-)
> >
> > diff --git a/playbooks/groups/resultsdb.yml b/playbooks/groups/resultsdb.yml
> > index 82da951b3..9d1111b4f 100644
> > --- a/playbooks/groups/resultsdb.yml
> > +++ b/playbooks/groups/resultsdb.yml
> > @@ -34,8 +34,7 @@
> > - { role: dnf-automatic, tags: ['dnfautomatic'] }
> > # Set up for fedora-messaging
> > - { role: rabbit/user,
> > - username: "resultsdb{{ env_suffix }}",
> > - when: deployment_type == "stg" }
> > + username: "resultsdb{{ env_suffix }}"}
> >
> > tasks:
> > # this is how you include other task lists
> > diff --git a/roles/taskotron/resultsdb-backend/tasks/main.yml
b/roles/taskotron/resultsdb-backend/tasks/main.yml
> > index 17c5e9150..eb66d9d09 100644
> > --- a/roles/taskotron/resultsdb-backend/tasks/main.yml
> > +++ b/roles/taskotron/resultsdb-backend/tasks/main.yml
> > @@ -46,7 +46,6 @@
> > with_items:
> > - "/etc/pki/rabbitmq/"
> > - "/etc/fedora-messaging"
> > - when: env == "staging"
> > tags:
> > - fedora-messaging
> >
> > @@ -73,7 +72,6 @@
> > owner: root
> > group: apache
> > mode: "444"
> > - when: env == "staging"
> > tags:
> > - fedora-messaging
> >
> > @@ -81,7 +79,6 @@
> > template: src=config.toml.j2 dest=/etc/fedora-messaging/config.toml
owner=root group=root mode=0644
> > notify:
> > - reload httpd
> > - when: env == "staging"
> > tags:
> > - fedora-messaging
> >
> > --
> > 2.21.0
> >
>
> > _______________________________________________
> > infrastructure mailing list -- infrastructure(a)lists.fedoraproject.org
> > To unsubscribe send an email to infrastructure-leave(a)lists.fedoraproject.org
> > Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> > List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> > List Archives:
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedora...
> _______________________________________________
> infrastructure mailing list -- infrastructure(a)lists.fedoraproject.org
> To unsubscribe send an email to infrastructure-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedora...