* Update freezer-api from branch 'master'
to 4659000ce229cf60e72ca284d4c158a2c1fb0a55
- Remove python-dev from bindep
It is no longer supported by jammy and lead us to the following errors with the announce-release job.
```
No package matching 'python-dev' is available
```
Change-Id: I113f1f43718f954001b3e9f40c77f6115d754c4f
* Update freezer-api from branch 'master'
to 6c06dc58f3cf897cc4134b040d02264203ce8e9b
- Merge "Dropped the python 3.6/3.7 in zed cycle testing runtime"
- Dropped the python 3.6/3.7 in zed cycle testing runtime
In Zed cycle, we have dropped the python 3.6/3.7[1] testing
and its support.
[1] https://governance.openstack.org/tc/reference/runtimes/zed.html
Change-Id: Ic8cf4bf0ba12043d15e1ff31832f42cc14b3e021
* Update freezer-api from branch 'master'
to c2f619f635bfd4cb06b3d033c2371712c515bd99
- Add arm ci jobs
Add arm ci jobs "openstack-python3-zed-jobs-arm64"
Change-Id: Ie1823b36c491f2c6250ec876d3ff71e3fbab532a
* Update freezer-api from branch 'master'
to 3c30a07ce7d1b416ded2d1be68d9cd6e897ab906
- Merge "Add zed unit tests"
- Add zed unit tests
Add zed unit tests.
Change-Id: I6a9f7bb3d03c18344ad8fa5ca15c26f98fe7879a
* Update freezer-api from branch 'master'
to f0f05aa655c02d286e202ad95fa4524f4fa3b065
- 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: If00bb30589291414c13babb544869e67f3bb7c87
* Update freezer-api from branch 'master'
to 6b364fd0256b2a14381c12b59148fe47ed2e27be
- Merge "Updating python testing classifier as per Yoga testing runtime"
- Updating python testing classifier as per Yoga testing runtime
Yoga testing runtime[1] has been updated to add py39
testing as voting. Unit tests update are handled by the
job template change in openstack-zuul-job
- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286
this commit updates the classifier in setup.cfg file.
[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html
Change-Id: I59a40580f93bf8c133e0492659f2e3364aa71a4d
* Update freezer-api from branch 'master'
to 2b5a26c470b3d76cd7be854889b505408fb64562
- Drop lower-constraints.txt and its testing
As discussed in TC PTG[1] and TC resolution[2], we are
dropping the lower-constraints.txt file and its testing.
We will keep lower bounds in the requirements.txt file but
with a note that these are not tested lower bounds and we
try our best to keep them updated.
[1] https://etherpad.opendev.org/p/tc-zed-ptg#L326
[2] https://governance.openstack.org/tc/resolutions/20220414-drop-lower-constraints.html#proposal
Change-Id: Ie267542391366180089979e539c977c8e9f7550f
* Update freezer-api from branch 'master'
to 8a477ffd8bab1c1f74061e1a9cb6b8b5573cba7c
- Merge "Install paste file with PIP package"
- Install paste file with PIP package
For people using freezer it might be useful to retrieve api-paste
file with package rather then looking for it in the repo.
Change-Id: Ib18f00cd9c6aee4ab49f55a1f48f2388574b8fa4
* Update freezer-api from branch 'master'
to 29dd109cbcce500cae697c70c016f52ac88bdaa5
- Delete the func of build_app_v0()
The func of def build_app_v0 is not used any more.
Delete it.
Change-Id: I1d26cfc2f398cbf219adf59e2582096cb0600e73
* Update freezer-api from branch 'master'
to 92844f55e615c74ffbc5c31de080e5d133341e54
- Add python3.9 CI
Add python3.9 CI in tox.ini.
Change-Id: Ida07a13f5dcc152817bf2dd9353ad40f3dc61cbf
* Update freezer-api from branch 'master'
to aa80bb77c8f14c5d5269f9fc574b53990c69492b
- Update gate CI
Add openstack-python3-yoga-jobs in .zuul.yaml
Change-Id: I814ce6b77d357574b86cceebd04978ccbe1f0cd1
* Update freezer-api from branch 'master'
to 8e672881663fffc523a52b388b98c71f66dd5f4b
- Remove unuseful func
Remove unuseful func and fix unit test error.
Change-Id: Ibf2a60ac110a95e4cccdc73d9edb7522d6c7b43b
* Update freezer-api from branch 'master'
to ee8fc485e7228c0cdb66998ebb69713adb01a869
- Merge "[ussuri][goal] Update contributor documentation"
- [ussuri][goal] Update contributor documentation
This patch updates/adds the contributor documentation to follow
the guidelines of the Ussuri cycle community goal[1].
[1] https://governance.openstack.org/tc/goals/selected/ussuri/project-ptl-and-contrib-docs.html
Story: #2007236
Task: #38522
Change-Id: I16738f205ae235d9d8af2e54395d7decefded7d0
* Update freezer-api from branch 'master'
to 19891aaf19b66c0db26a2bb6355d3d8ba9fd1e33
- Merge "setup.cfg: Replace dashes with underscores"
- 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: I684486e308850c3cefef64314bea01f813d196f6
* Update freezer-api from branch 'master'
to 22d20337a83858b9274f5605fc03ad27563861f9
- Fix the error for the module of falcon
File "/home/zuul/src/opendev.org/openstack/freezer-api/freezer_api/common/exceptions.py", line 73, in handle
status=falcon.status.HTTP_404,
AttributeError: module 'falcon' has no attribute 'status'
Change-Id: I3b77a5a3799f066ef189862e75de24b4c25c0569
* Update freezer-api from branch 'master'
to e02a4928176cb3816074d7f8a76d6024ce3acf56
- [goal] Deprecate the JSON formatted policy file
As per the community goal of migrating the policy file
the format from JSON to YAML[1], we need to do two things:
1. Change the default value of '[oslo_policy] policy_file''
config option from 'policy.json' to 'policy.yaml' with
upgrade checks.
2. Deprecate the JSON formatted policy file on the project side
via warning in doc and releasenotes.
Also replace policy.json to policy.yaml ref from doc.
[1]https://governance.openstack.org/tc/goals/selected/wallaby/migrate-policy-format-from-json-to-yaml.html
Change-Id: I066488c47e1bb6502b27b8677988113f66b9b09b
* Update freezer-api from branch 'master'
to 719a3feb6012942dc46944805cf115132f3ecf46
- Fix a bug when unit test use the local conf O
AttributeError: 'Connection' object has no attribute 'iterdump'
Change-Id: I1bca4617d6d57dd6d62e38b11a109dc87cc6bfcd
* Update freezer-api from branch 'master'
to c87d9cb29d1e28749ecc2a8baa4bf3f18c0e4dd2
- Fix devstack install error
With the removal of screen support,tail_log is deprecated and removed after Queens.
Change-Id: Ia0dadd6cb403e98c988c99935d32804df9b7ed59
* Update freezer-api from branch 'master'
- Remove unuseful yaml files for zuul V2 CI jobs.
The project CI jobs have Migrated to Zuul V3 CI jobs.
Remove these yaml files for zuul v2 CI jobs.
Change-Id: I59bef0e9d072e50a1da9c12b41f6971914ad55bb
* Update freezer-api from branch 'master'
- 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: I1570feb65a279a49133fd70ee3bde6be8a3921ef
* Update freezer-api from branch 'master'
- 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: I8d4159761acd6468bb5b8c57c6e84497f115c9a4
Sem-Ver: feature
* Update freezer-api from branch 'master'
- Merge "[goal] Migrate testing to ubuntu focal"
- [goal] Migrate testing to ubuntu focal
As per victoria cycle testing runtime and community goal[1]
we need to migrate upstream CI/CD to Ubuntu Focal(20.04).
Fixing:
- bug#1886298
Bump the lower constraints for required deps which added python3.8 support
in their later version.
Depends-On: https://review.opendev.org/#/c/743085/
[1] https://governance.openstack.org/tc/goals/selected/victoria/migrate-ci-cd-jobs-to-ubuntu-focal.h>
Change-Id: I482ac98bc56f0e3cfb8b767f47649da11ed1afab
Story: #2007865
Task: #40184
* Update freezer-api from branch 'master'
- zuul: use the freezer-tempest-plugins jobs and cleanup
- use the jobs already defined inside freezer-tempest-plugins
instead of redefining them locally, as they are the same;
- remove the other legacy jobs, as they are not used and
the jobs from freezer-tempest-plugins could be directly used
or adapted if needed.
Change-Id: Iacc4c218c29d44dabbf2bc933291790e7c9b7480
* Update freezer-api from branch 'master'
- Overriding configured project name (freezer-api)
[openstackdocstheme] overriding configured project name (freezer-api) with
name extracted from the package (freezer-api); you can disable this
behavior with the 'openstackdocs_auto_name' option
Change-Id: Icbe9ceff6ad25dc353a3c574f32b26bc007c7294
* Update freezer-api from branch 'master'
- Fix docs output error
writing output... [ 33%] cli/freezer-manager-status
[openstackdocstheme] the 'repository_name' config option has been deprecated
and replaced by the 'openstackdocs_repo_name' option; support for the former
will be dropped in a future release
[openstackdocstheme] the 'bug_project' config option has been deprecated and
replaced by the 'openstackdocs_bug_project' option; support for the former
will be dropped in a future release
[openstackdocstheme] the 'bug_tag' config option has been deprecated and
replaced by the 'openstackdocs_bug_tag' option; support for the former will
be dropped in a future release
writing output... [ 66%] cli/index
writing output... [100%] index
Change-Id: I55903e4f914673aba5ac986b845c2a6504830c19
* Update freezer-api from branch 'master'
- Add py38 in tox.
In new release, the project is used python38 to replace python37,
so drop py37,add py38 in tox.
Change-Id: Ie08f9bbb98cd21ebace4cc32c6090f2aa249738d
* Update freezer-api from branch 'master'
- Use setstr to execute unittest test
The stestr[1] is parallel Python test runner designed to execute unittest test suites using multiple processes.
Test cases can be executed faster.
[1]https://github.com/mtreinish/stestr
Change-Id: Ic0b210685535f94a70a175385afdd9f399f4d690
* Update freezer-api from branch 'master'
- Fix hacking min version to 3.0.1
flake8 new release 3.8.0 added new checks and gate pep8
job start failing. hacking 3.0.1 fix the pinning of flake8 to
avoid bringing in a new version with new checks.
Though it is fixed in latest hacking but 2.0 and 3.0 has cap for
flake8 as <4.0.0 which mean flake8 new version 3.9.0 can also
break the pep8 job if new check are added.
To avoid similar gate break in future, we need to bump the hacking min
version.
- http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014828.html
Change-Id: Id3437e183fd4065d900f1b667a6599d5c2d9b987
* Update freezer-api from branch 'master'
- Merge "Add Python3 victoria unit tests"
- 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: I0a4ea9fd989cb553a5c7c7be0e6631b6cc3b0a50
* Update freezer-api from branch 'master'
- Merge "Update master for stable/ussuri"
- 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: I1aa6e163fbb1f19210609a6247f2167eab02fad7
Sem-Ver: feature
* Update freezer-api from branch 'master'
- tox: Keeping going with docs
Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name
suggests, keeps the build running when it encounters non-fatal errors.
This is exceptionally useful in avoiding a continuous edit-build loop
when undertaking large doc reworks where multiple errors may be
introduced.
[1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045
Change-Id: I582af8ad8f9a6b05f5a245a155b87be6e2d63874
* Update freezer-api from branch 'master'
- Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.
Fix problems found.
Remove hacking and friends from lower-constraints, they are not needed
for installation.
Change-Id: Ibc3b00aca7332f12b58893213acfc88749b74aa1
* Update freezer-api from branch 'master'
- Cleanup py27 support
This repo is now testing only with Python 3, so let's make
a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Update requirements, no need for python_version anymore
- Switch to using sphinx-build. Remove extra build step
from docs build - api-ref is build separate.
- Cleanup doc/source/conf.py to remove now obsolete content.
- Use newer openstackdocstheme version
- Remove install_command from tox.ini, the default is fine
Change-Id: I7bb95a8ebd7023046baae30595159254bac25690
* Update freezer-api from branch 'master'
- 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: I749d6ebdef9163ffa3135778a4accbb8be5ba9e3
* Update freezer-api from branch 'master'
- Fix freezer-api's src_file to path_to_backup
Freezer-api is not working as it is expected, returning NULL value
for src_file option in freezer_action's json returned from API.
In other words when user define action via freezer client and define
valid and WORKING action JSON with option path_to_backup
(src_file is not supported by freezer-agent anymore).
In DB we can see backup_metadata is filled correctly,
freezer-scheduler/freezer-agent working correctly as they are reading
backup_metadata. Problem is that API is still returning json with
src_file set tu NULL because src_file is not present in backup_metada,
therefore is not filled in src_file column in action table.
Src_file option was changed to path_to_backup in freezer git repository
below, but API was never changed, this patch is fixing this behaviour.
Freezer's change :
c7f71ff70b
Doc changes in freezer:
https://review.opendev.org/#/c/705003/
Change-Id: I9e74910bd0ff4ad18b830c26ce90770b0dfa107b
* Update freezer-api from branch 'master'
- Merge "Remove six usage from freezer_api package"
- Remove six usage from freezer_api package
We don't support Python 2 anymore so we don't need this
compatibility library.
Convert six usage to Python3 code.
Change-Id: Iadf47e805c8d0dd32239456e69d8fdc78f77f30d