Skip to content
Snippets Groups Projects
  1. May 30, 2023
    • Mark Goddard's avatar
      Use merge_configs and merge_yaml to generate Kolla custom config · 428ef10f
      Mark Goddard authored
      This patch adds new functionality - merging base & environment specific
      kolla config. This allows you to place common settings in the base
      configuration and only keep environment specific settings in the
      environment directories.
      
      Change-Id: Id4588f4529a4522e68e22ce58711cb927fa68a9d
      Story: 2002009
      Task: 42903
      428ef10f
  2. Sep 08, 2022
    • Mark Goddard's avatar
      Move group_vars to an inventory directory · af3b719b
      Mark Goddard authored
      The group variables originally in ansible/group_vars/ were playbook
      group variables, due to being adjacent to the playbooks. Typically they
      provided default values for global variables in the all group, as well
      as some more specific groups. This has worked fairly well, but results
      in (at least) a couple of problems.
      
      1. The default variable precedence rules mean that these playbook group
         variables have a higher precedence than inventory group variables
         (for a given group). This can make it challenging to override
         playbook group variables in the inventory in Kayobe configuration.
      
      2. Any playbook run by Kayobe must be in the same directory as the
         playbook group variables in order to use them. Given that they
         include variables required for connectivity such as ansible_host and
         ansible_user, this is quite critical. For Kayobe custom playbooks, we
         work around this by symlinking to the group_vars directory from the
         directory containing the custom playbook. This is not an elegant
         workaround, and has assumptions about the relative paths of the
         Kayobe configuration and virtual environment in which Kayobe is
         installed.
      
      Story: 2010280
      Task: 46233
      
      Change-Id: Ifea5c7e73f6f410f96a7398bfd349d1f631d9fc0
      af3b719b
  3. Oct 08, 2021
    • Mark Goddard's avatar
      Use merge_configs and merge_yaml to generate Kolla configs · e318cada
      Mark Goddard authored
      
      Supports merging configuration for the following files:
      
      * kolla/globals.yml
      * kolla/config/bifrost/bifrost.yml
      * kolla/config/bifrost/dib.yml
      * kolla/config/bifrost/servers.yml
      * kolla/kolla-build.conf
      
      Configuration is merged from the following sources:
      
      * Kayobe source code
      * Base Kayobe config
      * Kayobe environment
      
      Co-Authored-By: default avatarWill Szumski <will@stackhpc.com>
      Change-Id: I552bd8f7853b2032954b372bf4476676dac3e271
      Story: 2002009
      Task: 42974
      e318cada
  4. Sep 20, 2021
    • Michał Nasiadka's avatar
      CI: Fix bashate ignores · ae853182
      Michał Nasiadka authored
      Bashate only accepts one --ignore option, so first was ignored.
      
      Change-Id: I2b7062c4f482faf91c0df40fb79fad75eb326d83
      ae853182
  5. Apr 23, 2021
  6. Mar 26, 2021
  7. Sep 16, 2020
    • Pierre Riteau's avatar
      Update shebang for Python 3 script · 7d4d48b1
      Pierre Riteau authored
      The feature-flags.py script uses pathlib which is only supported in
      Python 3. Update shebang to ensure it is run with the correct
      interpreter.
      
      Change-Id: I69ea0c90f68909399709626bddfc418e9df31acc
      7d4d48b1
  8. Sep 11, 2020
    • Pierre Riteau's avatar
      Update hacking for Python3 · 7b605851
      Pierre Riteau authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Ignore bashate failure on one-liner loops.
      
      Add pcre devel packages to fix failing pep8 jobs.
      
      Change-Id: I3442174b378cc6e361550fcb9b32a62f61fa7972
      7b605851
  9. Jun 12, 2020
    • Will Szumski's avatar
      Update feature flags · 1e963a60
      Will Szumski authored
      The flags in etc/kayobe/kolla.yml were out of sync with
      ansible/roles/kolla-ansible/vars/main.yml.
      
      This commit sorts them all alphabetically and adds a script to simplify
      generating the list.
      
      TrivialFix
      
      Change-Id: I0e3be19eed371853d80c401d6a46770a7d6dcbc5
      1e963a60
  10. Jun 10, 2020
  11. May 28, 2020
    • Mark Goddard's avatar
      Remove support for CentOS 7 and Python 2 · b9d76f6e
      Mark Goddard authored
      * Always use Python 3
      * Drop code paths for CentOS 7
      * Drop support for Yum
      * Remove support for host NTP daemon, always use chrony
      * Switch references from 'yum_install_epel' to 'dnf_install_epel'
      * Remove overcloud host image workaround for tagged VLAN admin network
      * Remove the kayobe.utils.yum_install function, which is unused
      
      Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48
      Story: 2006574
      Task: 39481
      b9d76f6e
  12. Apr 03, 2020
    • Mark Goddard's avatar
      Use unittest.mock instead of PyPI mock · 611111b8
      Mark Goddard authored
      Now that py2 is gone, oslotest dropped dependency on mock and will
      soon affect Ussuri CI [1], let's use unittest.mock built in py3.
      
      This also fixes py38 jobs and proactively prevents py36 and py37
      failing due to [1]. This is because we never included mock in
      test-requirements and instead relied on oslotest to bring it in.
      
      [1] https://review.opendev.org/716322
      
      Change-Id: I0c18b13c4e1fbaa9db41da4e2039ad908c28caa6
      611111b8
  13. Feb 13, 2020
    • Mark Goddard's avatar
      Fix sphinx8 script used by pep8 · 2fcdff10
      Mark Goddard authored
      We wrap doc8 to register the directives we use in our documentation.
      Previously the 'app' argument was passed as None, however sphinx has
      started to use the argument.
      
      This change uses a mock object since we don't need to use the
      application object.
      
      Change-Id: Id9e8d5f6d09f14d294cd493538780456f98c7dbe
      2fcdff10
  14. Dec 06, 2019
  15. Nov 01, 2019
    • Mark Goddard's avatar
      Revert to yatesr.timezone role · d81ffc2e
      Mark Goddard authored
      In the 1.2.0 release the offending symlinks were removed from the role.
      
      Also skip molecule tests from galaxy roles.
      
      TrivialFix
      
      Change-Id: I233e5468054e950a80355bdc2205bd6070a12297
      d81ffc2e
  16. Jul 04, 2019
  17. Feb 15, 2019
    • Mark Goddard's avatar
      Update release notes for stable/rocky · 4f5e87db
      Mark Goddard authored
      Also updates the release.sh script to support tagging release candidates
      and development milestones. Adds zuul configuration to trigger a
      Readthedocs webhook for the release notes.
      
      Change-Id: Ia784b34fb0b740998de72599d4921f9303e41cac
      4f5e87db
  18. Nov 18, 2018
  19. Feb 20, 2018
  20. Feb 09, 2018
    • Mark Goddard's avatar
      Fixes for ceph block device tagging (#1) · 1999110b
      Mark Goddard authored
      * Install galaxy roles before running ansible tests
      
      * Use package module in kolla-ceph to support Debian-based systems
      
      This is required for running tests in TravisCI.
      
      * Fix kolla-ceph unit test
      
      * Add more tests for kolla-ceph
      
      Journal tests are currently failing on my laptop due to partition labels
      being truncated.
      
      * Add .gitignore for stackhpc.parted-1-1 galaxy role
      
      * Run all test cases
      
      Run all test cases, collecting failures, then report at the end.
      1999110b
  21. Feb 06, 2018
  22. Nov 17, 2017
  23. Sep 04, 2017
  24. Aug 29, 2017
    • Mark Goddard's avatar
      Separate the external network into external and public · 1d9e8fc9
      Mark Goddard authored
      Previously, the external network carried both public API traffic and
      neutron external network traffic. In some cases is it useful to separate
      these networks. The public network now carries the public API traffic,
      leaving the external network to carry neutron external network traffic
      alone. For backwards compatibility, the public network defaults to the
      external network.
      1d9e8fc9
  25. May 29, 2017
  26. Feb 28, 2017
Loading