Moto 5.0.0 introduces changes which need to be
handled in the s3 backup driver unit tests.
Remove the code that handled older versions of
moto.
Change-Id: I29435c63ab57c5730f12d3fefde2149a52235636
Use built-in zoneinfo lib which was introduced
in Python 3.9.
Adds a requirement on tzdata to ensure that tzdata is
installed if not provided by the system.
See more details in
https://review.opendev.org/c/openstack/requirements/+/875854
Change-Id: If4b711c45ca8a4ec3ec13623597739cc095c0352
When doing an incremental backup and it gets scheduled to a node
that does not have access to the base backup we leak the entire
RBD message into the fail_reason field of the volume backup.
[errno 2] RBD image not found (error opening image
b'volume-e4cdd6d1-e5b5-4f86-b201-f6dace37432d.backup.f60c5a19-509c-4d8c-bb78-e11c7d3c5a3f'
at snapshot None)
This changes so that we instead return a message that the base
backup image was not found.
Change-Id: Ic87a96c4502925a9f9a3d0a41aa852ac32843626
Fix a couple of outdated references along the way.
Change-Id: I9a7fb660bfd622ccdfb40bc6936493c87f6a1d25
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Fix the missing session argument so that swift backup driver to
resolve the TypeError raised in swift object access. The error makes
the swift back driver consistently fail during backup/restore
operation.
Closes-Bug: #2058596
Change-Id: I80f2cd614ba7277a28fa8a4a429fef983113f0fb
Swift may return 404 to object deletion even though the object is (or
will be) actually removed, and 404 can be treated as success.
Closes-Bug: #2061988
Change-Id: I3a60cb5951b072d2c184fe1bc6dbc765cd46642a
This patch adds a snapshot clean operation in the
cleanup_incomplete_backup_operations process of c-bak.
Co-Authored-by: Christian Rohmann <christian.rohmann@inovex.de>
Closes-Bug: #1938488
Change-Id: Ifa3d572139fc37c94e3b50a02e61c9818a1b6501
The cinder-core gerrit group is configured directly in project-config
to act as openstackclient/openstackSDK "service cores". Add info to
the cinder-groups document so that we know where to look if this needs
to be changed or adjusted in the future.
Change-Id: I6b626604f9ff573ab59fd4867fdee7a0178ed7f0
Updates:
- run py311 func job in gate (was py310)
- add py312 testenvs to tox.ini
- did not remove py38 testenvs from tox.ini
- removed py38 classifier from setup.cfg, but did not change
python_requires (currently it's >=3.8)
Python 3.12 unit tests will run non-voting in the gate as part of the
openstack-python3-jobs template. Python 3.10 coverage is being handled
by tempest running in Ubuntu 22.04.
Change-Id: I72ec22780d36ea3e56386ae2bd74bf5b9806731c
https://github.com/PyCQA/pycodestyle/issues/622 was fixed
in pycodestyle 2.4.0, which triggers E501 for docstrings
that didn't previously.
This shows up if we pull in a hacking>=6.0.0.
Change-Id: Id3c8a66c26f01ca734e6bc33c14f5deedf8e15f3
To improve the volume deletion process, add a step to check associated
copy sessions. Additionally, it also improves the process of retrieving
storage-managed volume numbers.
There was a problem where the volume could not be deleted because the
copy session information acquired by SMI-S IF from ETERNUS DX Storage,
which was cached and did not reflect the information that had just
been executed.
This problem has been addressed through improvements in information
retrieval.
Change-Id: I21d5c1fa4f13e688a5f73535c8d6fdec613adc03
This change is to update the live migration ability in environments
using PowerMax. In previous 2023.1 version, the live migration fails
without a pool name.
The update adds the ability of live migration without a pool name.
Change-Id: Iad767cd516c8527136508470629236f68e0c7cc2
Closes-Bug: #2034937