1. 30 Aug, 2019 3 commits
    • Johannes Kastl's avatar
      openSUSE OBS repo using ceph_stable_release · 781ab4ad
      Johannes Kastl authored
      
      
      Instead of hardcoding `luminous`, use the `ceph_stable_release` variable
      to point to the correct repository.
      
      This is now uncommented in roles/ceph-defaults/defaults/main.yml to be
      available, as it is only used if ceph_repository is set to 'obs'.
      
      group_vars/*.sample files have been regenerated using the
      ./generate_group_vars_sample.sh script.
      Signed-off-by: default avatarJohannes Kastl <kastl@b1-systems.de>
      (cherry picked from commit 0cedc4d3)
      781ab4ad
    • fmount's avatar
      Add http_addr option to grafana config · 159db722
      fmount authored
      
      
      We have no reason to make grafana container
      listen on *:<port>, so this change adds the
      http_addr option to the grafana config file
      and adds the related option on the wait_for
      tasks.
      Since grafana_server_addr should exists, we
      shouldn't rely on the _current_monitor_addr
      default on prometheus/grafana templates.
      This change also remove this default value
      that is not necessary anymore.
      Signed-off-by: default avatarfmount <fpantano@redhat.com>
      (cherry picked from commit 8a666bfd)
      159db722
    • Dimitri Savineau's avatar
      lint: fix error [201,206] · ab67c6bd
      Dimitri Savineau authored
      
      
       [201] Trailing whitespace
       [206] Variables should have spaces before and after: {{ var_name }}
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit 42082c0a)
      ab67c6bd
  2. 29 Aug, 2019 2 commits
  3. 28 Aug, 2019 6 commits
  4. 27 Aug, 2019 1 commit
  5. 23 Aug, 2019 2 commits
  6. 22 Aug, 2019 4 commits
    • Dimitri Savineau's avatar
      ceph-osd: Add ulimit nofile on container start · 500c59c6
      Dimitri Savineau authored
      
      
      On containerized deployment, the OSD entrypoint runs some ceph-volume
      commands (lvm/simple scan and/or activate) which perform badly without
      the ulimit option.
      This option was added for all previous ceph-volume commands but not on
      the ceph-osd container startup.
      Also updating hard limit value to 4096 to reflect default baremetal
      value.
      Signed-off-by: default avatarDimitri Savineau <dsavinea@redhat.com>
      (cherry picked from commit 9a4ac46d)
      500c59c6
    • Kevin Coakley's avatar
      ceph-config: Set changed_when to false on fact gathering statements · c7950d55
      Kevin Coakley authored
      
      
      The "run 'ceph-volume lvm batch --report' to see how many osds are to be
      created" and "run 'ceph-volume lvm list' to see how many osds have already been
      created" statements only register the lvm_batch_report and lvm_list variables.
      Running those ceph-volume commands should never produce a change on the system.
      Adding changed_when: false prevents irrelevant change messages from Ansible.
      Signed-off-by: default avatarKevin Coakley <kcoakley@sdsc.edu>
      (cherry picked from commit e11cbbbc)
      c7950d55
    • Johannes Kastl's avatar
      facts: fix a typo · 3e17c458
      Johannes Kastl authored
      
      
      This commit fixes a typo in roles/ceph-facts/tasks/facts.yml
      Signed-off-by: default avatarJohannes Kastl <kastl@b1-systems.de>
      (cherry picked from commit e1b93120)
      3e17c458
    • Kevin Jones's avatar
      Set proper ownership command performance improvement · 3a8de9cc
      Kevin Jones authored
      
      
      By changing the set ownership command from using the file module in combination with a with_items loop to a raw chown command, we can achieve a 98% performance increase here.
      
      On a ceph cluster with a significant amount of directories and files in /var/lib/ceph, the file module has to run checks on ownership of all those directories and files to determine whether a change is needed.
      
      In this case, we just want to explicitly set the ownership of all these directories and files to the ceph_uid
      
      Added context note to all set proper ownership tasks
      Signed-off-by: default avatarKevin Jones <kevinjones@redhat.com>
      (cherry picked from commit 47bf47c9)
      3a8de9cc
  7. 21 Aug, 2019 3 commits
  8. 20 Aug, 2019 5 commits
  9. 19 Aug, 2019 6 commits
  10. 08 Aug, 2019 4 commits
  11. 07 Aug, 2019 3 commits
  12. 31 Jul, 2019 1 commit