1. 03 Mar, 2021 1 commit
  2. 01 Mar, 2021 1 commit
  3. 27 Feb, 2021 2 commits
  4. 25 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Fix cinder-backup/swift: readd member to tempest roles · 5d7847cc
      Luigi Toscano authored
      Change I0b6ab9fb943c7b0925a0a0d2490a8bcdfa76cedc removed the 'member'
      user from the default roles assigned to dynamic tempest users.
      This broke cinder-backup with the default swift backend.
      
      Set the full list of roles, including 'creator' which should be
      added by the barbican devstack plugin. Unfortunately the values
      here overrides any other setting.
      
      Change-Id: Id6dc96915f5b15827e6e8f58cc8195a0f76e9686
      5d7847cc
  5. 23 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Use the embedded scenario manager instead of tempest one · 3c5c8a23
      Luigi Toscano authored
      While waiting for tempest scenario manager to stabilize its API,
      a copy of it has been imported, so make sure to use it and to not
      rely on tempest's one (whose API is changing during the stabilization
      process, so it may break anytime).
      
      Just one file needs to change its imports.
      At the same time, fix the import order for another file.
      
      Change-Id: I29c4784d59151948778cad57b7db56a368ed821d
      3c5c8a23
  6. 19 Feb, 2021 3 commits
  7. 09 Feb, 2021 1 commit
    • Luigi Toscano's avatar
      Switch to stestr · 7c47222c
      Luigi Toscano authored
      We don't really have unit tests in the repository and any py3x venv
      would not really be useful (the tests are executed through tempest),
      but let's remove the old dependency anyway and depend on stestr
      like all the other OpenStack projects.
      
      Change-Id: I52d06f1c1e141cb455fb7a823a27be532afb4c16
      7c47222c
  8. 31 Jan, 2021 1 commit
  9. 30 Jan, 2021 1 commit
  10. 29 Jan, 2021 2 commits
    • Rajat Dhasmana's avatar
      Add Snapshot data integrity test · 21d63a3a
      Rajat Dhasmana authored
      This patch adds data integrity tests for snapshot with the following
      procedure :
      
      1) create a volume from image
      2) Boot an instance from the volume
      3) create file on vm and write data into it
      4) create first snapshot
      5) repeat 3
      5) create second snapshot
      6) repeat 3
      7) create third snapshot
      
      Now restore the snapshots one by one into volume, create instances
      from it and check the number of files and file content at each
      point snapshot was created.
      
      We are also temporarily making a copy of tempest scenario manager until
      the actual manager is available for import in tempest plugins.
      
      Change-Id: I5c5ff6f996dd39b52fada82f3938b628e58b0a2c
      21d63a3a
    • Rajat Dhasmana's avatar
      Ignore H101 rule · df4f9471
      Rajat Dhasmana authored
      It doesn't seem to provide any benefit and is also removed from cinder
      project.
      For detailed reason, please look into the commit message of the cinder
      patch[1].
      
      [1] https://opendev.org/openstack/cinder/commit/b0a56ddd252670dadb2c5e3eb0b03bfc7f93623d
      
      Change-Id: I9a7749288706c8b326c1acd0cef6edd5ea91503e
      df4f9471
  11. 21 Jan, 2021 1 commit
    • Lee Yarwood's avatar
      test_volume_encrypted: Stop creating an image for each instance · 3c96bfb4
      Lee Yarwood authored
      An independent image isn't required for these tests and additionally
      isn't required when calling create_server as the lack of an image
      results in CONF.compute.image_ref being used by
      tempest.common.compute.create_test_server [1].
      
      The creation of this image resulted in the nova-ceph-multistore job
      breaking as documented in bug #1912607. This broke as we use the job to
      provide both our core ceph coverage and slightly more edgey topologies
      using Glance multistore and the [workarounds]/ workaround option. This
      option blocking the download of rbd images via g-api when n-cpu can't
      clone the rbd volumes directly, as caused by the image creation in
      test_volume_encrypted.
      
      Iaf6f6e0dbcb25561bf00e969e1964cd30e974e64 is currently skipping any
      encryption test in the nova-ceph-multistore job to workaround bug
       #1912607 for the time being but we would obviously like to revert that
      if possible and expand our coverage.
      
      A follow up change will also propose adding nova-ceph-multistore to the
      gate of this plugin to avoid future breakage.
      
      Related-Bug: #1912607
      
      [1] https://opendev.org/openstack/tempest/src/branch/master/tempest/common/compute.py#L108-L109
      
      Change-Id: I50d3b874b7e0676436c434be6c059f221041560f
      3c96bfb4
  12. 20 Jan, 2021 1 commit
  13. 18 Jan, 2021 1 commit
    • Sofia Enriquez's avatar
      Encryption Test Scenario for clone volume · 5ab3fef7
      Sofia Enriquez authored
      Due to an error in the _setup_encryption_keys volume rekey code, a
      cloned encrypted volume that has been rekeyed will specify an
      encryption key different from the key used to format the volume,
      so it cannot be attached.
      
      This test scenario will cover this feature and also the case of
      source-vol feature.
      
      Related-Bug: #1904440
      Depends-on: https://review.opendev.org/#/c/762884/
      Change-Id: I846b96ef925c34162cf462da91d854ceacabe022
      5ab3fef7
  14. 05 Jan, 2021 2 commits
  15. 18 Nov, 2020 1 commit
  16. 09 Oct, 2020 1 commit
  17. 06 Oct, 2020 1 commit
  18. 24 Sep, 2020 1 commit
  19. 22 Sep, 2020 1 commit
  20. 30 Jul, 2020 1 commit
    • Luigi Toscano's avatar
      Consistency groups: fix the exceptions handling · f1432e10
      Luigi Toscano authored
      = Fix the imports of shared exceptions =
      
      Shared tempest exceptions (like TimeoutException) are defined
      in and exported by tempest.lib, so use them correctly.
      
      = Directly define the exceptions used by this tempest plugin =
      
      While those exceptions have been defined in tempest.lib through
      I62e0ba556b884c94f6e8796a2e6f6d8083277fa4,
      they really belongs to this plugin only, so define them here.
      Other tempest plugins followed the same pattern.
      Moreover, the current import would need to be fixed anyway,
      because it should import the exceptions from tempest.lib.exceptions
      instead of tempest.exceptions.
      
      Closes-Bug: #1858417
      Closes-Bug: #1889537
      Change-Id: Ie54c2a1dc25b647a0f0d10bcad6ba62023986741
      f1432e10
  21. 28 Jul, 2020 1 commit
    • Brian Rosmaita's avatar
      Add test for cinder_img_volume_type image metadata · a75d5e5e
      Brian Rosmaita authored
      When a volume is created from an image with a cinder_img_volume_type
      image property, and a volume_type is not specified in the volume-
      create call, the resulting volume should be the specified volume_type,
      not the default type.
      
      Change-Id: If8edd24ba5183522ebe8202bbf6b62b41b3febe9
      a75d5e5e
  22. 27 Jul, 2020 1 commit
  23. 16 Jul, 2020 2 commits
  24. 05 Jul, 2020 1 commit
  25. 26 Jun, 2020 1 commit
    • Luigi Toscano's avatar
      Disable siblings for the cindelib functional tests · 0ca94af3
      Luigi Toscano authored
      Follow the same pattern of the other jobs which deploy devstack
      but runs also functional tests (see devtack-tox-functional
      and devstack-tox-functional-consumer).
      
      Without this, the older branches where cinderlib functional tests
      use Python 2 (stein, and soon train when that is branched) fails
      because they try to install packages part of which are Python 3
      only.
      
      Change-Id: Ibd2862f30d4c451118fb96d1f56a09fd66b2d75a
      0ca94af3
  26. 27 May, 2020 2 commits
  27. 19 May, 2020 1 commit
    • Rodrigo Barbieri's avatar
      Add test cases for bugs 1869746 and 1873518 · e2eeff1c
      Rodrigo Barbieri authored
      Tests 1 and 2 (negative):
      - Try to create an incremental backup from a backup
        previously created by another tenant (admin/user).
      
      Test 3 (positive):
      - Create backups as different tenants and confirm their
        incremental backups follow the respective parents.
      
      Change-Id: I1d7896d9d7e20f7e6ac816af379f59cc86a3daa6
      Depends-on: Icb621ff5966133f59d9d43ca2dd9f8e1919b1149
      e2eeff1c
  28. 14 May, 2020 1 commit
    • Ghanshyam Mann's avatar
      Fix hacking min version to 3.0.1 · 5f8e8cd1
      Ghanshyam Mann authored
      flake8 new release 3.8.0 added new checks and gate pep8
      job start failing. hacking 3.0.1 fix the pinning of flake8 to
      avoid bringing in a new version with new checks.
      
      Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
      flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
      break the pep8 job if new check are added.
      
      To avoid similar gate break in future, we need to bump the hacking min
      version.
      
      - http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
      
      Change-Id: Ic84db0e885c6560120548ecb2ebc16dde1cd23d1
      5f8e8cd1
  29. 13 May, 2020 1 commit
  30. 06 May, 2020 1 commit
  31. 04 May, 2020 1 commit
    • Andreas Jaeger's avatar
      Cleanup py27 support · 79d13904
      Andreas Jaeger authored
      This repo is now testing only with Python 3, so let's make
      a few cleanups:
      - Remove python 2.7.3 stanza from setup.py
      - Remove obsolete sections from setup.cfg
      - Remove install_command from tox.ini, the default is fine
      - Switch to hacking 3.0, ignore W503 and W504 (as in cinder repo)
      - Use TOX_CONSTRAINTS instead of obsolete UPPER_CONSTRAINTS
      
      Change-Id: Ia623c8af7f03c25bce7e4600693a7e834ab70000
      79d13904
  32. 01 May, 2020 1 commit
  33. 30 Apr, 2020 1 commit