Commit Graph

78 Commits

Author SHA1 Message Date
Callum Dickinson 64e7d428cc Update git submodules
* Update adjutant from branch 'master'
  to 8deababd1b1639400485903d88d15252c0a14b6c
  - Simplify Adjutant bindep dependencies
    
    Remove bindep dependencies that are not required for building Adjutant:
    
    * Python 2 (no longer supported)
    * MySQL/MariaDB client (only the client library development package is required)
    * MySQL/MariaDB server (unused)
    
    Change-Id: Ife1ec591d18befb29ef4565a42ebd0f706ec0e56
2023-11-30 01:42:06 +00:00
Dale Smith fb1317da18 Update git submodules
* Update adjutant from branch 'master'
  to df8c3e4a8b70be8697ac46f0acec9169752b4698
  - Update documentation to reflect newer OpenStack and confspirator
    
    Change-Id: I06c30af22222f067d5630492a3e053a510fd7b69
2023-01-04 08:23:28 +00:00
Dale Smith 2909d972fa Update git submodules
* Update adjutant from branch 'master'
  to 6b1856b4eb43f56010988fd464d3077de5c765fd
  - Support tox4, update style to match Black 23.1a1
    
    This aligns code with https://github.com/psf/black/pull/3302
    
    Depends-On: https://review.opendev.org/866943
    Change-Id: Icfbca2fab8adeb677b980d01f797f194f580838e
2023-01-04 07:34:39 +00:00
OpenStack Release Bot b0f359dd91 Update git submodules
* Update adjutant from branch 'master'
  to a84d0da6329cddf57b699f05bc43e09aa1a15f2d
  - Update master for stable/zed
    
    Add file to the reno documentation build to show release notes for
    stable/zed.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/zed.
    
    Sem-Ver: feature
    Change-Id: I367fa70f3868e6d2ba17c034c4091977d7a8379d
2022-12-09 03:17:51 +00:00
Zuul a42bdb071d Update git submodules
* Update adjutant from branch 'master'
  to 5951ccdd9157fe59f2ee0c6f4b88f1e972fbf707
  - Merge "Update master for stable/yoga"
  - Update master for stable/yoga
    
    Add file to the reno documentation build to show release notes for
    stable/yoga.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/yoga.
    
    Sem-Ver: feature
    Change-Id: I22f4f074ea6c4fec6f792a87d74debe522aaaa13
2022-12-09 02:40:04 +00:00
LiZekun 4ce00c6186 Update git submodules
* Update adjutant from branch 'master'
  to af317c37ad10105cce150eeed2812b934fcbceed
  - setup.cfg: Replace dashes with underscores
    
    Setuptools v54.1.0 introduces a warning that the use of dash-separated
    options in 'setup.cfg' will not be supported in a future version [1].
    Get ahead of the issue by replacing the dashes with underscores. Without
    this, we see 'UserWarning' messages like the following on new enough
    versions of setuptools:
    
      UserWarning: Usage of dash-separated 'description-file' will not be
      supported in future versions. Please use the underscore name
      'description_file' instead
    
    [1] https://github.com/pypa/setuptools/commit/a2e9ae4cb
    
    Change-Id: I08c7cfa28cffe1d82889c9133ec33a8a2e4b560e
2022-12-09 02:40:01 +00:00
LiZekun 8bbe8e5299 Update git submodules
* Update adjutant from branch 'master'
  to 8d9cdb6e8e192a4e27f73de9dc57083b0114474e
  - Update python testing classifier
    
    Change-Id: I52eb71cc414f80b63eaa1f79c79b2b3b8000fbd3
2022-12-09 02:36:46 +00:00
Dale Smith 8c49064d59 Update git submodules
* Update adjutant from branch 'master'
  to 8ae383f9fe61fcfdf7aba5d8375b18a93769eb30
  - Fix gates for Antelope and update Django
    
    * Zuul deprecated (and now removed) declaring shared queues at a pipeline
      level [1]. This patch fixes the syntax to make the gate work for
      adjutant.
    * Updates Django version to allow upper-constraints version
    * Fix Django 3.2 warnings
    * Fix flake8 errors
    * Remove support for Python 3.6, Python 3.7
    
    [1] https://lists.openstack.org/pipermail/openstack-discuss/2022-May/028603.html
    
    Change-Id: Ic369b59bb062df867d78b006f06e48cf9c98a3ee
