1. 10 Feb, 2021 9 commits
  2. 09 Feb, 2021 4 commits
  3. 05 Feb, 2021 6 commits
  4. 03 Feb, 2021 5 commits
  5. 02 Feb, 2021 1 commit
  6. 01 Feb, 2021 2 commits
  7. 29 Jan, 2021 6 commits
  8. 28 Jan, 2021 2 commits
  9. 27 Jan, 2021 4 commits
    • Guillaume Abrioux's avatar
      rgw: multisite refact · 71a5e666
      Guillaume Abrioux authored
      Add the possibility to deploy rgw multisite configuration with a mix of
      secondary and primary zones on a same rgw node.
      Before that, on a same node, all instances were either primary
      zones *OR* secondary.
      Now you can define a rgw instance like following:
        - instance_name: 'rgw0'
          rgw_zonemaster: false
          rgw_zonesecondary: true
          rgw_zonegroupmaster: false
          rgw_realm: 'france'
          rgw_zonegroup: 'zonegroup-france'
          rgw_zone: paris-00
          radosgw_address: "{{ _radosgw_address }}"
          radosgw_frontend_port: 8080
          rgw_zone_user: jacques.chirac
          rgw_zone_user_display_name: "Jacques Chirac"
          system_access_key: P9Eb6S8XNyo4dtZZUUMy
          system_secret_key: qqHCUtfdNnpHq3PZRHW5un9l0bEBM812Uhow0XfB
      Basically it's now possible to define `rgw_zonemaster`,
      `rgw_zonesecondary` and `rgw_zonegroupmaster` at the intsance
      level instead of the whole node level.
      Also, this commit adds an option `deploy_secondary_zones` (default True)
      which can be set to `False` in order to explicitly ask the playbook to
      not deploy secondary zones in case where the corresponding endpoint are
      not deployed yet.
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1915478
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
    • Guillaume Abrioux's avatar
      library: fix bug in radosgw_zone.py · fedb3668
      Guillaume Abrioux authored
      If for some reason `get_zonegroup()` returns a failure, we must handle
      and make the module exit properly instead of failing with the following
      python trace:
      Traceback (most recent call last):
        File "./AnsiballZ_radosgw_zone.py", line 247, in <module>
        File "./AnsiballZ_radosgw_zone.py", line 234, in _ansiballz_main
          exitcode = debug(sys.argv[1], zipped_mod, ANSIBALLZ_PARAMS)
        File "./AnsiballZ_radosgw_zone.py", line 202, in debug
          runpy.run_module(mod_name='ansible.modules.radosgw_zone', init_globals=None, run_name='__main__', alter_sys=True)
        File "/usr/lib64/python3.6/runpy.py", line 205, in run_module
          return _run_module_code(code, init_globals, run_name, mod_spec)
        File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code
          mod_name, mod_spec, pkg_name, script_name)
        File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
          exec(code, run_globals)
        File "/home/vagrant/.ansible/tmp/ansible-tmp-1610728441.41-685133-218973990589597/debug_dir/ansible/modules/radosgw_zone.py", line 467, in <module>
        File "/home/vagrant/.ansible/tmp/ansible-tmp-1610728441.41-685133-218973990589597/debug_dir/ansible/modules/radosgw_zone.py", line 463, in main
        File "/home/vagrant/.ansible/tmp/ansible-tmp-1610728441.41-685133-218973990589597/debug_dir/ansible/modules/radosgw_zone.py", line 425, in run_module
          zonegroup = json.loads(_out)
        File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
          return _default_decoder.decode(s)
        File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
          obj, end = self.raw_decode(s, idx=_w(s, 0).end())
        File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
          raise JSONDecodeError("Expecting value", s, err.value) from None
      json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
    • Guillaume Abrioux's avatar
      library: move `fatal()` into ca_common.py · 959140e7
      Guillaume Abrioux authored
      this function is defined in various modules, let's move it to
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
    • Dimitri Savineau's avatar
      grafana: update container tag to 6.7.4 · bbcad960
      Dimitri Savineau authored
      This update the grafana container tag to 6.7.4.
      The RHCS version is now based on the RHCS 5 container image which is
      also based on 6.7.4.
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
  10. 22 Jan, 2021 1 commit