Re: FBR clean up repospanner on batcave01/pagure01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 27, 2019 at 10:41:45AM -0700, Kevin Fenzi wrote:
> Greetings.
> 
> Back a long time ago we setup a repospanner cluster for our ansible
> repo. We used repospanner01, batcave01 and pagure01 in this cluster.
> 
> However, there were some things that needed fixing up before we could
> use it, so we never used it.
> 
> Fast forward to todaay and we have setup a new cluster for src, but will
> also just reuse it for ansible repo as well. That cluster has
> repospanner01 (reinstalled), repospanner-osuosl01, and
> repospanner-cc-rdu01 in it.
> 
> That is all great, however, we still have repospanner installed and
> trying to cluster on batcave01 and pagure01. it's sending many messages
> per second about it's missing repospanner01 cluster member being gone.
> 
> So, I would like to apply the following to ansible, stop and remove the
> repospanner package from batcave01/pagure01. It shouldn't cause any
> issues I wouldn't think.
> 
> +1s?
> 
> kevin
> --
> > diff --git a/playbooks/groups/batcave.yml b/playbooks/groups/batcave.yml
> > index e0f7213..fe0f450 100644
> > --- a/playbooks/groups/batcave.yml
> > +++ b/playbooks/groups/batcave.yml
> > @@ -31,7 +31,6 @@
> >      SSLCertificateChainFile: "{{wildcard_int_file}}"
> >    - openvpn/client
> >    - batcave
> > -  - { role: repospanner/server, when: inventory_hostname.startswith('batcave01'), node: batcave01, region: ansible, spawn_repospanner_node: false, join_repospanner_node: repospanner01.ansible.fedoraproject.org }
> >    - { role: nfs/client, when: inventory_hostname.startswith('batcave'), mnt_dir: '/srv/web/pub',  nfs_src_dir: 'fedora_ftp/fedora.redhat.com/pub' }
> >    - { role: nfs/client, when: inventory_hostname.startswith('batcave01'), mnt_dir: '/mnt/fedora/app',  nfs_src_dir: 'fedora_app/app' }
> >  
> > diff --git a/playbooks/groups/pagure.yml b/playbooks/groups/pagure.yml
> > index a6dd601..d9f8c29 100644
> > --- a/playbooks/groups/pagure.yml
> > +++ b/playbooks/groups/pagure.yml
> > @@ -56,7 +56,6 @@
> >    roles:
> >    - pagure/frontend
> >    - pagure/fedmsg
> > -  - { role: repospanner/server, when: inventory_hostname.startswith('pagure01'), node: pagure01, region: ansible, spawn_repospanner_node: false, join_repospanner_node: repospanner01.ansible.fedoraproject.org }
> >  
> >    handlers:
> >    - import_tasks: "{{ handlers_path }}/restart_services.yml"

+1 for me

Pierre

Attachment: signature.asc
Description: PGP signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux