1. 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
      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)
  2. 07 Jul, 2020 1 commit
  3. 23 Jun, 2020 1 commit
  4. 10 Oct, 2018 1 commit
  5. 20 Apr, 2018 1 commit
  6. 19 Apr, 2018 1 commit
  7. 15 Dec, 2017 1 commit
    • Christian Berendt's avatar
      Rename fact docker_version to ceph_docker_version · 50a848dc
      Christian Berendt authored
      The name docker_version is very generic and is also used by other
      roles. As a result, there may be name conflicts. To avoid this a
      ceph_ prefix should be used for this fact. Since it is an internal
      fact renaming is not a problem.
  8. 16 Oct, 2017 1 commit
  9. 08 Sep, 2017 1 commit
  10. 06 Sep, 2017 1 commit
  11. 24 May, 2017 1 commit
    • Guillaume Abrioux's avatar
      Refact code · ddfe0193
      Guillaume Abrioux authored
        At the moment there is a lot of duplicated tasks in each
        `./roles/ceph-<role>/tasks/docker/main.yml` that could be refactored in
      `*_containerized_deployment` variables:
        All `*_containerized_deployment` have been refactored to a single
        variable `containerized_deployment`
      duplicate `cephx` variables in `group_vars/* have been removed.
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
  12. 10 Apr, 2017 1 commit
  13. 14 Mar, 2017 1 commit
  14. 23 Feb, 2017 1 commit
    • Tobias Florek's avatar
      harmonize docker names · 931027e6
      Tobias Florek authored
      Created containers now are named more or less in the form of
          <ansible role>-<ansible_hostname>
  15. 09 Feb, 2017 1 commit
    • Sébastien Han's avatar
      docker: use a better method to pull images · c2f1dca8
      Sébastien Han authored
      We changed the way we declare image.
      Prior to this patch we must have a "user/image:tag"
      format, which is incompatible with non docker-hub registry where you
      usually don't have a "user". On the docker hub a "user" is also
      identified as a namespace, so for Ceph the user was "ceph".
      Variables have been simplified with only:
      * ceph_docker_image
      * ceph_docker_image_tag
      1. For docker hub images: ceph_docker_name: "ceph/daemon" will give
      you the 'daemon' image of the 'ceph' user.
      2. For non docker hub images: ceph_docker_name: "daemon" will simply
      give you the "daemon" image.
      Infrastructure playbooks have been modified as well.
      The file group_vars/all.docker.yml.sample has been removed as well.
      It is hard to maintain since we have to generate it manually. If
      you want to configure specific variables for a specific daemon simply
      edit group_vars/$DAEMON.yml
      Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1420207
      Signed-off-by: default avatarSébastien Han <seb@redhat.com>
  16. 16 Jan, 2017 1 commit
  17. 16 Dec, 2016 1 commit
    • Sébastien Han's avatar
      docker: only use systemd to manage containers · 2d8ac4a5
      Sébastien Han authored
      Prior to this patch we had several ways to runs containers, we could use
      ansible's docker module on some distro and on containers distros we were
      using systemd. We strongly believe threating containers as services with
      systemd is the right approach so this patch generalizes to all the
      distros. These days most of the distros are running systemd so it's fair
      Signed-off-by: default avatarSébastien Han <seb@redhat.com>
  18. 08 Aug, 2016 1 commit
  19. 12 Jul, 2016 1 commit
  20. 31 May, 2016 1 commit