Commit Graph

20799 Commits

Author SHA1 Message Date
Zuul 863e645b91 Merge "Tests: Fix invalid assert calls" 2024-05-22 18:20:18 +00:00
Zuul ccff71a251 Merge "swift backup driver: Ignore 404 during object deletion" 2024-05-21 05:20:38 +00:00
Zuul e5297446a9 Merge "Remove six from Synology driver" 2024-05-20 13:01:59 +00:00
Zuul 01728551d2 Merge "ceph backup: Only warn about striping opts when necessary" 2024-05-20 08:38:53 +00:00
Zuul 0fbd736183 Merge "Remove the duplicate code" 2024-05-18 04:51:00 +00:00
Zuul 1bd50f1c40 Merge "Fix broken backup_swift_service_auth=True" 2024-05-18 04:48:20 +00:00
Zuul 6199583afe Merge "Remove SQLAlchemy tips jobs" 2024-05-17 22:59:54 +00:00
Zuul 983ea9cc1e Merge "Tests: Require moto>=5.0.0" 2024-05-17 22:30:55 +00:00
Zuul c043681eb4 Merge "Remove six from zonemanager module" 2024-05-17 22:30:51 +00:00
Zuul b5aeb41f2f Merge "hacking: Reenable E275" 2024-05-17 18:12:22 +00:00
Zuul d9827b914c Merge "[backup] [ceph] Catch ImageNotFound for incremental backup" 2024-05-17 18:12:18 +00:00
Zuul 327c83a19c Merge "Remove pytz dependency" 2024-05-17 18:12:14 +00:00
Zuul ef51e9b6b5 Merge "Fix fast8 tox env" 2024-05-16 21:10:42 +00:00
Eric Harney 26a9884c2a Fix fast8 tox env
flake8 --diff no longer exists.

Change-Id: Idf93686a13cfc40923bc142cad058c97fecf5177
2024-05-16 10:25:41 -04:00
Stephen Finucane 825d64e41b Remove SQLAlchemy tips jobs
The most recent SQLAlchemy and Alembic versions are now in
upper-constraints. As a result, this job has served its purpose and can
be removed. For more information, see [1].

[1] https://lists.openstack.org/archives/list/openstack-discuss@lists.openstack.org/thread/RBHXHTO3GUOOXVSZXD4C2O3TKDOH2QSC/

Change-Id: I968b393ef22616c4d58b29974ad38f97075915c7
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Depends-on: https://review.opendev.org/c/openstack/requirements/+/879743
2024-05-15 15:33:04 +00:00
Eric Harney 8c9897dd4c Tests: Require moto>=5.0.0
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
2024-05-15 14:42:12 +00:00
Zuul 6e71a67f4d Merge "StorPool: drop _attach_volume() and _detach_volume()" 2024-05-13 20:13:27 +00:00
Eric Harney 89a0c76692 ceph backup: Only warn about striping opts when necessary
Only issue this warning message if the striping options
were enabled.

Change-Id: I4116412db30602260049a4129cdfbbc5d5c20c73
2024-05-09 11:35:44 -04:00
Eric Harney 7afc7ae2ac Remove pytz dependency
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
2024-05-10 00:11:15 +09:00
Zuul e9c18c7f94 Merge "Support hacking 6.1.0" 2024-05-03 19:51:51 +00:00
inspur-storage ad60b0b3d5 Remove the duplicate code
Change-Id: I1b0695f843f2dc41e12d74ee74ced67e4a95f609
2024-04-28 09:08:01 +08:00
OpenStack Proposal Bot ed1c931d0e Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Ic1629e32a00d78a3def8ca3e23e4a16bf2b89fa2
2024-04-25 02:20:24 +00:00
Zuul 79629c346e Merge "Mark nexenta_encryption option as deprecated" 2024-04-24 16:56:24 +00:00
Tobias Urdin 820f31ec40 [backup] [ceph] Catch ImageNotFound for incremental backup
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
2024-04-22 14:44:59 +02:00
Zuul e28867ba8d Merge "Fujitsu driver: Improve volume deletion" 2024-04-19 17:54:31 +00:00
Zuul 7e9626404c Merge "docs: Migrate docs from cinderclient to OSC (part 1)" 2024-04-19 16:36:16 +00:00
Zuul d7994a9912 Merge "[docs] Add recheck advice" 2024-04-19 16:36:12 +00:00
Zuul 83c3e8e0e3 Merge "Update CI for Dalmatian" 2024-04-19 16:36:06 +00:00
Stephen Finucane 0770da095f docs: Migrate docs from cinderclient to OSC (part 1)
Fix a couple of outdated references along the way.

