Skip to content
Snippets Groups Projects
  1. Jul 15, 2020
  2. Jul 10, 2020
    • Mark Goddard's avatar
      CI: add prometheus-efk scenario · f44876c4
      Mark Goddard authored
      Tests prometheus, grafana, and centralised logging.
      
      The tests could be improved in future by querying logs in elasticsearch,
      and metrics in prometheus.
      
      Change-Id: Iabad035d583d291169f23be3d71931cb260e87ae
      f44876c4
  3. Jun 25, 2020
    • Michal Nasiadka's avatar
      openvswitch: Use ansible_hostname for system-id · cecdb6a1
      Michal Nasiadka authored
      Currently openvswitch sets system-id based on inventory_hostname, but when
      Ansible inventory contains ip addresses - then it will only take first ip
      octet - resulting in multiple OVN chassis being named i.e. "10".
      Then Neutron and OVN have problems functioning, because a chassis named "10"
      will be created and deleted multiple times per second - this ends up in
      ovsdb and neutron-server processes using up to 100% CPU.
      
      Adding openvswitch role to ovn CI job triggers.
      
      Change-Id: Id22eb3e74867230da02543abd93234a5fb12b31d
      Closes-Bug: #1884734
      cecdb6a1
  4. Jun 14, 2020
    • Radosław Piliszek's avatar
      CI: Add Ubuntu KVM job · 88e7f800
      Radosław Piliszek authored
      This also uses the recommended machinery to set qemu instead
      of relying on config file override so that we test what we
      really want to test.
      
      Change-Id: I560e4f9d0a69c347e6aaf3b970331157c1a56f18
      88e7f800
  5. May 29, 2020
    • Mark Goddard's avatar
      Set previous release to Ussuri · ac9c74bd
      Mark Goddard authored
      Now that the stable/ussuri branch has been cut, we can set the previous
      release to Ussuri. This is done in kolla-ansible for rolling upgrades,
      and in CI configuration for upgrade tests.
      
      Change-Id: I36f252c77339a6b810413810efd6bb32e0b69e29
      ac9c74bd
  6. Apr 28, 2020
    • Marcin Juszkiewicz's avatar
      CI: Fix Debian aarch64 jobs · 30b8eed1
      Marcin Juszkiewicz authored
      Debian defaults to Python2 which is not complete in aarch64 images.
      This patch changes CI to always use Python3.
      
      We need to install several Python modules to have working ussuri jobs.
      
      "Failed to import the required Python library (setuptools) on primary's Python /usr/bin/python3."
      
      And then several Python2 ones for train->ussuri upgrade jobs:
      
      "Unable to find any of pip2 to use. pip needs to be installed."
      
      Change-Id: Ia0d3ff15d97d1cabbb0b8e7f32e8712ca3f94732
      30b8eed1
  7. Apr 16, 2020
  8. Apr 13, 2020
    • Radosław Piliszek's avatar
      CI: Test ironic on nova-cell change · f432e69a
      Radosław Piliszek authored
      This fixes CI regression after nova split into main and cell roles.
      To follow original testing patterns, let's test ironic also when
      nova-cell role changes.
      
      Change-Id: Iaada93fc7b7bf3ed86f9d9198890f199a726b4d8
      f432e69a
  9. Apr 09, 2020
  10. Mar 17, 2020
  11. Feb 26, 2020
  12. Feb 25, 2020
    • Mark Goddard's avatar
      CI: Use upper constraints when installing clients · d8733b29
      Mark Goddard authored
      Clients are starting to release versions that don't support Python 2.
      The ironic scenario is currently failing on stable branches for this
      reason.
      
      Use upper constraints to avoid installing these new versions on stable
      branches.
      
      Change-Id: I4f91b53cbf2297d70da4b54d6c402c1427aacdd9
      d8733b29
  13. Feb 21, 2020
  14. Feb 20, 2020
    • Michal Nasiadka's avatar
      CI: Add linuxbridge jobs · f7bc4d78
      Michal Nasiadka authored
      global_physnet_mtu needs to be set in neutron.conf, because linuxbridge-agent
      discovers underlying vxlan0 interface mtu and returns an error when creating
      vxlan port
      
      CentOS8 job will not be added, because CentOS 8 iptables-ebtables package
      is missing broute (--among-src) tables support required for linuxbridge agent,
      see [1].
      
      [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1720637
      
      Change-Id: I6b12f7ba95401d3342359c57ceeee8bec8aefe49
      f7bc4d78
  15. Feb 13, 2020
  16. Feb 10, 2020
    • Radosław Piliszek's avatar
      CI: Ignore zuul.d · b7ffe4c2
      Radosław Piliszek authored
      Zuul handles jobs updates just fine, no need to run k-a jobs
      when touching zuul.d for different reasons.
      
      Change-Id: I4e4dd1ff26ff46c47c84a9c144d9c91ae3e93a04
      b7ffe4c2
  17. Feb 05, 2020
  18. Jan 28, 2020
    • generalfuzz's avatar
      CI: Add TLS tests · 6404d0e0
      generalfuzz authored
      Add a TLS scenario in zuul to generate self signed certificates and
      to configure TLS to be enabled in the open stack deployment.
      
      Change-Id: If10a23dfa67212e843ef26486c9523074cc920e7
      Partially-Implements: blueprint custom-cacerts
      6404d0e0
  19. Jan 27, 2020
    • Radosław Piliszek's avatar
      CI: Refactor base jobs · beed12f3
      Radosław Piliszek authored
      Since Zuul was restarted after applying [1], we can keep relevant
      files listings in the base jobs per scenario without blocking
      periodic job runs.
      This greatly simplifies the jobs and project definitions.
      
      [1] https://review.opendev.org/678273
      
      Change-Id: If2e4fff6a514e6174709c2fc9f76b103f81a54ae
      beed12f3
  20. Jan 24, 2020
  21. Dec 10, 2019
    • Radosław Piliszek's avatar
      CI: Test Swift · 7714ea72
      Radosław Piliszek authored
      Partially-implements: blueprint kolla-deployment-scenario-testing
      Change-Id: I82266829dba47eac81f440a53706c2e9064b8e62
      7714ea72
  22. Nov 26, 2019
    • Radosław Piliszek's avatar
      CI: Refactor a lot · a2fc6841
      Radosław Piliszek authored
      Separate upgrade logic to is_upgrade job var and rename
      scenarios to match.
      
      Rename "ACTION" to "SCENARIO" (as it is a scenario).
      
      Separate testing of dashboard (aka Horizon) and increase
      its timeout to 5 minutes (CentOS 7 slow as always).
      
      Separate initialization of core OpenStack.
      
      Use gate setup script from ./tests/
      
      Remove useless tox setupenv.
      
      Do not deploy Heat when not really necessary.
      
      Change-Id: I4fca319ccc3de7188f8b7b44c9c71321e3899467
      a2fc6841
  23. Nov 14, 2019
    • Mark Goddard's avatar
      Set previous release to Train · d4f719e9
      Mark Goddard authored
      Now that the stable/train branch has been cut, we can set the previous
      release to Train. This is done in kolla-ansible for rolling upgrades,
      and in CI configuration for upgrade tests.
      
      Change-Id: I9d903543936e59aeeee939b32afce3e63b8c4394
      d4f719e9
  24. Nov 11, 2019
  25. Oct 16, 2019
    • Radosław Piliszek's avatar
      Implement IPv6 support in the control plane · bc053c09
      Radosław Piliszek authored
      Introduce kolla_address filter.
      Introduce put_address_in_context filter.
      
      Add AF config to vars.
      
      Address contexts:
      - raw (default): <ADDR>
      - memcache: inet6:[<ADDR>]
      - url: [<ADDR>]
      
      Other changes:
      
      globals.yml - mention just IP in comment
      
      prechecks/port_checks (api_intf) - kolla_address handles validation
      
      3x interface conditional (swift configs: replication/storage)
      
      2x interface variable definition with hostname
      (haproxy listens; api intf)
      
      1x interface variable definition with hostname with bifrost exclusion
      (baremetal pre-install /etc/hosts; api intf)
      
      neutron's ml2 'overlay_ip_version' set to 6 for IPv6 on tunnel network
      
      basic multinode source CI job for IPv6
      
      prechecks for rabbitmq and qdrouterd use proper NSS database now
      
      MariaDB Galera Cluster WSREP SST mariabackup workaround
      (socat and IPv6)
      
      Ceph naming workaround in CI
      TODO: probably needs documenting
      
      RabbitMQ IPv6-only proto_dist
      
      Ceph ms switch to IPv6 mode
      
      Remove neutron-server ml2_type_vxlan/vxlan_group setting
      as it is not used (let's avoid any confusion)
      and could break setups without proper multicast routing
      if it started working (also IPv4-only)
      
      haproxy upgrade checks for slaves based on ipv6 addresses
      
      TODO:
      
      ovs-dpdk grabs ipv4 network address (w/ prefix len / submask)
      not supported, invalid by default because neutron_external has no address
      No idea whether ovs-dpdk works at all atm.
      
      ml2 for xenapi
      Xen is not supported too well.
      This would require working with XenAPI facts.
      
      rp_filter setting
      This would require meddling with ip6tables (there is no sysctl param).
      By default nothing is dropped.
      Unlikely we really need it.
      
      ironic dnsmasq is configured IPv4-only
      dnsmasq needs DHCPv6 options and testing in vivo.
      
      KNOWN ISSUES (beyond us):
      
      One cannot use IPv6 address to reference the image for docker like we
      currently do, see: https://github.com/moby/moby/issues/39033
      (docker_registry; docker API 400 - invalid reference format)
      workaround: use hostname/FQDN
      
      RabbitMQ may fail to bind to IPv6 if hostname resolves also to IPv4.
      This is due to old RabbitMQ versions available in images.
      IPv4 is preferred by default and may fail in the IPv6-only scenario.
      This should be no problem in real life as IPv6-only is indeed IPv6-only.
      Also, when new RabbitMQ (3.7.16/3.8+) makes it into images, this will
      no longer be relevant as we supply all the necessary config.
      See: https://github.com/rabbitmq/rabbitmq-server/pull/1982
      
      For reliable runs, at least Ansible 2.8 is required (2.8.5 confirmed
      to work well). Older Ansible versions are known to miss IPv6 addresses
      in interface facts. This may affect redeploys, reconfigures and
      upgrades which run after VIP address is assigned.
      See: https://github.com/ansible/ansible/issues/63227
      
      Bifrost Train does not support IPv6 deployments.
      See: https://storyboard.openstack.org/#!/story/2006689
      
      
      
      Change-Id: Ia34e6916ea4f99e9522cd2ddde03a0a4776f7e2c
      Implements: blueprint ipv6-control-plane
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      bc053c09
    • Radosław Piliszek's avatar
      CI: Increase job run attempts to 5 · f3f4a93e
      Radosław Piliszek authored
      Attempts affect pre failures.
      This means we can increase stability of jobs by rejecting nodes
      that fail pre without failing runs at the same time (unless we
      are really unlucky and hit b0rken nodes 5 times in a row).
      
      Change-Id: I17b7f878c742fa8db66f738526855a02ab9f1905
      f3f4a93e
  26. Sep 19, 2019
  27. Aug 16, 2019
    • Radosław Piliszek's avatar
      CI: Zun jobs · d4de1d75
      Radosław Piliszek authored
      - Test Zun on CentOS too
      - Make etcd change also trigger Zun jobs (like kuryr and zun)
      - Test multinode Zun deployments instead of AIO
        (more likely to break)
      - In Zun scenario, stop configuring docker for legacy swarm mode
        (Zun is no swarm)
      - Separate test-zun.sh testing script
      - Show appcontainer to see which node it has been started on
      
      Change-Id: I289b1009fe00aedb9b78cbd83298b14da5fd9670
      Depends-On: https://review.opendev.org/676736
      
      
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      d4de1d75
  28. Jul 04, 2019
  29. Jun 21, 2019
  30. Jun 16, 2019
  31. Jun 11, 2019
    • Mark Goddard's avatar
      Add CI job for ironic · 845040ad
      Mark Goddard authored
      Adds four new CI jobs for testing centos/ubuntu binary/source deploys
      with ironic enabled. These are run only when there are changes to the
      ironic role.
      
      Performs some simple testing by creating a node using the fake-hardware
      hardware type and creating a server.
      
      Change-Id: Ie669e57ce2af53257b4ca05f45193cb73f48827a
      Depends-On: https://review.opendev.org/664011
      845040ad
  32. May 30, 2019
  33. Apr 19, 2019
  34. Apr 08, 2019
    • Mark Goddard's avatar
      Set previous release to Stein · 3e77798f
      Mark Goddard authored
      Now that the stable/stein branch has been cut, we can set the previous
      release to Stein. This is done in kolla-ansible for rolling upgrades,
      and in CI configuration for upgrade tests.
      
      Change-Id: I87269738db9521fc22a6ce3aee67d9ab00d47e2a
      3e77798f
  35. Mar 27, 2019
    • Mark Goddard's avatar
      Test upgrades in CI · c23c9b2c
      Mark Goddard authored
      This patch adds two new jobs:
      
      * kolla-ansible-centos-source-upgrade
      * kolla-ansible-ubuntu-source-upgrade
      
      These jobs first deploy a control plane using the previous release of
      Kolla Ansible, then upgrade to the current release.
      
      Because we can't change the branch of the git repository on the Zuul
      executor, we change the branch of the kolla-ansible repository on the
      primary node to the branch of the previous release, in this case
      stable/rocky. A new remote-template role has been added that supports
      generating templates using a remote template source, to generate config
      files using the previous kolla-ansible branch.
      
      If the change being tested depends on a kolla change for the current
      branch, then we build images. Rather than using the current
      kolla-ansible version to tag the images, we now tag them with
      change_<gerrit change ID>. This is because the version of kolla-ansible
      will change from the previous release to the current one as we upgrade
      the system.
      
      Finally, it should be noted that the 'previous_release' variable in the
      Zuul config needs to be updated with each release, since this sets the
      release of kolla-ansible that is installed initially.
      
      Depends-On: https://review.openstack.org/645089/
      Depends-On: https://review.openstack.org/644250/
      Depends-On: https://review.openstack.org/645816/
      Depends-On: https://review.openstack.org/645840/
      Change-Id: If301e0affcd55360fefe3b105f023ae5c47b0853
      c23c9b2c
  36. Mar 14, 2019
  37. Dec 18, 2018
    • Mark Goddard's avatar
      Add kolla-ansible to zuul job dependencies · 8d523dab
      Mark Goddard authored
      This means we can pull in the job from other repositories without
      explicitly adding the dependency on kolla-ansible in that project.
      
      Change-Id: Ia7e4294508e6d445638c176359a939af32fdfb12
      8d523dab
  38. Nov 08, 2018
    • Eduardo Gonzalez's avatar
      Refactor tests/templates/globals.yml · 26af377a
      Eduardo Gonzalez authored
      Improve where openstack services are deployed
      to a variable, so we will avoid many conditions
      when more CI jobs are added with different configs.
      Heat is enabled by default in globals.yml, lets deploy it
      at least.
      
      Change-Id: If0f009cf434c3ed5874b3171d8c75911ef8e4be1
      26af377a
  39. Sep 19, 2018
    • Mark Goddard's avatar
      Increase CI job timeout to 2 hours · ed8a7b7b
      Mark Goddard authored
      If there is a change to kolla then images are built, which can push the
      job over the existing 1.5 hour timeout. These jobs are also used in the
      kolla CI.
      
      Change-Id: I88a28745cf834376163ced36984c317fce831346
      ed8a7b7b
Loading