2022-12-07 07:03:32 +00:00
Zuul 129ef9e136 Update git submodules
* Update adjutant from branch 'master'
  to b305d7285f3ea2e12210e592702c4d66a31d6646
  - Merge "Fix some issues with updating user email defaults"
  - Fix some issues with updating user email defaults
    
    Change-Id: I8d33f0b0f13eba64569a17836bb2ca5ffb9f1c93
2021-10-26 06:52:13 +00:00
Adrian Turjak d21fee63b8 Update git submodules
* Update adjutant from branch 'master'
  to ab7f8115d45de5eb4ea76eda0996a559f6b4b508
  - Fix an issue with Adjutant's Invite process not checking inherited roles
    
    Adjutant's InviteUser action was not correctly checking inherited roles
    which might allow someone to invite/create another user with roles outside
    of those they inviting user can manage.
    
    Change-Id: I1f45da4ce5ee6d1295a17767c432875c23106b15
    Story: #2009326
2021-10-26 03:34:17 +00:00
Adrian Turjak e4afdb2ba0 Update git submodules
* Update adjutant from branch 'master'
  to bee1e42c9f1e54688558e299272556514402f5b2
  - Fix notification overlay not working correctly
    
    Change-Id: If1b1421a6a9ebe054824076416f6fbc87160bc2a
2021-09-30 08:44:20 +00:00
Adrian Turjak 12373173e0 Update git submodules
* Update adjutant from branch 'master'
  to 97880c9364e4e51f840546a9dc9673b13d50016d
  - Change wrong template/subject default for quota update emails
    
    Change-Id: I562454fc5bae4ec3d3201d22fe935cbf727cbf10