Change-Id: I9a7fb660bfd622ccdfb40bc6936493c87f6a1d25
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2024-04-19 15:06:11 +01:00
Takashi Kajinami 9ff29a649e Fix broken backup_swift_service_auth=True
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
2024-04-17 10:51:25 +00:00
Takashi Kajinami a34ded4873 swift backup driver: Ignore 404 during object deletion
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
2024-04-17 19:43:56 +09:00
Zuul b36142602e Merge "Fix snapshot status is always backing-up" 2024-04-15 19:37:04 +00:00
Zuul d46e2ebbd7 Merge "Ceph: Catch more failure conditions on volume backup" 2024-04-12 16:37:09 +00:00
zhaoyixin 7f819854d2 Fix snapshot status is always backing-up
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
2024-04-12 17:01:17 +02:00
Brian Rosmaita f3a63ed6fa [docs] update gerrit group info
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
2024-04-11 08:43:01 -04:00
Brian Rosmaita 823eb77939 Update CI for Dalmatian
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
2024-04-10 09:18:58 -04:00
Zuul b0f0b9015b Merge "hacking: Fix E501 errors" 2024-04-04 06:09:58 +00:00
Zuul 08adeda490 Merge "Remove six from Huawei drivers" 2024-04-04 04:29:56 +00:00
Eric Harney b87d45b3c8 hacking: Reenable E275
Get up to speed with current Python style.

Change-Id: Ib9f9a8bc6720ca8e1b916b2fa1583982859b08ae
2024-04-03 12:16:34 -04:00
Eric Harney df5b1fd5b5 Support hacking 6.1.0
This skips E275 for now, which is re-enabled
in a subsequent patch.

Change-Id: I4657d46d27ecfc45299d398cd2f3848fbc64b5b5
2024-04-03 12:15:22 -04:00
Eric Harney 6ae44ce501 hacking: Fix E501 errors
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
2024-04-03 12:07:11 -04:00
Zuul c0d824dd0e Merge "Imported Translations from Zanata" 2024-04-03 14:59:47 +00:00
inori 07dd49babe Fujitsu driver: Improve volume deletion
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
2024-04-01 16:59:40 +08:00
Zuul 54856da910 Merge "PowerMax: Allow live migration without pool name" 2024-03-28 06:42:03 +00:00
Eric Harney e958d746f5 Mark nexenta_encryption option as deprecated
This option doesn't do anything, was used by a
driver removed in the Train release.

Change-Id: Ia241027e0fb31c00e80d088f11ab50c375407519
2024-03-26 14:34:14 +00:00
cuiyeliu 9a470d41f4 PowerMax: Allow live migration without pool name
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
2024-03-26 09:08:02 +00:00
Zuul 00e59c7d1d Merge "Dell PowerMax: Fix SnapVx unlink failure" 2024-03-24 16:41:51 +00:00
Zuul 273175720f Merge "HPE 3par: Unable to create clone of replicated vol" 2024-03-22 10:09:46 +00:00
Yian Zong 03ac369854 Dell PowerMax: Fix SnapVx unlink failure
Dell PowerMax SnapVx unlink fails as the linked device
is not yet fully defined.
This patch fixed the issue by checking the new configuration
'snapvx_unlink_symforce' and the linked device 'defined' status
to determine the value of 'symforce' in the payload of
SnapVx unlink restcall.

Closes-Bug: #2045230
Change-Id: I614f6aef2d4da76c417b4a143ab80e4a5f716dcd
2024-03-21 14:05:31 +00:00
Brian Rosmaita a7c2df7acc [docs] Add recheck advice
Add some general info about gate tests and a link to the recheck
section of the project team guide.

Change-Id: Iedd11fa49489c9c855cf33ebc221fcbf218fa2a7
2024-03-20 10:12:31 -04:00