1. 25 Sep, 2020 1 commit
  2. 21 Sep, 2020 1 commit
  3. 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
  4. 10 Sep, 2020 1 commit
  5. 21 Aug, 2020 1 commit
  6. 20 Aug, 2020 2 commits
  7. 19 Aug, 2020 1 commit
  8. 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
  9. 30 Jul, 2020 1 commit
  10. 29 Jul, 2020 1 commit
  11. 07 Jul, 2020 4 commits
  12. 03 Jul, 2020 3 commits
  13. 29 Jun, 2020 2 commits
  14. 25 Jun, 2020 2 commits
  15. 23 Jun, 2020 1 commit
  16. 18 Jun, 2020 3 commits
  17. 27 Apr, 2020 1 commit
  18. 23 Apr, 2020 2 commits
  19. 20 Apr, 2020 1 commit
  20. 14 Apr, 2020 1 commit
  21. 07 Apr, 2020 3 commits
  22. 03 Apr, 2020 3 commits
  23. 02 Apr, 2020 1 commit
  24. 31 Mar, 2020 1 commit