1. 17 Jun, 2021 2 commits
  2. 16 Jun, 2021 2 commits
  3. 14 Jun, 2021 2 commits
  4. 11 Jun, 2021 1 commit
  5. 07 Jun, 2021 1 commit
  6. 26 May, 2021 6 commits
  7. 25 May, 2021 1 commit
  8. 21 May, 2021 1 commit
  9. 17 May, 2021 1 commit
  10. 10 May, 2021 1 commit
  11. 07 May, 2021 1 commit
  12. 06 May, 2021 5 commits
  13. 05 May, 2021 2 commits
    • Guillaume Abrioux's avatar
      validate: check virtual_ips variable · c79b8664
      Guillaume Abrioux authored
      
      
      This commit checks the length of `virtual_ips` doesn't exceed the length
      of `groups[rgwloadbalancer_group_name]`.
      It also ensure this variable is defined when
      `groups[rgwloadbalancer_group_name]` contains at least one node.
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      (cherry picked from commit ae196bf9)
      c79b8664
    • Benoît Knecht's avatar
      ceph-rgw-loadbalancer: Fix keepalived master selection · 6451d368
      Benoît Knecht authored
      While 2ca33641
      
       fixed a bug in the way the `keepalived.conf.j2` template matched
      hostnames to set the VRRP `MASTER`/`BACKUP` states, it also introduced a
      regression in the case where `virtual_ips` is a list of more than one IP
      address.
      
      The previous behavior would result in each host in the `rgwloadbalancers` group
      to be `MASTER` for one of the `virtual_ips`, but the new behavior caused the
      first host to be `MASTER` for all the IP address in `virtual_ips`.
      
      This commit restores the original behavior.
      Signed-off-by: default avatarBenoît Knecht <bknecht@protonmail.ch>
      (cherry picked from commit 3116f464)
      6451d368
  14. 04 May, 2021 1 commit
  15. 29 Apr, 2021 2 commits
  16. 28 Apr, 2021 2 commits
  17. 15 Apr, 2021 2 commits
    • Benoît Knecht's avatar
      ceph-rgw-loadbalancer: Fix rgw_ports fact · fb35ca36
      Benoît Knecht authored
      
      
      The `set_fact rgw_ports` task was failing due to a templating error, because
      `hostvars[item].rgw_instances` is a list, but it was treated as if it was a
      dictionary.
      
      Another issue was the fact that the `unique` filter only applied to the list
      being appended to `rgw_ports` instead of the entire list, which means it was
      possible to have duplicate items.
      
      Lastly, `rgw_ports` would have been a list of integers, but the `seport` module
      expects a list of strings.
      
      This commit fixes all of the issues above, allowing the `ceph-rgw-loadbalancer`
      role to work on systems with SELinux enabled.
      Signed-off-by: default avatarBenoît Knecht <bknecht@protonmail.ch>
      (cherry picked from commit c0785134)
      fb35ca36
    • Guillaume Abrioux's avatar
      switch-to-containers: only chown corresponding files · 4468bd91
      Guillaume Abrioux authored
      
      
      When collocating daemons, if we chown all files under `/var/lib/ceph` it
      can cause issues for the collocated daemons that wouldn't have been
      migrated yet.
      
      This commit makes the playbook chown only the files corresponding to the
      daemon being migrated.
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      (cherry picked from commit ddbc11c4)
      4468bd91
  18. 14 Apr, 2021 3 commits
  19. 12 Apr, 2021 2 commits
  20. 09 Apr, 2021 1 commit
  21. 06 Apr, 2021 1 commit