2021-09-23 09:48:39 +00:00
OpenStack Release Bot b7803899e9 Update git submodules
* Update adjutant from branch 'master'
  to a3ce558ec1b3e5ca5c7ad0a3a3e72a40d848e10d
  - Add Python3 yoga unit tests
    
    This is an automatically generated patch to ensure unit testing
    is in place for all the of the tested runtimes for yoga.
    
    See also the PTI in governance [1].
    
    [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
    
    Change-Id: I54370601772d381b17c53840cf4fbbabd9e3e894
2021-09-17 22:54:57 +00:00
OpenStack Release Bot 38a26a13c7 Update git submodules
* Update adjutant from branch 'master'
  to ec9c87a0dc7f068726aeb7c3ddb7062642864f0d
  - Update master for stable/xena
    
    Add file to the reno documentation build to show release notes for
    stable/xena.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/xena.
    
    Sem-Ver: feature
    Change-Id: Ic5e920c741aecb41bef462c1db035a1b143e112b
2021-09-17 22:50:04 +00:00
Zuul c612e7bbad Update git submodules
* Update adjutant from branch 'master'
  to a712ee2c20e3c34751ed4f49012bd0dc35d6adf3
  - Merge "Update master for stable/wallaby"
  - Update master for stable/wallaby
    
    Add file to the reno documentation build to show release notes for
    stable/wallaby.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/wallaby.
    
    Sem-Ver: feature
    Change-Id: I12a97ab09cc76180e9e55db0052c2fe986abeb9d
2021-09-14 01:24:28 +00:00
OpenStack Release Bot bb43cb8c6d Update git submodules
* Update adjutant from branch 'master'
  to 8c6f0130ac571df296aafa2600fd75cb9754c930
  - Add Python3 xena unit tests
    
    This is an automatically generated patch to ensure unit testing
    is in place for all the of the tested runtimes for xena.
    
    See also the PTI in governance [1].
    
    [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
    
    Change-Id: I11174e264236584b2d37d67defb507591c34f569
2021-09-13 09:37:48 +00:00
Jonathan Herlin 4364daee81 Update git submodules
* Update adjutant from branch 'master'
  to 7aa1fc69c31cf66e824875b24da10d1d6a1941e9
  - Change default volume API to v3
    
    Volumes v2 API was deprecated in pike and v3(.0)
     is identical to v2 API.
    v3 was introduced in Mitaka
    
    Change-Id: I38613145ae4234956f36184eb62feb8e95647113
2021-09-06 04:24:23 +00:00
Adrian Turjak 6c58334c04 Update git submodules
* Update adjutant from branch 'master'
  to d9045e4b105a3b88067c7f30915ca92fa697f150
  - Update formatting because of black version
    
    Change-Id: If43c4256e1b452fc160750f492d2d6fdcb44d389
2021-06-01 23:48:24 +00:00
Adrian Turjak 80b2575d63 Update git submodules
* Update adjutant from branch 'master'
  to ad19ed13b65b583e65b5a19e04a0f0403c366b09
  - remove mysqlclient from requirements
    
    Change-Id: I59fc91858375b5bc3ae1bfd29409a1dcbc8b3e17
2021-03-15 02:46:05 +00:00
Adrian Turjak a22e752e03 Update git submodules
* Update adjutant from branch 'master'
  to d703a634a4d71b54957a3a554797dc5b78aad566
  - Fix a bug with feature set config not being added as expected
    
    The feature set config group was entirely missed from the config
    tree, and the group itself wasn't setup for lazy_loading despite
    needing to be based on when it is meant to have config added to it.
    
    Change-Id: Ia9569ebb76ffe91d592dbc94bc528bde4aa00fc4
2021-02-26 04:34:37 +00:00
Zuul 3939eaf8ce Update git submodules
* Update adjutant from branch 'master'
  to 1d5c474dc80cc5465fbaf96645318933ccee7204
  - Merge "Fix pluralisation of quotas in api-ref"
  - Fix pluralisation of quotas in api-ref
    
    Change-Id: I4f9b2b5462e75c3b06666cbe4e7c2304434567b1
2021-02-18 23:13:19 +00:00
Jonathan Herlin efdbbb2086 Update git submodules
* Update adjutant from branch 'master'
  to 758a1406b8c0e6f1a158e9593bb6351125c9c9ff
  - Rename git-blame-ignore-revs
    
    It contains a space at the end of the filename, which is not clearly shown in git
    '.git-blame-ignore-revs '
    
    Change-Id: I0833fcae36177913e3088211e4ab0d755aae3fc2
2021-02-18 23:11:26 +00:00
Adrian Turjak e200313377 Update git submodules
* Update adjutant from branch 'master'
  to 1795ac71c31b0553857b3310c8554f4732bfda87
  - Fix an issue when username_is_email=False for Quotas
    
    The email function was incorrectly trying to get the user email
    when sending out a quota update email. This has been fixed, and
    a test added to confirm.
    
    Change-Id: Id76af3ff50f752764a0ea25281443104d44adeb1
2021-02-16 23:37:46 +00:00
Zuul 053e523a07 Update git submodules
* Update adjutant from branch 'master'
  to e940fd49256eb60f61b8e85c2abbf1b6f634d245
  - Merge "Add service helper for trove quota management"
  - Add service helper for trove quota management
    
    Change-Id: Ib09692b1451f1493394af755cbcd14cc96a36b02
2021-01-22 02:03:46 +00:00
Uriel Medina 064419fa45 Update git submodules
* Update adjutant from branch 'master'
  to 84270add343d06202e6680de7556ab4aba9d168f
  - Make identity interface configurable
    
    Keystone middleware sets the default identity interface as "internal".
    This was causing issues with DevStack where "internal" endpoints
    weren't being created.
    
    We added a new config for interface, and have it default to 'public'.
    
    Task: 41593
    Story: 2008515
    Change-Id: Ib8e546d5fbfbcb561e5b139893605d05c1a8ad62
2021-01-21 00:52:35 +00:00
Zuul 7615a0c4dc Update git submodules
* Update adjutant from branch 'master'
  to bf27115ad2e4f5ae7bbc24ade49eb65e9250a37e
  - Merge "Add Python3 wallaby unit tests"
  - Add Python3 wallaby unit tests
    
    This is an automatically generated patch to ensure unit testing
    is in place for all the of the tested runtimes for wallaby.
    
    See also the PTI in governance [1].
    
    [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
    
    Change-Id: Ia2326c21b65ebdb91d9916f172307ee6785124e6
2021-01-12 21:45:59 +00:00
Zuul 5270f5a8ae Update git submodules
* Update adjutant from branch 'master'
  to 1470c9accd51d9b667de5e324c813c6f912b5551
  - Merge "Update master for stable/victoria"
  - Update master for stable/victoria
    
    Add file to the reno documentation build to show release notes for
    stable/victoria.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/victoria.
    
    Change-Id: Ic4b699a80fa5b118ccd4515037031c0109cb9d12
    Sem-Ver: feature
2021-01-12 21:45:34 +00:00
Zuul 2363fe6af6 Update git submodules
* Update adjutant from branch 'master'
  to 8206df81d48d029142d17edc8e1332eda654ce4b
  - Merge "Fixed typos in nova and neutron quota output"
  - Fixed typos in nova and neutron quota output
    
    The Nova and Neutron quota helper objects output the quota data with
    the word 'secuirty' instead of 'security' in the key name. Adjutant-ui,
    nova and neutron (among others) look for the keys with the correct
    spelling. No other instance of the typo appears to exist in other
    modules.
    
    APIImpact: some keys returned by Adjutant are now correctly spelled
    Change-Id: Idf2953027765119d70720592ccc1187472854fad
2021-01-12 21:44:28 +00:00
zhangboye 781f4ac87f Update git submodules
* Update adjutant from branch 'master'
  to eda6558b89608dc25a217cbb5625f63755989818
  - Add Victoria release info
    
    Add the lack of release information for Victoria, this patch added it.
    
    Change-Id: I0b4f89cd89fd0645e27291b6613fd231d6a69feb
2021-01-06 08:47:13 +00:00
Adrian Turjak a44a571521 Update git submodules
* Update adjutant from branch 'master'
  - Allow authenticated token requirement for tasks
    
    Tasks when defined can now set if they require the user submitting
    a token to be authenticated.
    
    keystone_user is now passed to actions when a token
    is submitted. This requires all actions to update their submit
    function, but a suitable fallthrough will exist for a cycle to
    allow time.
    
    Also fixes a minor issue around where error handling for
    renamed or deprecated tasks is handled that cropped up
    while testing this patch.
    
    Change-Id: I4b51201872cb5a14f299f90e22a8b010d11a71cb
2020-09-17 23:52:58 +00:00
Adrian Turjak c5bb07ac93 Update git submodules
* Update adjutant from branch 'master'
  - Ignore blame for Black formatting update
    
    Change-Id: I7ac842feb948a9d1fe3144e3d6f57e561b531272
2020-09-17 03:44:22 +00:00
Adrian Turjak cab9f41a1d Update git submodules
* Update adjutant from branch 'master'
  - Reformat with updated version of black formatter
    
    Change-Id: I74aea5668c3027cff4d2f3ecb6de456e60bb6129
2020-09-17 03:40:13 +00:00
Adrian Turjak fd3a402d73 Update git submodules
* Update adjutant from branch 'master'
  - Update CONFspirator with example and toml support
    
    Example config generation now is in CONFspirator so we can instead
    use that.
    
    We now also natively get toml support through the new version of the
    library.
    
    Change-Id: Ic3a46d075dd83e11ee3cccc1ad2bbdb81005c60d
2020-08-10 01:48:53 +00:00
melissaml ce46104c7e Update git submodules
* Update adjutant from branch 'master'
  - Fix pygments style
    
    New theme of docs respects pygments_style.
    
    more info: http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
    
    Change-Id: I0247f2e6e76d9995f1720eac8be180e64c5bf243
2020-06-23 22:32:21 +00:00
Hervé Beraud ab1a29c568 Update git submodules
* Update adjutant from branch 'master'
  - Stop to use the __future__ module.
    
    The __future__ module [1] was used in this context to ensure compatibility
    between python 2 and python 3.
    
    We previously dropped the support of python 2.7 [2] and now we only support
    python 3 so we don't need to continue to use this module and the imports
    listed below.
    
    Imports commonly used and their related PEPs:
    - `division` is related to PEP 238 [3]
    - `print_function` is related to PEP 3105 [4]
    - `unicode_literals` is related to PEP 3112 [5]
    - `with_statement` is related to PEP 343 [6]
    - `absolute_import` is related to PEP 328 [7]
    
    [1] https://docs.python.org/3/library/__future__.html
    [2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
    [3] https://www.python.org/dev/peps/pep-0238
    [4] https://www.python.org/dev/peps/pep-3105
    [5] https://www.python.org/dev/peps/pep-3112
    [6] https://www.python.org/dev/peps/pep-0343
    [7] https://www.python.org/dev/peps/pep-0328
    
    Change-Id: Ie859ac36b1dcc4bc08e43eef3d6ed4399033f9f4
2020-06-23 03:16:30 +00:00
Andreas Jaeger 8fd07eadec Update git submodules
* Update adjutant from branch 'master'
  - Switch to newer openstackdocstheme and reno versions
    
    Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
    these versions will allow especially:
    * Linking from HTML to PDF document
    * Allow parallel building of documents
    * Fix some rendering problems
    
    Update Sphinx version as well.
    
    Disable openstackdocs_auto_name to use 'project' variable as name.
    
    openstackdocstheme renames some variables, so follow the renames
    before the next release removes them. A couple of variables are also
    not needed anymore, remove them.
    
    See also
    http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html
    
    Change-Id: Ic5488acc81538c1dbde70fcc52d9175e3b98059a
2020-05-29 01:29:06 +00:00
Sean McGinnis ce13c0d9c5 Update git submodules
* Update adjutant from branch 'master'
  - Add py38 package metadata
    
    Now that we are running the Victoria tests that include a
    voting py38, we can now add the Python 3.8 metadata to the
    package information to reflect that support.
    
    Change-Id: Ie131fba4cee8b50612cbba7632079a64ccdd6e75
    Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-06 00:17:51 +00:00
Adrian Turjak fb751faea4 Update git submodules
* Update adjutant from branch 'master'
  - Add pyc cleanup and black check to tox
    
    Change-Id: Ie9343ea5993f9075fdae7f8d6e965095b59d4fb2
2020-05-05 23:52:02 +00:00
Adrian Turjak a52c6d9107 Update git submodules
* Update adjutant from branch 'master'
  - Fix migration ordering issue
    
    The task model rework has some migration ordering issues,
    this fixes that and ensures action migrations don't
    continue until other steps are done.
    
    Change-Id: I3c3669a12e5d5d6b11fdf0e49b14894468287b6a
2020-05-05 23:51:59 +00:00
Zuul 12926fdfab Update git submodules
* Update adjutant from branch 'master'
  - Merge "Community goal contributing docs"
  - Community goal contributing docs
    
    Change-Id: I71084e1b81d64d7afe0d14647177afeb223d4ed7
    Story: #2007236
    Task: #38513
2020-05-05 22:00:42 +00:00
OpenStack Release Bot e138e47b25 Update git submodules
* Update adjutant from branch 'master'
  - Add Python3 victoria unit tests
    
    This is an automatically generated patch to ensure unit testing
    is in place for all the of the tested runtimes for victoria.
    
    See also the PTI in governance [1].
    
    [1]: https://governance.openstack.org/tc/reference/project-testing-interface.html
    
    Change-Id: I7f2b148d4ac374faaa0ba3a203c1a96c55ff7953
2020-04-30 22:56:59 +00:00
OpenStack Release Bot 0d749dbb51 Update git submodules
* Update adjutant from branch 'master'
  - Update master for stable/ussuri
    
    Add file to the reno documentation build to show release notes for
    stable/ussuri.
    
    Use pbr instruction to increment the minor version number
    automatically so that master versions are higher than the versions on
    stable/ussuri.
    
    Change-Id: I1b536589b0961d633a3fd3638cbddbce006d7f7a
    Sem-Ver: feature
2020-04-30 22:54:41 +00:00
Zuul 78a2b07c02 Update git submodules
* Update adjutant from branch 'master'
  - Merge "Update for Python 3"
  - Update for Python 3
    
    This repo is now Python 3 only, make a few updates:
    * Move basepython to testenv
    * Require newer tox version and ignore base conflicts
    * update openstackdocstheme and sphinx versions
    * Use newer TOX_x for constraints
    
    Change-Id: I1407b408bee9e848243a60d40fd7df90bf1705d1
2020-04-29 08:08:43 +00:00
Zuul 3f4f3721f3 Update git submodules
* Update adjutant from branch 'master'
  - Merge "Use unittest.mock instead of third party mock"
  - Use unittest.mock instead of third party mock
    
    Now that we no longer support py27, we can use the standard library
    unittest.mock module instead of the third party mock lib.
    
    Change-Id: Ida2ec7793c3863836e1c626eb72e0aa9f48b6810
    Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-29 07:28:55 +00:00
Sean McGinnis 2f8eea84fa Update git submodules
* Update adjutant from branch 'master'
  - Use constraints for installing doc requirements
    
    The docs and related tox targets were installing requirements
    unconstrained. This adds enforcement of upper constraints.
    
    Change-Id: Ia5bd8369d0b3facf51783236b5d1d3e9c7599c53
    Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-29 07:24:19 +00:00
Adrian Turjak aaa235c419 Update git submodules
* Update adjutant from branch 'master'
  - Add tests for Black, and ignore reformat blame
    
    Change-Id: Ie6c6933a46c4aedf559713d37900ecd617e93885
2020-02-21 02:21:45 +00:00
Adrian Turjak ba4939e85a Update git submodules
* Update adjutant from branch 'master'
  - Reformat code using the Black style linter
    
    Change-Id: I55cf016fe073e92fe4466f38b95ebdcd9ec58e84
2020-02-21 02:21:33 +00:00
Adrian Turjak eae248a9c7 Update git submodules
* Update adjutant from branch 'master'
  - Use Django's SECURE_PROXY_SSL_HEADER and add config
    
    When behind a proxy like HAProxy, we need a way to have
    Django correctly know if the incoming request was actually
    coming via HTTPS so when Adjutant returns generated URLs
    of itself, it can correctly mark them as HTTPS.
    
    This fixes and issue with the version URLs not being returned
    as HTTPS when they should be.
    
    Change-Id: I9824eadb9927a5d44f11c381fbe2b1576ffb66c0
2020-02-20 23:17:37 +00:00
Adrian Turjak 8a4fb2f90e Update git submodules
* Update adjutant from branch 'master'
  - Add extra notes to EditUserRolesAction
    
    Add an extra note which explains why the action
    is invalid if not all roles are manageable, as
    otherwise it is unclear why the action was invalid.
    
    Change-Id: I4bc368cf16fca50135977b22c8a96aacd9740890
2020-02-19 02:43:11 +00:00
Adrian Turjak 68230565af Update git submodules
* Update adjutant from branch 'master'
  - Update to Django 2.2, drop py2 support
    
    OpenStack is dropping the py2.7 support in Ussuri cycle.
    
    Adjutant is also upgrading to Django 2.2 at the same time
    which is the new Django LTS, and only supports python 3.
    
    Complete discussion & schedule can be found in
    -
    http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
    - https://etherpad.openstack.org/p/drop-python2-support
    
    Ussuri Communtiy-wide goal:
    https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
    
    Ussuri Communtiy-wide goal:
    https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
    
    Change-Id: I2a429ebd6bc20385e814da03b222a1f61214a683
2020-02-19 02:15:38 +00:00