* 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
* Update adjutant from branch 'master'
to df8c3e4a8b70be8697ac46f0acec9169752b4698
- Update documentation to reflect newer OpenStack and confspirator
Change-Id: I06c30af22222f067d5630492a3e053a510fd7b69
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* Update adjutant from branch 'master'
to bee1e42c9f1e54688558e299272556514402f5b2
- Fix notification overlay not working correctly
Change-Id: If1b1421a6a9ebe054824076416f6fbc87160bc2a
* 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
* 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
* 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
* 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
* 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
* Update adjutant from branch 'master'
to d9045e4b105a3b88067c7f30915ca92fa697f150
- Update formatting because of black version
Change-Id: If43c4256e1b452fc160750f492d2d6fdcb44d389
* Update adjutant from branch 'master'
to ad19ed13b65b583e65b5a19e04a0f0403c366b09
- remove mysqlclient from requirements
Change-Id: I59fc91858375b5bc3ae1bfd29409a1dcbc8b3e17
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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>
* 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
* 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
* 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
* 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
* 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>
* 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>
* 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
* 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