1. 03 Jun, 2022 2 commits
  2. 02 Jun, 2022 1 commit
  3. 25 May, 2022 1 commit
    • Brian Rosmaita's avatar
      Bump Image API version to 2.16 · 55c000ee
      Brian Rosmaita authored
      This API version increment is due to change I6a875a38bef5, which
      corrected the response code for the admin-only API call:
          PUT /v2/cache/{image_id}
      The call now returns 202 upon success (it had been returning 200).
      
      The intent of this version bump is to get the attention of operators
      to take note of this change; from now on, the call always returns 202
      upon success regardless of what API version you request.
      
      Additionally, cleaned up some version tests that had gotten out of
      date and were not thoroughly testing version negotiation.
      
      Also, corrected the version negotiation code around the v2.13 API.
      The versions response had been modified by change I6882fd2381e6 to
      only include v2.13 when the 'enabled_backends' config option had a
      value, but the versions negotiation code was not updated to reflect
      that.
      
      Change-Id: I0cf35ed7e21497826cd581e59aa58774f030b9f6
      Related-bug: #1971521
      (cherry picked from commit 11989a18)
      55c000ee
  4. 23 May, 2022 1 commit
  5. 17 May, 2022 1 commit
    • Dan Smith's avatar
      Fix failing namespace list delete race · cc98dbef
      Dan Smith authored
      If a namespace is deleted by another client while we are doing a
      namespace list operation, we will fail the list with NotFound if we
      try to pull the resource_type_associations list. The latter re-queries
      the DB for the namespace and will raise NotFound to us. This is
      especially bad because the namespace being deleted need not even
      belong to the caller of the list, as is the case in a tempest run.
      
      This makes us catch the failure and continue the operation, reporting
      no associations so that the client gets a consistent view and no
      error.
      
      Closes-Bug: #1973631
      Change-Id: I09fc9164a08f42507d2aec44c5b382a72f232571
      (cherry picked from commit 35e6c57b)
      cc98dbef
  6. 11 May, 2022 2 commits
    • Mridula Joshi's avatar
      Added cli_opts and cache_opts · e943645f
      Mridula Joshi authored
      It is observed that 'cli_opts' and 'cache_opts' from
      glance/common/wsgi.py are not picked up by the configgen nor listed
      through the functions in glance/opts.py.
      This patch adds these options to support configgen to pick all groups
      from wsgi.py.
      
      Closes-Bug: #1972666
      Change-Id: I81156e32517b03577c09d489b6eb5d19769600a3
      (cherry picked from commit c9d7ecdb)
      e943645f
    • Abhishek Kekane's avatar
      [APIImpact] Correct API response code for PUT /v2/cache/{image_id} · 9043efc5
      Abhishek Kekane authored
      PUT /v2/cache/{image_id} returns HTTP 200 response code to user but as per
      proposal it should be HTTP 202. This change returns HTTP 202 response to
      user.
      
      Closes-Bug: #1971521
      Change-Id: I6a875a38bef5beafe352ab3320f3fd199db89aa1
      (cherry picked from commit ecb040c1)
      9043efc5
  7. 09 May, 2022 1 commit
    • Elod Illes's avatar
      [CI] Add upper constraints to install command · 49d25474
      Elod Illes authored
      In cases when a package is installed in tox's develop-inst phase upper
      constraints are not used if it were not defined in 'deps' of the tox
      target. This caused for example 'tox -e docs' to fail in case a package
      introduced some branch incompatible change.
      
      There are two option to fix this:
      * add the upper constraints to 'deps' of the target (and pre-install
        requirements for some cases) OR
      * use it in the install_command
      
      In the past the latter needed some extra attention (due to e.g. lower
      constraints tests) and projects were encouraged to remove the
      install_command, but nowadays this seems better fitting for some
      project and easier to use. So this patch fixes the upper constraints
      usage via the custom install_command and by removing it from 'deps'.
      
      Conflicts:
        tox.ini
      
      NOTE(elod.illes): conflict is due to branch specific upper constraints
      link and variable name change (UPPER_* to TOX_*).
      
      Change-Id: Iae07e1c5abde09874928951ac55c2d0355bcd244
      (cherry picked from commit 36aedba2)
      49d25474
  8. 03 Mar, 2022 2 commits
    • OpenStack Release Bot's avatar
      Update TOX_CONSTRAINTS_FILE for stable/yoga · 1beee78e
      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/yoga branch, tests will
      continue to use the upper-constraints list on master.
      
      Change-Id: I3ecd68ff47d92654b213b1d849b4ef88538525e7
      1beee78e
    • OpenStack Release Bot's avatar
      Update .gitreview for stable/yoga · c7e1b3b4
      OpenStack Release Bot authored
      Change-Id: Icdaae6f16af1fb3b99ecc6584a63815c925b2892
      c7e1b3b4
  9. 02 Mar, 2022 2 commits
  10. 01 Mar, 2022 2 commits
    • Brian Rosmaita's avatar
      Change default value for [wsgi]/python_interpreter · daa602ba
      Brian Rosmaita authored
      The default value is being set too early.  We don't want to use
      the value of sys.executable at the time the config is generated,
      because that's unlikely to map to an existing interpreter in an
      actual deployment.
      
      Change-Id: Ic40f582f83e04c6915a3fcb231d6d95ca071c100
      Closes-bug: #1962581
      daa602ba
    • Erno Kuvaja's avatar
      Sync example configs for Yoga · 69a4de82
      Erno Kuvaja authored
      Some updates in configs, especially deprecation message for db
      threading.
      
      Change-Id: I62efa836a5e02641ac12ae7d786e1bee79ebb487
      69a4de82
  11. 24 Feb, 2022 1 commit
  12. 17 Feb, 2022 1 commit
  13. 16 Feb, 2022 7 commits
  14. 15 Feb, 2022 3 commits
  15. 14 Feb, 2022 4 commits
  16. 12 Feb, 2022 1 commit
  17. 11 Feb, 2022 1 commit
    • Ade Lee's avatar
      Make FIPS job non-voting · 0457ab20
      Ade Lee authored
      Temporarily make the FIPS job non-voting till we figure out why
      its failing. Restore the non-fips version of the cinder job so
      we keep the coverage.
      
      Change-Id: I1a9dbd087cca52798f0d01c62ebb47e37f52d87a
      0457ab20
  18. 10 Feb, 2022 1 commit
    • Brian Rosmaita's avatar
      Update migration constant · ba5f556d
      Brian Rosmaita authored
      Update the data migration current release to 'yoga'.  Include a
      semver pseudo-header in this commit message so that pbr will
      increment the major version number, otherwise
      glance.tests.unit.gate.test_data_migration_version will break.
      
      Also add a reminder about this to the release cycle tasks list.
      
      Change-Id: Ibdbeb752d29afeb48628587442577ab139be9ac9
      Sem-Ver: api-break
      ba5f556d
  19. 08 Feb, 2022 2 commits
  20. 07 Feb, 2022 2 commits
  21. 03 Feb, 2022 2 commits
    • Ade Lee's avatar
      Add fips check jobs · 0f13754f
      Ade Lee authored
      Some jobs have been modified to run to confirm that functionality is
      still working when FIPS is enabled on the nodes.
      
      As the FIPS tests currently run on centos nodes, code is added
      to the test-setup script to set up the databases correctly.  Also had
      to increase the swap space on the nodes; see [0] for an explanation.
      
      The current FIPS jobs run using python 3.6 on centos-8-stream.  We will
      modify these to run on centos-9-stream and python 3.9 in a
      subsequent patch.
      
      [0] https://review.opendev.org/c/openstack/devstack/+/803706
      
      Change-Id: I060d8247c7b09f63990ea411e6c6a056bb50410d
      0f13754f
    • Dan Smith's avatar
      [APIImpact] Quota usage API · f865b8ca
      Dan Smith authored
      This adds a /v2/info/usage API endpoint which exposes to the user
      their current limits and usage.
      
      The discovery API does not (appear to) have existing tests, so this
      adds a module for that, although only usage tests are added currently.
      
      Implements: blueprint quota-api
      Change-Id: I50c98bac50f815bdb9baae024e77afd388f74554
      f865b8ca