1. 14 Oct, 2019 1 commit
    • Dimitri Savineau's avatar
      tests: fix rgw multisite vagrant variables · 475d2b15
      Dimitri Savineau authored
      The secondary vagrant variables didn't have the grafana vm variable
      set which create an vagrant error.
      
      There was an error loading a Vagrantfile. The file being loaded
      and the error message are shown below. This is usually caused by
      an invalid or undefined variable.
      
      This patch also changes the ssh-extra-args parameter to ssh-common-args
      to get the same values for ssh/sftp/scp. Otherwise we can see warnings
      from ansible and some tasks are failing.
      
      [WARNING]: sftp transfer mechanism failed on [mon0]. Use ANSIBLE_DEBUG=1
      to see detailed information
      
      It also updates the ssh-common-args value for the rgw-multisite scenario
      to reflect the ANSIBLE_SSH_ARGS environment variable value.
      
      Finally changing the IP addresses due to the Vagrant refact done in the
      commit 778c51a0
      
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit 010158ff)
      475d2b15
  2. 11 Oct, 2019 2 commits
  3. 08 Oct, 2019 2 commits
  4. 07 Oct, 2019 5 commits
  5. 04 Oct, 2019 5 commits
  6. 01 Oct, 2019 2 commits
  7. 30 Sep, 2019 1 commit
  8. 25 Sep, 2019 3 commits
  9. 10 Sep, 2019 3 commits
  10. 09 Sep, 2019 2 commits
  11. 30 Aug, 2019 2 commits
  12. 28 Aug, 2019 2 commits
  13. 27 Aug, 2019 1 commit
  14. 22 Aug, 2019 2 commits
  15. 20 Aug, 2019 2 commits
  16. 13 Aug, 2019 1 commit
  17. 12 Aug, 2019 1 commit
    • Guillaume Abrioux's avatar
      osd: copy systemd-device-to-id.sh on all osd nodes before running it · 81906344
      Guillaume Abrioux authored
      Otherwise it will fail when running rolling_update.yml playbook because
      of `serial: 1` usage.
      The task which copies the script is run against the current node being
      played only whereas the task which runs the script is run against all
      nodes in a loop, it ends up with the typical error:
      
      ```
      2019-08-08 17:47:05,115 p=14905 u=ubuntu |  failed: [magna023 -> magna030] (item=magna030) => {
          "changed": true,
          "cmd": [
              "/usr/bin/env",
              "bash",
              "/tmp/systemd-device-to-id.sh"
          ],
          "delta": "0:00:00.004339",
          "end": "2019-08-08 17:46:59.059670",
          "invocation": {
              "module_args": {
                  "_raw_params": "/usr/bin/env bash /tmp/systemd-device-to-id.sh",
                  "_uses_shell": false,
                  "argv": null,
                  "chdir": null,
                  "creates": null,
                  "executable": null,
                  "removes": null,
                  "stdin": null,
                  "warn": true
              }
          },
          "item": "magna030",
          "msg": "non-zero return code",
          "rc": 127,
          "start": "2019-08-08 17:46:59.055331",
          "stderr": "bash: /tmp/systemd-device-to-id.sh: No such file or directory",
          "stderr_lines": [
              "bash: /tmp/systemd-device-to-id.sh: No such file or directory"
          ],
          "stdout": "",
          "stdout_lines": []
      }
      ```
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1739209
      
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      81906344
  18. 08 Aug, 2019 1 commit
  19. 07 Aug, 2019 1 commit
  20. 06 Aug, 2019 1 commit
    • Dimitri Savineau's avatar
      shrink-osd: Stop ceph-disk container based on ID · 343eec7a
      Dimitri Savineau authored
      Since bedc0ab6
      
       we now manage ceph-osd systemd unit scripts based on ID
      instead of device name but it was not present in the shrink-osd
      playbook (ceph-disk version).
      To keep backward compatibility on deployment that didn't do yet the
      transition on OSD id then we should stop unit scripts for both device
      and ID.
      This commit adds the ulimit nofile container option to get better
      performance on ceph-disk commands.
      It also fixes an issue when the OSD id matches multiple OSD ids with
      the same first digit.
      
      $ ceph-disk list | grep osd.1
       /dev/sdb1 ceph data, prepared, cluster ceph, osd.1, block /dev/sdb2
       /dev/sdg1 ceph data, prepared, cluster ceph, osd.12, block /dev/sdg2
      
      Finally removing the shrinked OSD directory.
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      343eec7a