Skip to content
Snippets Groups Projects
  1. Apr 22, 2020
  2. Apr 20, 2020
    • Radosław Piliszek's avatar
      Cleanup py27 support · 83bc574b
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Update cliff minimum to 3.1.0 in requirements.txt, which has a fix for
      story 2005891.
      
      Change-Id: I52cffa2f1aee944f79c4618ea20b779755792f2a
      83bc574b
    • Mark Goddard's avatar
      Fix passwords.yml generation with vault encryption on Python 3 · 8bed6235
      Mark Goddard authored
      Kayobe generates passwords.yml for Kolla Ansible, and can encrypt it
      using the vault password. Previously this was failing on Python 3 due to
      passing a string to file.write() which expects bytes.
      
      This change fixes the issue by encoding the password string passed to
      file.write().
      
      This allows us to run the ansible role tests under Python 3.
      
      Change-Id: I33813f79984a46f1967ef3aee455dcfbe7eb93da
      Story: 2006574
      Task: 39481
      8bed6235
  3. Apr 17, 2020
  4. Apr 16, 2020
  5. Apr 15, 2020
  6. Apr 09, 2020
    • Zuul's avatar
    • Mark Goddard's avatar
      CentOS 8: seed VM & bifrost · 51b84b60
      Mark Goddard authored
      * Change default seed VM image to CentOS 8
      * Change default bifrost deploy image to CentOS 8
      * Workaround DIB bug
        https://bugs.launchpad.net/diskimage-builder/+bug/1866847 by setting
        DIB_DISABLE_KERNEL_CLEANUP to 1
      * Install iptables on seed for SNAT - missing on CentOS 8
      * Fix provider network MTU lookup for empty string
      * Bump stackhpc.libvirt-host to 1.7.0 for CentOS 8 support
      * Bump stackhpc.libvirt-vm to 1.13.0 for CentOS 8 support
      * Bump jriguera.configdrive for Python 3 support
      
      Change-Id: Ie0edf6a924a914395c6502e2d5cf1139bce14a48
      Story: 2006574
      Task: 39000
      51b84b60
    • Pierre Riteau's avatar
      Filter out switch port descriptions on Ruckus switches · 010681d7
      Pierre Riteau authored
      Some Ruckus switches, e.g. the Ruckus ICX 7150, advertise switch
      interface names as switch port descriptions. Unlike Dell switches, there
      is no space character between port type and port number. For example:
      GigabitEthernet1/1/9.
      
      Update regular expression to match both styles.
      
      Change-Id: I359b07abadc8665ff0a8c3407ca0fc5effc504cf
      Story: 2007532
      Task: 39343
      010681d7
  7. Apr 08, 2020
    • Pierre Riteau's avatar
      Fix seed VM provisioning on a remote seed hypervisor · cc3d27e2
      Pierre Riteau authored
      The seed VM will fail to provision if the Ansible control host and the
      seed hypervisor are not the same hosts.
      
      This is because Kayobe creates the seed-vm-user-data file on the
      seed-hypervisor host. It then invokes the jriguera.configdrive role
      which uses a copy task without remote_src, which fails to find the
      source file locally on the Ansible control host.
      
      Instead we create a local temporary file for seed VM user data.
      
      Change-Id: Iabbe4c624b9ad02bb82c323070f99c16e5822966
      Story: 2007530
      Task: 39338
      cc3d27e2
  8. Apr 03, 2020
    • Pierre Riteau's avatar
      Prevent openrc files from using wrong OS_CACERT value · ce212cc2
      Pierre Riteau authored
      Kolla Ansible sets kolla_{external,internal}_fqdn_cacert variables with
      default values compatible with the use of `kolla-ansible certificates`.
      
      However, when these variables are left unset in Kayobe, which is
      generally the case when using trusted certificates, we end up with
      openrc files setting OS_CACERT to a file that does not exist:
      
          ${KOLLA_CONFIG_PATH}/certificates/haproxy-ca.crt
      
      Instead we allow null cacert variables to be passed to kolla-ansible,
      which results in openrc files without the bogus OS_CACERT entry.
      
      Change-Id: Ifa615888b6d8d54c9e6314fd90f3fc4872fc6e5a
      Story: 2007516
      Task: 39299
      ce212cc2
    • 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
  9. Apr 02, 2020
  10. Mar 31, 2020
    • Mark Goddard's avatar
      Don't use become for Kolla Ansible · 939e298c
      Mark Goddard authored
      Using become for all Kolla Ansible tasks is not ideal from a security
      perspective. It is also incompatible with fact caching, since it causes
      facts to be gathered and cached as root, which changes some facts.
      
      This change modifies the default value of kolla_ansible_become to false.
      
      Change-Id: I9ee5c55e59276f70c92e9c698c01123dcf8919a1
      Story: 2007492
      Task: 39217
      939e298c
  11. Mar 30, 2020
    • Doug Szumski's avatar
      Fix loading of Monasca Grafana dashboards · cdc1d5ad
      Doug Szumski authored
      This is a minimal fix to support loading dashboards into the Monasca
      Grafana fork. It firstly aligns the default Monasca Grafana control
      plane organisation and Monasca Grafana local admin username with Kolla
      Ansible to make the feature easier to use. Secondly, it extracts the
      associated OpenStack project name from this variable by stripping off
      the OpenStack domain.
      
      Longer term we may wish to move the dashboard loading functionality into
      Kolla Ansible, now that it supports deploying Monasca.
      
      Affects Rocky onwards.
      
      Change-Id: I77c94edf654565a12ce8be681e3c9b16caa55c86
      Story: 2007477
      Task: 39186
      cdc1d5ad
  12. Mar 28, 2020
  13. Mar 26, 2020
  14. Mar 25, 2020
  15. Mar 23, 2020
  16. Mar 19, 2020
Loading