1. 13 Sep, 2021 1 commit
  2. 09 Sep, 2021 1 commit
  3. 05 Aug, 2021 1 commit
  4. 08 Jul, 2021 1 commit
    • Erno Kuvaja's avatar
      Revert "Remove all usage of keystoneclient" · 3139ef39
      Erno Kuvaja authored
      This reverts commit 810417df.
      
      The Swift driver not being able to use Trusts had nothing to do
      about the store driver itself nor that keystoneauth1 would have
      broken the feature, but rather it not having the functionality
      in the first place and us not catching that on reviews.
      
      We should figure out how to test this before we try to replace
      this code again.
      
      Change-Id: If12a013404296486dc387b099477d1608b24ba63
      Closes-Bug: #1916052
      (cherry picked from commit 9b683678)
      3139ef39
  5. 01 Apr, 2021 1 commit
  6. 31 Mar, 2021 1 commit
  7. 24 Mar, 2021 3 commits
    • Dan Smith's avatar
      Drop lower-constraints jobs · 0f6f5166
      Dan Smith authored
      Change-Id: I774569d4788c7c67273fbe72757af07813c62f1d
      0f6f5166
    • Dan Smith's avatar
      Add housekeeping module and staging cleaner · 94679941
      Dan Smith authored
      As noted in previous discussions, glance should clean its staging
      directory on startup. This is important for scenarios where we
      started an import operation, but failed in the middle. If, when we
      recover, the image has already been deleted from the database, then
      we will never remove the (potentially very large) residue from disk
      in our staging directory.
      
      This is currently a problem with web-download, but will also occur
      with glance-direct once we have the non-shared distributed import
      functionality merged.
      
      Conflicts:
      	glance/tests/unit/common/test_wsgi_app.py: Minor differences
      
      Closes-Bug: #1913625
      Change-Id: Ib80e9cfb58680f9e8ead5993dc206f4da882dd09
      (cherry picked from commit 232177e6)
      94679941
    • Dan Smith's avatar
      Make functional tests set node_staging_uri · 8e216b49
      Dan Smith authored
      Currently it is not possible to configure the staging directory
      URI of the functional workers. We need to be able to do that in order
      to enable the stage cleaning behavior. Right now, they're all sharing
      /tmp/staging, which will cause workers to conflict while running in
      parallel. This causes them to use their private test directory,
      which may also help some other spurious failures due to interaction.
      
      Related-Bug: #1913625
      Change-Id: Ic2ac2a528206c50c38e948a096daf9eb8e5eb715
      (cherry picked from commit e9852fb6)
      8e216b49
  8. 18 Mar, 2021 3 commits
    • Dan Smith's avatar
      Make web-download revert all stores on fail · 9cb3240b
      Dan Smith authored
      If web-download fails to stage the image, no subsequent import to
      store tasks could have run. Thus, we should remove all of them from
      "importing" and add them to "failed" so that it is obvious from the
      outside that we failed.
      
      This is another good reason for having the $image/tasks API, but we
      also should not continue advertising "yes we're importing to $store"
      when we are not.
      
      NOTE(lyarwood): This includes a partial squashed revert of the
      .zuul.yaml changes in Ifd55c44fef4e2187052d77084dc9c0fa9c9a0d16 that
      removed nova-ceph-multistore. This is reintroduced here to ensure this
      change resolves the stable/victoria specific bug #1919993 and the
      original bug #1914826.
      
      Change-Id: Iebbb2dcb767ecf3c965f34f1ca04af20a2039be1
      Closes-Bug: #1914826
      Closes-Bug: #1919993
      (cherry picked from commit cbb2af6e)
      9cb3240b
    • Dan Smith's avatar
      Pass ImageActionWrapper to internal plugins · 43d41159
      Dan Smith authored
      The _internal_plugins/* tasks are not getting passed the
      ImportActionWrapper, and thus are doing things against the image
      that do not respect the task lock, nor apply multiple updates
      atomically.
      
      This fixes that and brings them in line with the base tasks, using the
      wrapper for things like getting the image_id. The copy_image task
      looks at the image for a few other things that are not exposed out
      of the wrapper, so I left the image_repo.get() in that task until I
      can extend it. They are read-only though, so not a big deal.
      
      The web-download test also was not passing the right options to
      that task (confusing task_repo and image_repo), which this cleans
      up as well. It was also missing validation of the code that reverts
      the state to 'queued' when web-download fails, so that is added here
      as well.
      
      Change-Id: I6db86b3e17a6a2f78745b40381b9419fb4404a4e
      Related-Bug: #1914826
      (cherry picked from commit 68646db3)
      43d41159
    • Lee Yarwood's avatar
      Bump lower_constraints and requirements · 50880051
      Lee Yarwood authored
      This is to unblock the stuck gate due to the lower_constraints
      job failing.
      
      NOTE(lyarwood): This change also drops the nova-ceph-multistore job
      while we work on fixing it via Iebbb2dcb767ecf3c965f34f1ca04af20a2039be1
      
      Change-Id: Ifd55c44fef4e2187052d77084dc9c0fa9c9a0d16
      (cherry picked from commit 795dad76)
      50880051
  9. 06 Oct, 2020 2 commits
  10. 30 Sep, 2020 1 commit
  11. 24 Sep, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/victoria · df5f854d
      OpenStack Release Bot authored
      Update the URL to the upper-constraints file to point to the redirect
      rule on releases.openstack.org so that anyone working on this branch
      will switch to the correct upper-constraints list automatically when
      the requirements repository branches.
      
      Until the requirements repository has as stable/victoria branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I48eaa8e7dd63be0708081795f15f71fb2d21ae5b
      df5f854d
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/victoria · ce548b9b
      OpenStack Release Bot authored
      Change-Id: I65c1cc05a1680e9b6002b25ba7b9c867875467c7
      ce548b9b
  12. 23 Sep, 2020 2 commits
  13. 22 Sep, 2020 3 commits
  14. 18 Sep, 2020 1 commit
  15. 17 Sep, 2020 3 commits
  16. 15 Sep, 2020 1 commit
  17. 14 Sep, 2020 1 commit
    • Dan Smith's avatar
      Run the nova-ceph-multistore job against glance · 1a9b3458
      Dan Smith authored
      Nova has a job where both nova and glance are configured for multistore
      ceph, and where the image gets automatically copied from the file to
      rbd stores on first use. Run that on glance to get the coverage for
      it as well.
      
      Change-Id: I9c734fabaabe78ea8f7e77d0aa2112ebe867ecb6
      1a9b3458
  18. 11 Sep, 2020 1 commit
  19. 10 Sep, 2020 1 commit
  20. 09 Sep, 2020 2 commits
  21. 08 Sep, 2020 2 commits
  22. 07 Sep, 2020 1 commit
    • whoami-rajat's avatar
      Support cinder multiple stores · 98a1e792
      whoami-rajat authored
      This patch updates the location URL of the legacy images while
      upgrading from single cinder store to multiple stores.
      It does that with the help of lazy loading logic i.e. while
      GET images call, it checks the location URL and metadata
      of the image against the configured store ids and updates
      images to respective stores on the basis of volume type (comparing
      image-volume's type with the configured cinder_volume_type).
      Legacy image URL:
      cinder://<volume-id>
      New image URL:
      cinder://<store-id>/<volume-id>
      
      NOTE: bumping lower-constraints/requirements of glance-store to 2.3.0 as
      it includes changes[1] that are a hard requirement for cinder multiple
      stores to work with glance
      
      [1] https://review.opendev.org/#/c/746556/
      
      Change-Id: I087a89c20813378fea8ff22ddf81d7a10c220db3
      Implements: blueprint multiple-cinder-backend-support
      98a1e792
  23. 03 Sep, 2020 3 commits
  24. 02 Sep, 2020 2 commits