Skip to content
Snippets Groups Projects
  1. Apr 11, 2019
  2. Mar 26, 2019
  3. Feb 01, 2019
  4. Jan 02, 2019
  5. Dec 04, 2018
  6. Nov 28, 2018
  7. Nov 27, 2018
  8. Nov 19, 2018
    • Dan Mick's avatar
      validate plugin: handle missing exception fields without traceback · a2349f05
      Dan Mick authored
      
      "missing variable" errors introduced by PR3058 would attempt to
      be reported, but since the exception contained no "path" definition,
      would cause a second exception in the Invalid exception handler.
      Make the exception handler verify that any field it tries to use
      exists, clean up its message formatting, and reduce the verbose
      level to see the literal error from notario in case more goes
      wrong in future.
      
      Signed-off-by: default avatarDan Mick <dan.mick@redhat.com>
      a2349f05
  9. Nov 08, 2018
  10. Nov 05, 2018
  11. Oct 31, 2018
  12. Oct 30, 2018
  13. Oct 24, 2018
  14. Oct 19, 2018
    • Andrew Schoen's avatar
      validate: check the version of python-notario · a439eb57
      Andrew Schoen authored
      
      If the version of python-notario is < 0.0.13 an error message is given
      like "TypeError: validate() got an unexpected keyword argument
      'defined_keys'", which is not helpful in figuring
      out you've got an incorrect version of python-notario.
      
      This check will avoid that situation by telling the user that they need
      to upgrade python-notario before they hit that error.
      
      Signed-off-by: default avatarAndrew Schoen <aschoen@redhat.com>
      a439eb57
  15. Aug 09, 2018
  16. Jul 12, 2018
    • Andy McCrae's avatar
      Sync config_template with upstream for Ansible 2.6 · a1b3d5b7
      Andy McCrae authored
      
      The original_basename option in the copy module changed to be
      _original_basename in Ansible 2.6+, this PR resyncs the config_template
      module to allow this to work with both Ansible 2.6+ and before.
      
      Additionally, this PR removes the _v1_config_template.py file, since
      ceph-ansible no longer supports versions of Ansible before version 2,
      and so we shouldn't continue to carry that code.
      
      Closes: #2843
      Signed-off-by: default avatarAndy McCrae <andy.mccrae@gmail.com>
      a1b3d5b7
  17. Jun 29, 2018
    • Andy McCrae's avatar
      Sync config_template with upstream · eb836e7c
      Andy McCrae authored
      
      Some fixes have gone into
      git.openstack.org/openstack/ansible-config_template to deal with a few
      bugs we have run into.
      
      This PR brings the ceph-ansible config_template version up to the same
      as the ansible-config_template openstack repo.
      
      Closes: #2742
      Signed-off-by: default avatarAndy McCrae <andy.mccrae@gmail.com>
      eb836e7c
  18. Jun 11, 2018
  19. May 22, 2018
  20. May 18, 2018
  21. Apr 23, 2018
  22. Apr 18, 2018
    • Andy McCrae's avatar
      Add support for --diff in config_template · 8e386751
      Andy McCrae authored
      Add support for the Ansible --diff mode in config_template. This will
      show the before/after for config_template changes, in the same way as
      the base copy and template modules do.
      
      To utilise this run your playbooks with "--diff --check".
      8e386751
  23. Mar 16, 2018
    • Andy McCrae's avatar
      Fix config_template to consistently order sections · fe4ba9d1
      Andy McCrae authored
      In ec042219 we added OrderedDict and
      sorted to be able to preserve order for config_template k,v pairs inside
      a section.
      
      This patch adds a similar ordering for the sections themselves, which
      could still change order and intiiate handler restarts.
      
      OrderedDict isn't needed because we use .items() to return a list that
      can then be sorted().
      fe4ba9d1
  24. Mar 14, 2018
    • Andy McCrae's avatar
      Cleanup plugins directories and references · 60d4b75f
      Andy McCrae authored
      Having callback_plugins, and action plugins in random locations causes
      a lot of disparity.
      
      We should centralize this into one place in the plugins directory and
      fix up the ansible.cfg to reflect this.
      
      Additionally, since the ansible.cfg already reflects action_plugins, we
      don't need a link to action_plugins in the base of the repository.
      60d4b75f
  25. Oct 13, 2017
    • Guillaume Abrioux's avatar
      ceph-defaults: fix handlers that are always triggered · ec042219
      Guillaume Abrioux authored
      
      Handlers are always triggered in ceph-ansible because ceph.conf file is
      generated with a randomly order for the different keys/values pairs
      in sections.
      
      In python, a dict is not sorted. It means in our case each time we try
      to generate the ceph.conf file it will be rendered with a random order
      since the mecanism behind consist of rendering a file from a python dict
      with keys/values. Therefore, as a quick workaround, forcing this dict to be
      sorted before rendering the configuration file will ensure that it will be
      rendered always the same way.
      
      Signed-off-by: default avatarGuillaume Abrioux <gabrioux@redhat.com>
      ec042219
Loading