1. 16 Jan, 2018 1 commit
  2. 27 Dec, 2017 1 commit
  3. 22 Nov, 2017 1 commit
    • Keith Schincke's avatar
      Update unless statement for cephx key checking. · 04d1a043
      Keith Schincke authored
      Some cephx keys (manila) have specail features enabled via quoted
      words in their capabilities list. The initial key is created on the
      file system with escaped quotes (\"auth del\" and \"auth caps\").
      However the output of ceph auth get does not excape these quotes.
      This results in the grep in unless satement always failing and
      causing the key to be reimported multiple times.
      
      A Ceph tracker issue has been opend to for this issue. (1)
      
      1: http://tracker.ceph.com/issues/22227
      
      Change-Id: I2cf6d3ded28d2d37c10fbe9ffb29822b744a561c
      04d1a043
  4. 06 Nov, 2017 1 commit
  5. 01 Nov, 2017 1 commit
  6. 30 Oct, 2017 1 commit
    • Mohammed Naser's avatar
      Remove ceph::rgw::apache · f5ed71b3
      Mohammed Naser authored
      ceph::rgw::apache was deprecated in Hammer and the upstream puppetlabs
      apache module has removed support for fastcgi in EL7. This change
      removes the redhat tests around this as well as removing the
      ceph::rgw::apache class.
      Co-Authored-By: 's avatarAlex Schultz <aschultz@redhat.com>
      Change-Id: I009e3717e9e5c7887a2898dffa65079d61caadca
      f5ed71b3
  7. 04 Oct, 2017 1 commit
    • Dan Williams's avatar
      Allows mgr caps to be added to keys. · 5db96f87
      Dan Williams authored
      Allows setting optional mgr caps on the cephx keys.
      The mgr caps are required to query the ceph-mgr daemon.
      
      Change-Id: I1c4d010b55611377573e4b928ee9527441050d51
      Closes-Bug: #1720864
      5db96f87
  8. 27 Sep, 2017 3 commits
  9. 18 Sep, 2017 1 commit
  10. 12 Sep, 2017 1 commit
    • Nick's avatar
      fix the service names · 7f21b323
      Nick authored
      I also fixed the rgw class and used the 'name as default' approach which
      removed the need for one additional variable.
      
      Removed the servcie_provider variable from the params class.
      
      Change-Id: I404421da5df78e06241fd32b52f3b850780901fe
      7f21b323
  11. 04 Sep, 2017 1 commit
    • Mohammed Naser's avatar
      Add ceph-mgr support · 16924072
      Mohammed Naser authored
      The latest release of Ceph requires the setup of ceph-mgr, so this
      patch allows users to install it if necessary.
      
      Depends-On: Ib979a44e9fb20469332ed16cb284383198a086d6
      Change-Id: Iebc37202a467c28c731045054dd68a80c6c602ee
      16924072
  12. 31 Aug, 2017 1 commit
    • Nick's avatar
      Some fixes for the ceph disk activate part · 4e76bd2f
      Nick authored
      The "unless" condition for the ceph disk activate part did not work when using block devices as puppet always tried to activate a running OSD again and again. So I introduced an additional check with "ceph-disk list" which checks if the OSD is already active. The test to check if a whole block device gets used was not working for me as well. Udev should activate a whole block device when running ceph (since Infernalis), but for me the module tried to activate a OSD.
      
      Change-Id: I708e2c62f351c4588ef1f69797f631c161388949
      4e76bd2f
  13. 20 Jul, 2017 1 commit
    • Carlos Camacho's avatar
      Fix lint issues to upgrade to puppet-lint 2.3 · e72b6f34
      Carlos Camacho authored
      2017-07-20 14:28:44.376006 | manifests/mon.pp:121:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376112 | manifests/mon.pp:157:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376146 | manifests/mon.pp:165:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376178 | manifests/mon.pp:203:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376209 | manifests/mon.pp:209:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376240 | manifests/mon.pp:230:WARNING: arrow should be on the right operand's line
      2017-07-20 14:28:44.376286 | manifests/mon.pp:244:WARNING: arrow should be on the right operand's line
      
      Change-Id: I2fe4ed016100ebda260dcfdc67d2907c7cc06787
      e72b6f34
  14. 16 May, 2017 1 commit
    • John Fulton's avatar
      Correctly configure /dev/nvme0n1 devices as OSDs · 0754aeca
      John Fulton authored
      Change pupppet-ceph's assumption that all devices which end with
      a "1" have a first partition so that it can correctly configure
      NVMe SSDs, which appear as /dev/nvme0n1 and whose partitions appear
      as /dev/nvme0n1p1, /dev/nvme0n1p2 and so on.
      
      Closes-Bug: #1687114
      Change-Id: I433fd3ab3ce240c661e7e9faeb758fd0d0215f6a
      0754aeca
  15. 06 Apr, 2017 1 commit
    • Joe Talerico's avatar
      Allow use of device aliases for OSDs · ff2b2e68
      Joe Talerico authored
      Resolves $data paths using readlink, as ceph-disk does, so we don't
      fail if the two mismatch.
      
      Closes-Bug: #1677605
      Change-Id: I13c2776dbbfd9c7cb91dc272e8a3405cd60210b0
      ff2b2e68
  16. 27 Mar, 2017 1 commit
    • Emilien Macchi's avatar
      repo: use $ceph_mirror in ceph::repo · 2767d1ab
      Emilien Macchi authored
      If $ceph_repo is set, let's use it when deploying SIG repo.
      The feature was only available for Ubuntu until now. But we
      could use it for CentOS too.
      
      Thanks to this patch, the Puppet OpenStack CI will now deploy
      Ceph repositories from AFS mirrors provided by OpenStack Infra.
      
      Related-Bug: #1676421
      Depends-On: Ica91b23c0954ccee17ea13903048b6133758f9f3
      
      Change-Id: I840c0288e5ea15c74578d6468f55acf2456c3326
      2767d1ab
  17. 21 Mar, 2017 1 commit
    • Emilien Macchi's avatar
      Switch trunk/cbs/buildlogs to use https · 0ab0f3f3
      Emilien Macchi authored
      There is a permanent redirection from http to https in buildlogs, cbs
      and trunk repos that might create issues when the redirection fails for
      some reasons.
      Let's use https directly.
      
      Change-Id: I0a0f3616c905e81b60ddd49d5fc996cfc1c4f73d
      0ab0f3f3
  18. 17 Mar, 2017 1 commit
    • John Fulton's avatar
      Fail deployment if non-existent block devices are passed for OSDs · 7451d6ea
      John Fulton authored
      If a user passes a block device, e.g. /dev/sdx, that doesn't actually
      exist, then the user made a mistake and the deployment should fail.
      Without this change if /dev/sdx doesn't exist, then a directory is
      created called /dev/sdx and set up as a directory-backed OSD. This
      patch adds a check to fail the deployment if the requested OSD is
      a directory with a name starting with /dev.
      
      Change-Id: I5f03fc332b8df3914dc8609a203eb38693cb87a7
      Closes-Bug: 1665697
      7451d6ea
  19. 20 Feb, 2017 1 commit
  20. 15 Feb, 2017 1 commit
    • Giulio Fidente's avatar
      Ensure osd.pp moves to activate only after finishing prepare · f749fa16
      Giulio Fidente authored
      Ensures the order in which osd.pp executes the prepare and
      activation is preserved for all disks so that none of the OSDs is
      activated until all prepare (and udevadm settle) finished for all
      disks.
      
      Change-Id: Ie8666c0e3a68776fb6d2fbcba1f04846eaa1782b
      f749fa16
  21. 08 Feb, 2017 1 commit
    • Keith Schincke's avatar
      Deprecate unused ::ceph::rgw::syslog parameter · 02e1a636
      Keith Schincke authored
      The syslog parameter is not used by ::ceph::rgw. ceph::rgw::apache_fastcgi
      and ::ceph::rgw::apache_proxy_fcgi use the syslog parameter but are
      not called from ::ceph::rgw. This paramter will be removed in a future
      release
      
      Change-Id: I57326a52138826dea1902dab7fe1cbe97c3ee861
      02e1a636
  22. 07 Feb, 2017 1 commit
    • David Critch's avatar
      Automatically zap a disk if no valid gpt label is present · 108f5500
      David Critch authored
      This change will execute 'ceph-disk zap' on any OSD or journal
      disk if there is no valid gpt label present. This makes it
      consistent with the ceph-ansible project.
      
      Change-Id: I47c9e73421a0b472c237ef5cbe6ceb4ff72bcf35
      Partial-Bug: 1656428
      108f5500
  23. 06 Feb, 2017 1 commit
    • Keith Schincke's avatar
      Reduce ceph::key.pp warnings · dba788f0
      Keith Schincke authored
      A second pass to reduce the puppet about unused variables. Unused
      variables are set to ''. No functionality changes.
      
      Change-Id: Ia82d6b130c4eb948922dc5255ec29dde2279a15d
      dba788f0
  24. 25 Jan, 2017 2 commits
    • Keith Schincke's avatar
      Update to reduce puppet errors. · eccdd9a0
      Keith Schincke authored
      This patch reduces the amount of warnings due to 'unknown variables'
      with certian combinations of class arguments. mon_caps, osd_caps and
      mds_caps are set to '' if no relevant options are passed.
      cluster_option is set to '--cluster ceph' if no custom cluster name
      is passed to the relevant classes.
      
      Change-Id: I3204b402c00dab4836c8a3ea64eb769a83f7b51f
      eccdd9a0
    • Giulio Fidente's avatar
      Ensure the CephX client keys are provisioned by the mirror profile · 37a01c99
      Giulio Fidente authored
      Previously we were not deploying on the nodes hosting only the mirror
      profile any CephX client key, these are required instead to give
      appropriate permissions to the mirror daemon.
      
      Change-Id: I5bcc9d1e19c60043b8c28ebf7dc2b12dde3d7567
      37a01c99
  25. 13 Jan, 2017 1 commit
    • John Fulton's avatar
      init: allow to configure rbd_default_features · 8e01a414
      John Fulton authored
      Allow puppet-ceph to configure rbd_default_features parameter in
      ceph.conf / [client] section. Operators deploying newer Ceph clients
      that must use older Ceph servers need to be able to easily set this
      option for backwards compatibility.
      
      Depends-On: I3242cfe0f141fe2bbb951ce2cf7071fd07456db8
      Change-Id: I477640c5db2cc84622da7734fb54cfe7740bd137
      Partial-Bug: 1633552
      8e01a414
  26. 10 Jan, 2017 1 commit
    • Jan Provaznik's avatar
      Add cephfs resource type and profile · 28e8f452
      Jan Provaznik authored
      This resource type can be used for setting up cephfs, it
      expects FS name, data and metadata pool names as input
      parameters. Data and metadata pools should already exist.
      
      Change-Id: I18436a64fc991b9e697a1d79e369ac110cf8fe20
      Partial-Bug: #1644784
      28e8f452
  27. 04 Jan, 2017 1 commit
    • Giulio Fidente's avatar
      Improves support for ceph-mds · 5cc19541
      Giulio Fidente authored
      This change adds a profile for the MDS service and extends the
      existing MDS class to enable the service on boot and set the
      daemon binding address.
      
      Change-Id: I558b43deaa9b243c54f3d7ae945f11dd4925eb5d
      Related-Bug: #1644784
      5cc19541
  28. 22 Dec, 2016 1 commit
  29. 08 Dec, 2016 1 commit
  30. 06 Dec, 2016 1 commit
    • Keith Schincke's avatar
      Update ceph::key to update keys · a2aa8607
      Keith Schincke authored
      The previous code exited immediatly when one of the shell commands
      returned fail. The grep failed when there were no changes between
      the temp key and the real key. This resulted in the temp key
      not being deleted.
      
      Change-Id: I9ac13efb59e7f575d739107e0fcac66c05504940
      a2aa8607
  31. 29 Nov, 2016 1 commit
    • Keith Schincke's avatar
      Unify parameter arguments between classes. · 3bb76e73
      Keith Schincke authored
      ceph::rgw::keystone and ceph::rgw:keystone::auth used
      different parameter defaults. This patch makes both use
      ceph::profile::params
      
      Change-Id: Ic55960841f4e42e66a4a04be1976a2b205db2cdc
      Depends-On: Ie9b8113351300ab8ab331f083a47fef7d4735e69
      3bb76e73
  32. 24 Nov, 2016 1 commit
  33. 20 Oct, 2016 1 commit
  34. 18 Oct, 2016 1 commit
  35. 17 Oct, 2016 2 commits
    • Andrew Woodward's avatar
      Change conf from create to ensure · 1d77607b
      Andrew Woodward authored
      In order to help minimize issues with create/duplicates we need to switch
      from create_resources to ensure_resources
      
      Change-Id: I3238d30ad90b67107e6a13e3655e590ee802c6ff
      1d77607b
    • Mohammed Naser's avatar
      Ensure wget is installed for RGW Keystone integration · e8590dac
      Mohammed Naser authored
      The minimal install of CentOS does not include wget causing the
      exec resources to fail.  This patch ensures that it is installed
      on the operating system.
      
      Change-Id: I55b8a227bbf309f99583261eb879e6a1b6e602de
      e8590dac
  36. 12 Oct, 2016 1 commit
    • Emilien Macchi's avatar
      repo: deploy ceph.com apt key only when required · 939307f4
      Emilien Macchi authored
      Do not try to deploy ceph.com Apt key if the repository is not used.
      OpenStack mirrors contain packages signed with this key.
      
      Also disable beaker tests on Ubuntu, ceph.com is down.
      
      Change-Id: Iae692bd90126930ca40a853d641aa17634e745de
      939307f4