Skip to content
Snippets Groups Projects
  1. Sep 14, 2021
  2. Sep 07, 2021
  3. Jul 23, 2021
    • Pierre Riteau's avatar
      Remove stale DIB_DISABLE_KERNEL_CLEANUP references · d4bbdada
      Pierre Riteau authored
      Documentation about DIB_DISABLE_KERNEL_CLEANUP was left in place after
      the variable was removed in Ie25e88bb96f186399ae69837e93185127628ce86.
      
      Backport: wallaby, victoria, ussuri
      
      Change-Id: Iddb699aa98ddee8446d532ce4bd23ba9174fb38e
      d4bbdada
  4. Jun 07, 2021
    • Mark Goddard's avatar
      Revert "Use OpenStack Wallaby release" · 1dc6d98b
      Mark Goddard authored
      This reverts commit 3f76d7d1.
      
      The version of IPA images has been pinned to wallaby to ensure they are
      compatible with the Wallaby Ironic in current Kolla master images.
      Without this, bare metal tests fail with
      
          'Not found: Extension with id iscsi not found.'
      
      Ironic removed the iscsi driver in Xena.
      
      Change-Id: Ia4c70965d9f3f099046591bac7f702ee982fef71
      1dc6d98b
  5. May 13, 2021
    • Pierre Riteau's avatar
      Remove default time sources from customisable configuration · 223e310b
      Pierre Riteau authored
      It seems unlikely that anyone would want to extend the time servers
      variable, so let's keep it simple and not add an additional variable
      where one isn't necessary. This is also consistent with how we configure
      DNS.
      
      These variables haven't made it into an official release yet, so now
      is the time to clean up.
      
      Change-Id: I3c15c6976296abf9c78f1480c1779b854145c7ca
      223e310b
  6. May 11, 2021
    • Mark Goddard's avatar
      Make docker registry network mode configurable · e187ad79
      Mark Goddard authored
      Adds a new flag, 'docker_registry_network_mode', which defaults to
      'host'. This may be used to set the network mode of the Docker registry
      container.
      
      This is a follow up to I404dd52701426a10c2e92727bd52b7fd7112abf6, which
      changed the network mode from the default of bridge to host. It allows
      that change to be backported to stable branches, without modifying the
      default value.
      
      Change-Id: Ic8ec3bb98f8f016e1d089bf10bd0538264394241
      e187ad79
  7. May 07, 2021
  8. May 04, 2021
  9. Apr 29, 2021
    • Mark Goddard's avatar
      Ubuntu: simplify OS distro selection · d6aa4ea1
      Mark Goddard authored
      Adds a new 'os_distribution' variable which can be used to select the OS
      distribution, with sensible defaults for other variables. The default
      value is 'centos'.
      
      This patch changes the default value for the '*_bootstrap_user'
      variables from using the $USER environment variable to using fixed
      defaults equal to the os_distribution variable. This aligns with the
      standard user configured in most cloud images, and images created via
      DIB.
      
      Note that we are continuing to use a CentOS based IPA image, since we
      have been unable to get IPA to build for Ubuntu.
      
      Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/788234
      
      Change-Id: I9e10239f58fe209867116fa2e10f1ce74220b966
      Story: 2004960
      Task: 42323
      d6aa4ea1
  10. Apr 26, 2021
    • Michał Nasiadka's avatar
      Use OpenStack Wallaby release · 3f76d7d1
      Michał Nasiadka authored
      Switch all dependencies to use the OpenStack Wallaby release.
      
      This commit should be reverted on the master branch once the
      Kayobe stable/wallaby branch has been cut and RC1 released.
      
      Change-Id: I977943e81a79e4a40cca04d80d786ca49afd3d39
      3f76d7d1
  11. Apr 23, 2021
  12. Apr 14, 2021
  13. Apr 06, 2021
  14. Apr 01, 2021
    • Mark Goddard's avatar
      Support additional pass through host variables · 45a79638
      Mark Goddard authored
      Allow passing through additional host variables from Kayobe to Kolla
      Ansible without overriding the entire list.
      
      * kolla_seed_inventory_pass_through_host_vars_extra
      * kolla_seed_inventory_pass_through_host_vars_map_extra
      * kolla_overcloud_inventory_pass_through_host_vars_extra
      * kolla_overcloud_inventory_pass_through_host_vars_map_extra
      
      Story: 2008797
      Task: 42201
      
      Change-Id: I41d9169f0312108e42bb12c52c6c7ee2509cf2ab
      45a79638
  15. Mar 31, 2021
  16. Mar 23, 2021
  17. Mar 19, 2021
  18. Mar 01, 2021
    • Mark Goddard's avatar
      Ubuntu: update Apt cache before package installation · 0c309a18
      Mark Goddard authored
      Update Apt cache prior to all package installation tasks.
      
      Adds apt_cache_valid_time, which defaults to 3600 seconds. This allows
      the time for which the Apt cache is valid to be configured.
      
      Change-Id: I0ecf4f4ce9b7333d3e41c69c3f908bee83391781
      Story: 2004960
      Task: 41766
      0c309a18
  19. Feb 19, 2021
    • Pierre Riteau's avatar
      Add ipa_build_upper_constraints_file variable · 56c1a886
      Pierre Riteau authored
      This variable allows to customise the upper constraints file used to
      install packages inside the ipa-build-dib virtual environment. This can
      be used when we need a newer version of diskimage-builder than the one
      available in upper constraints for the current release.
      
      Change-Id: Idbe57e7edc3fae25153f5e24ad6b7847b1c4660c
      56c1a886
  20. Feb 09, 2021
    • Piotr Parczewski's avatar
      Remove CentOS 7 image resolv.conf workaround · 914d61d8
      Piotr Parczewski authored
      This workaround is no longer needed for current CentOS 8 images as
      resolv.conf file comes now empty.
      
      Moreover, the workaround has been preventing seed host configure from
      running successfully on Ubuntu hosts.
      
      Change-Id: I30e34e3c58db3f3a93a07f3d6d53671286e4260e
      914d61d8
  21. Jan 15, 2021
  22. Dec 22, 2020
  23. Nov 28, 2020
  24. Nov 24, 2020
  25. Nov 05, 2020
    • Michal Nasiadka's avatar
      Use OpenStack Victoria release · 074024d6
      Michal Nasiadka authored
      Switch all dependencies to use the OpenStack Victoria release.
      
      This commit should be reverted on the master branch once the
      Kayobe stable/victoria branch has been cut and RC1 released.
      
      Change-Id: I7f1113577fd48aa0715b644cc66bfca197771ca6
      074024d6
  26. Oct 07, 2020
    • Pierre Riteau's avatar
      Synchronise global extra variables files with defaults · 1b48a713
      Pierre Riteau authored
      In particular, lvm_group_data_enabled variables were missing.
      
      Change-Id: Ia73655812feaf5ce0598cdc71b673126423843a0
      1b48a713
    • Pierre Riteau's avatar
      Configure bifrost to use firewalld trusted zone · 9df0f00b
      Pierre Riteau authored
      Without this setting, bifrost creates a bifrost firewalld zone only
      allowing network traffic for Ironic services and assigns the
      provisioning network interface to it, potentially causing loss of
      connectivity.
      
      Using the public zone is suggested as a workaround [1] but is not
      sufficient: it allows SSH traffic, but blocks other services deployed on
      the seed, such as Docker registry traffic.
      
      [1] https://review.opendev.org/#/c/754406/
      
      Change-Id: I80f9d95f02e11fda5916f9a9dd257b688a9db7e2
      Story: 2008153
      Task: 40899
      9df0f00b
  27. Oct 05, 2020
    • Mark Goddard's avatar
      Add variables for API VIP address and FQDN · 1862e24b
      Mark Goddard authored
      Kayobe currently supports definition of various different networks -
      public, internal, tunnel, etc. These typically map to a VLAN or flat
      network, with an IP subnet. When a cloud exceeds the size of a single
      VLAN/subnet, this approach no longer works.
      
      One way to resolve this is to have multiple subnets that map to a single
      logical network, and provide routing between them. This is a similar
      concept to neutron's routed networks, but for the control plane.
      
      An issue arising from this is that if different hosts can have different
      network definitions for the internal and public networks, it is no
      longer trivial to use a network attribute [1] to specify the VIP address
      and FQDN. Furthermore, the play that generates Kolla Ansible's
      globals.yml containing the VIP and FQDN variables runs as localhost,
      which does not necessarily have the internal and public networks
      defined.
      
      To resolve this, we add global variables for the VIPs and FQDNs. The
      default values are as before, except in the case where HAProxy is
      disabled, which we no longer provide a useful default for. That
      configuration is very rarely used in practice, and the need to reference
      the IP address of a host in the network group makes it difficult to
      define safely.
      
      [1] https://docs.openstack.org/kayobe/latest/configuration/reference/network.html#global-network-configuration
      
      Story: 2008180
      Task: 40937
      
      Change-Id: I2c428ffc2b285aee03d8f59ae7cd3fb7230ce4ae
      1862e24b
    • Mark Goddard's avatar
      Switch default docker storage driver to overlay2 · 869185ea
      Mark Goddard authored
      
      To avoid switching existing deployments from devicemapper to overlay2,
      we check the existing storage driver configuration directly with the
      Docker daemon, or if unreachable by reading the /etc/docker/daemon.json
      configuration file.
      
      Co-Authored-By: default avatarPierre Riteau <pierre@stackhpc.com>
      Story: 2005667
      Task: 30972
      
      Change-Id: Iaf2ee8c9f302f4684ae039bb00b2e2e5969cf1fc
      869185ea
  28. Sep 22, 2020
    • Mark Goddard's avatar
      Performance: Parallelise Kolla Ansible host vars generation · b12f9e35
      Mark Goddard authored
      Kayobe generates a host_vars file for each host in the Kolla Ansible
      inventory. These contain network interfaces and other host-specific
      things. Currently this is done by iterating over all hosts, which does
      not scale well with a large number of hosts.
      
      This change extracts the host vars generation into a separate role, and
      executes it in a play targeted at all hosts, with delegate_to:
      localhost. This ensures that host variable files are generated in
      parallel.
      
      Story: 2007993
      Task: 40629
      
      Change-Id: Iae75e17024adee9c2874c14d3ed36f4c87ba48d7
      b12f9e35
  29. Sep 21, 2020
    • Mark Goddard's avatar
      Docker registry basic auth · 7b80482a
      Mark Goddard authored
      Adds support for HTTP basic authentication with the Docker registry.
      
      The kolla docker registry password is now written to passwords.yml.
      
      Change-Id: Ie6e854a66a6660d4e02771fe2b5dd97af814194d
      Story: 2007952
      Task: 40429
      7b80482a
  30. Sep 17, 2020
    • Mark Goddard's avatar
      Remove support for deprecated Yum variables · 26cea075
      Mark Goddard authored
      The variables in yum.yml and yum-cron.yml were deprecated in Ussuri.
      This patch removes them, and updates the defaults in dnf.yml.
      
      Story: 2008160
      Task: 40906
      
      Change-Id: I97cc98dd2ff726e5885fefcab17f17796d9fd453
      26cea075
    • Bharat Kunwar's avatar
      Support neutron-mlnx-agent · d29aca98
      Bharat Kunwar authored
      Depends-On: I173669bdf92b1f2ea98907ba16808ca3c914944c
      Change-Id: I5a5bd255b937fe5d4c56cc21ef898b796c5bda41
      d29aca98
  31. Jul 24, 2020
    • Mark Goddard's avatar
      Docker registry TLS · 411e1484
      Mark Goddard authored
      Adds support for enabling TLS on the Docker registry.
      
      Change-Id: Idac6a1dfb17f4a22b3043531d1181a5585cafe6a
      Story: 2007952
      Task: 40428
      411e1484
  32. Jul 21, 2020
    • Mark Goddard's avatar
      Update seed VM image to CentOS 8.2 · f618a2c4
      Mark Goddard authored
      If using a CentOS 8.2 bifrost_deploy image on a CentOS 8.1 seed host, we
      may see an error such as the following:
      
          TASK [Ensure the overcloud host image has bogus name server entries removed]
          fatal: [seed]: FAILED!
      
      Running virt-customize with more debug in the Bifrost container, we see
      this output:
      
      qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172
      qemu-kvm: /builddir/build/BUILD/qemu-4.2.0/target/i386/kvm.c:2695: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.
      
      This appears to be an incompatibility between qemu/libvirt in CentOS 8.1
      and 8.2.
      
      This change fixes the issue for new deployments by updating the seed VM
      image to CentOS 8.2.  Existing deployments will need to update packages
      on the seed host to match the bifrost_deploy container.
      
      Change-Id: Icf64b15e58c84f31a11cdefcdb79558b58737da1
      Story: 2007942
      Task: 40407
      f618a2c4
  33. Jul 10, 2020
  34. Jul 07, 2020
  35. Jun 30, 2020
  36. Jun 25, 2020
    • Pierre Riteau's avatar
      Fix network configuration of network hosts · 58f26fb6
      Pierre Riteau authored
      The Control Plane Service Placement documentation connects network hosts
      to networks listed in controller_network_host_network_interfaces.
      However this only contained public, tunnel, and external networks. For a
      fully functional network host, we also need:
      
      - the overcloud admin network, to manage the host
      - internal network, for services to interact with each other
      - storage network, for manila-share
      
      This change updates the default network configuration for network hosts
      and adds a variable to define extra networks like for other hosts. It
      also improves the documentation for adding network hosts.
      
      Change-Id: I1bb857bfca9e209bc6de30ae9852a4a08b2c7fb0
      58f26fb6
Loading