1. 15 Apr, 2021 1 commit
  2. 12 Apr, 2021 1 commit
  3. 09 Apr, 2021 1 commit
  4. 02 Feb, 2021 2 commits
  5. 29 Jan, 2021 1 commit
  6. 23 Nov, 2020 1 commit
    • Guillaume Abrioux's avatar
      containers: modify bindmount option · bb515496
      Guillaume Abrioux authored
      This commit changes the bind mount option for the mount point
      `/var/lib/ceph` in the systemd template for mon and mgr containers. This
      is needed in case of collocating mon/mgr with osds using dmcrypt
      scenario.
      Once mon/mgr got converted to containers, the dmcrypt layer sub mount is
      still seen in `/var/lib/ceph`. For some reason it makes the
      corresponding devices busy so any other container can't open/close it.
      As a result, it prevents osds from starting properly.
      
      Since it only happens on the nodes converted before the OSD play, the idea is
      to bind mount `/var/lib/ceph` on mon and mgr with the `rshared` option
      so once the sub mount is unmounted, it is propagated inside the
      container so it doesn't see that mount point.
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1896392
      
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      (cherry picked from commit f5ba6d9b)
      bb515496
  7. 16 Nov, 2020 1 commit
  8. 13 Oct, 2020 1 commit
    • Guillaume Abrioux's avatar
      mon: fix force peer addition task · 8b6aedc8
      Guillaume Abrioux authored
      when using `monitor_interface`, if nodes don't have same interface names
      this task will fail like following:
      
      ```
      fatal: [argo010]: FAILED! => {
          "msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVarsVars object' has no attribute u'ansible_enp1s0f0'\n\nThe error appears to have been in '/usr/share/ceph-ansible/roles/ceph-mon/tasks/docker/main.yml': line 19, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: ipv4 - force peer addition as potential bootstrap peer for cluster bringup - monitor_interface\n  ^ here\n"
      }
      
      ```
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1876551
      
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      8b6aedc8
  9. 07 Oct, 2020 2 commits
  10. 29 Sep, 2020 1 commit
  11. 25 Sep, 2020 1 commit
  12. 21 Sep, 2020 1 commit
  13. 17 Sep, 2020 2 commits
    • Dimitri Savineau's avatar
      switch2container: chown symlink for devices · 17b14270
      Dimitri Savineau authored
      
      
      If the OSD directory is using symlinks for referencing devices (like
      block, db, wal for bluestore and journal for filestore) then the chown
      command could fail to change the owner:group on some system.
      
      $ ls -hl /var/lib/ceph/osd/ceph-0/
      total 28K
      lrwxrwxrwx 1 ceph ceph 92 Sep 15 01:53 block -> /dev/ceph-45113532-95ca-471b-bd75-51de46f1339c/osd-data-570a1aee-60c0-44c9-8036-ffed7d67a4e6
      -rw------- 1 ceph ceph 37 Sep 15 01:53 ceph_fsid
      -rw------- 1 ceph ceph 37 Sep 15 01:53 fsid
      -rw------- 1 ceph ceph 55 Sep 15 01:53 keyring
      -rw------- 1 ceph ceph  6 Sep 15 01:53 ready
      -rw------- 1 ceph ceph  3 Sep 15 02:00 require_osd_release
      -rw------- 1 ceph ceph 10 Sep 15 01:53 type
      -rw------- 1 ceph ceph  2 Sep 15 01:53 whoami
      $ find /var/lib/ceph/osd/ceph-0 -not -user 167 -execdir chown 167:167 {} +
      chown: cannot dereference './block': Permission denied
      $ find /var/lib/ceph/osd/ceph-0 -not -user 167
      /var/lib/ceph/osd/ceph-0/block
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit da4280e2)
      17b14270
    • Dimitri Savineau's avatar
      switch2container: remove deb systemd units · 042b9e81
      Dimitri Savineau authored
      
      
      When running the switch2container playbook on a Debian based system
      then the systemd unit path isn't the same than Red Hat based system.
      Because the systemd unit files aren't removed then the new container
      systemd unit isn't take in count.
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit c1af69a7)
      042b9e81
  14. 10 Sep, 2020 1 commit
  15. 21 Aug, 2020 1 commit
  16. 20 Aug, 2020 2 commits
  17. 19 Aug, 2020 1 commit
  18. 05 Aug, 2020 1 commit
    • Guillaume Abrioux's avatar
      osd: change lvm bindmount · 8a154ae1
      Guillaume Abrioux authored
      This commit makes the bindmount a bit more generic, otherwise it
      currently makes the OSDs failing to start in an OSP FFU upgrade
      (with RHEL7 > RHEL8 OS upgrade).
      docker2podman playbook is run from ceph-ansible stable-3.2 branch
      against RHEL7 nodes where `/var/run/lvmetad.socket` exists but once the
      system is upgraded to RHEL8, this socket doesn't exist anymore and
      prevent OSDs from starting after the reboot.
      
      As a workaround we can make this bindmount a bit more generic like what
      is done in `stable-4.0` branch by mounting `/run/lvm` instead.
      
      Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1866252
      
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      8a154ae1
  19. 30 Jul, 2020 1 commit
  20. 29 Jul, 2020 1 commit
  21. 07 Jul, 2020 4 commits
  22. 03 Jul, 2020 3 commits
  23. 29 Jun, 2020 2 commits
  24. 25 Jun, 2020 2 commits
  25. 23 Jun, 2020 1 commit
  26. 18 Jun, 2020 3 commits
  27. 27 Apr, 2020 1 commit