1. 12 Nov, 2020 1 commit
    • Erno Kuvaja's avatar
      Ramp up rbd resize to avoid excessive calls · ca0c58b5
      Erno Kuvaja authored
      Change the RBD store to resize the image by up to 8GiB
      at the time to not resize on every write.
      
      Trim the image in Ceph after all data has been written
      to the actual size in case we overshot the resize.
      
      Partial-Bug: #1792710
      Related-to: spec-lite-Ceph-Store-Optimization
      
      Change-Id: I7f0bffda222b663d4316c5d6c03fdbd0d3337035
      (cherry picked from commit c43f19e8)
      ca0c58b5
  2. 31 Jul, 2020 1 commit
    • Luigi Toscano's avatar
      zuul: glance_store-src-ceph-tempest replaces a legacy job · bbd97858
      Luigi Toscano authored
      It replaces legacy-tempest-dsvm-full-ceph-plugin-src-glance_store
      which is defined inside openstack-zuul-jobs.
      It is really a variant of the devstack-plugin-ceph-tempest job.
      
      Remove .zuul.yaml from the ignored file list as in other jobs.
      
      Change-Id: Id9bc9172560421e3ebcbb3842da367ffd9a6bfd4
      (cherry picked from commit 1f50f31c)
      bbd97858
  3. 11 May, 2020 1 commit
    • whoami-rajat's avatar
      Add lock per share for cinder nfs mount/umount · b37e7f2f
      whoami-rajat authored
      With cinder configured as glance store and nfs as cinder backend,
      if we create multiple images concurrently into the same share,
      there might be race conditions.
      This patch ensures a lock per export to avoid the race conditions.
      
      This patch also introduces a reference counting mechamism for unmounting
      which will unmount the share if no active thread/process is using it.
      
      Closes-Bug: #1870289
      
      Change-Id: I9197f64e29a0ae2e0a58186f1a70aa134f7f1db6
      (cherry picked from commit f5d46996)
      b37e7f2f
  4. 08 May, 2020 1 commit
    • Abhishek Kekane's avatar
      Fix: API returns 503 if one of the store is mis-configured · 17b66ab6
      Abhishek Kekane authored
      If user mis-configures one of the multiple stores defined in glance-api
      configuratio file, then service returns 503 for all API requests.
      
      Made provision to exclude faulty store and resume service normally
      to function wiht other configured stores.
      
      Closes-Bug: #1875281
      Change-Id: I685a0ecbfba7cf7dbce3fd2eb84f97bd8ffbfcf3
      (cherry picked from commit 98b90911)
      17b66ab6
  5. 01 Apr, 2020 2 commits
    • OpenStack Release Bot's avatar
      Update TOX/UPPER_CONSTRAINTS_FILE for stable/ussuri · 9693c703
      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/ussuri branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I1f2a1b8de81c5b8cd86881d591b76a7d6e62a5e5
      9693c703
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/ussuri · fb8c548a
      OpenStack Release Bot authored
      Change-Id: If12ea4bf1c880a20a2c312d81c92f6feb79a6c1d
      fb8c548a
  6. 31 Mar, 2020 2 commits
  7. 30 Mar, 2020 2 commits
  8. 27 Mar, 2020 2 commits
    • Rajat Dhasmana's avatar
      Add config for cinder mounting needs · 1a656163
      Rajat Dhasmana authored
      This patch adds a config option 'mount_point_base' by which we can
      provide the mount point for *fs volumes.
      The different types of FS drivers will have separate directory for
      mounting their volumes,
      Eg: <mount_point_base>/nfs, <mount_point_base>/xyzfs etc.
      The default mount point for *fs volumes is /var/lib/glance/mnt/*fs.
      
      Closes-Bug: #1866966
      
      Change-Id: I10b5ea4943ad9388ce1962eae9204b905c8ff24a
      1a656163
    • Zuul's avatar
      Merge "Add S3 store support to glance_store" · 1262d212
      Zuul authored
      1262d212
  9. 26 Mar, 2020 3 commits
    • whoami-rajat's avatar
      Refactor methods in cinder store · 4da861ae
      whoami-rajat authored
      Some of the methods in cinder store are only used by the Store class
      methods and not used outside.
      It makes sense to bound them to the class.
      This refactoring will also help in handling the None imports inside
      the class configure methods which will be done in a followup.
      
      This patch also updates cinderclient version from v2(deprecated) to
      v3(current).
      
      Change-Id: I576b787012e73ebaf3274cfd8c31f79894284891
      4da861ae
    • Zuul's avatar
      934759d7
    • Naohiro Sameshima's avatar
      Add S3 store support to glance_store · 261bad3e
      Naohiro Sameshima authored
      Revive the S3 driver that was supported up to Mitaka and add multiple
      store support to correspond with the features added to glance_store from
      Newton to U cycle. In addition, the use of the S3 SDK used by the Mitaka
      S3 driver has been deprecated, so this implementation will be changed
      to use the new version.
      
      Change-Id: I203134837319080ead96da69048baf90086d2117
      Implements: blueprint re-support-s3-driver
      261bad3e
  10. 12 Mar, 2020 1 commit
  11. 05 Mar, 2020 2 commits
  12. 20 Feb, 2020 2 commits
    • Abhishek Kekane's avatar
      Image upload fails if cinder multipath is enabled · ae73287c
      Abhishek Kekane authored
      Image upload is failing with NoFibreChannelVolumeDeviceFound error after
      configuring cinder backend (HP3Par FC storage) for the glance service. The
      issue here is that usually cinder calls os_brick with multipath information
      but in this case cinder driver of glance is doing the call (without passing
      any multipath information). with hard-coded' False to let os_brick library
      know that multipath is not configured.
      
      In order to fix this, added two new boolean config option for cinder
      driver default to False;
      
      'cinder_use_multipath'
      'cinder_enforce_multipath'
      
      Change-Id: I07064f3cb1a33ac4ac7e4b572f8e1b5c688bd9a3
      Closes-Bug: #1863983
      ae73287c
    • Abhishek Kekane's avatar
      Drop support for tempest-full · d0736144
      Abhishek Kekane authored
      Even after dropping support for py2, tempest-full job is still running
      using python2.
      
      Removed this job from the set of templates.
      
      Change-Id: I4dd93511567ba180d758628ccd0307340ba74fe2
      d0736144
  13. 29 Jan, 2020 1 commit
    • Andrii Ostapenko's avatar
      Restore quotes removal for swift config in Python3 · cb7ddec3
      Andrii Ostapenko authored
      ConfigParser does not remove quotes in Python3 that may break existing
      configuration. This commit restores Python2 behavior and acts as
      oslo.config StrOpt with quotes=True.
      
      Closes-bug: #1839778
      Related-bug: #1839772
      Change-Id: I9e8e7e32b7abf1020081cc3b9fbdf7229403b7bf
      cb7ddec3
  14. 28 Jan, 2020 1 commit
  15. 23 Jan, 2020 1 commit
  16. 22 Jan, 2020 1 commit
  17. 14 Jan, 2020 1 commit
    • Pavlo Shchelokovskyy's avatar
      Re-use swift_store_cacert for Keystone session · ee2a3d30
      Pavlo Shchelokovskyy authored
      pass configured cacert for Swift to the keystoneauth's Session
      as well so that the swift endpoint can be resolved from the catalog
      when a custom CA bundle is used.
      
      Change-Id: I439f6b5af34c685f72c9b4933c7eb0c77cc92e14
      Closes-Bug: #1820817
      ee2a3d30
  18. 06 Jan, 2020 1 commit
  19. 23 Dec, 2019 2 commits
  20. 19 Dec, 2019 1 commit
  21. 09 Dec, 2019 1 commit
  22. 19 Nov, 2019 1 commit
  23. 06 Oct, 2019 1 commit
  24. 02 Oct, 2019 1 commit
  25. 30 Sep, 2019 1 commit
  26. 26 Sep, 2019 1 commit
  27. 25 Sep, 2019 1 commit
  28. 20 Sep, 2019 2 commits
    • OpenStack Release Bot's avatar
      Update master for stable/train · 0bfdbc32
      OpenStack Release Bot authored
      Add file to the reno documentation build to show release notes for
      stable/train.
      
      Use pbr instruction to increment the minor version number
      automatically so that master versions are higher than the versions on
      stable/train.
      
      Change-Id: I604685b7eab4f6bca06317b56ee0f8e854d0466a
      Sem-Ver: feature
      0bfdbc32
    • Erno Kuvaja's avatar
      Register reserved store configs · fe3f02f9
      Erno Kuvaja authored
      The config options for file stores will be registered
      under correct group based on the dict "reserved_stores".
      
      Change-Id: I636e7f8b625056d1c7ee1503ced4dd7628384bfb
      fe3f02f9
  29. 19 Sep, 2019 1 commit
    • asmita singh's avatar
      Remove warning filter · 59f55c69
      asmita singh authored
      Warning filter was enabled while fixing Launchpad bug #1516020 and later
      when deprecation unused exceptions were removed, warning filter wasn't
      removed due to which when glance_store is used by other projects, it
      emits DeprecationWarning messages continuously.
      
      This patch removes the unwanted warning filter.
      
      Change-Id: Ibf227d509e567ccbcf77676277300511de2ad14d
      Closes-Bug: #1844462
      59f55c69
  30. 06 Sep, 2019 1 commit
    • Jake Yip's avatar
      Set zero size only when nothing is written · ff45bb89
      Jake Yip authored
      There is a bug where is_zero_size is set when the loop is exited,
      regardless of whether any data was written in the while loop, making it
      seems like 0 bytes were written.
      
      We need to differentiate an exit with no data written and and exit with,
      so we test if anything was actually written and only set is_zero_size
      when nothing has been written.
      
      Also, bytes_read gets resetted to 0 with the next line seek(0), so we
      check before resetting the file position.
      
      Change-Id: I547bdefe88816db85b5ff510e997980269eac1f7
      ff45bb89