Currently the RBD store/backend doesn't report the FSID field.
To include the FSID field, we need a connection to the RBD cluster.
Luckily, while initializing the RBD store, we fetch the FSID and
put it in the _url_prefix field (given fsid and pool info are available).
We just need to fetch it from the _url_prefix field and return it
in the response.
If FSID is not set in the RBD store, we return NULL value.
This is required for the effort of optimizing the upload volume to
image operation from cinder RBD to glance RBD backend.
Partial-Implements: blueprint optimize-upload-volume-to-rbd-store
Change-Id: I3e7dc11bc632ca0f3e134e0bca7eb2442bf797ca
olso.policy 4.5.0[1] changed the config options policy_file
default value to 'policy.yaml', which means it is changed
for all the OpenStack services and they do not need to
override the default anymore.
NOTE: There is no change in behaviour here, oslo.policy provides
the same configuration that services have overridden till now.
[1] https://review.opendev.org/c/openstack/releases/+/934012
[2] https://review.opendev.org/c/openstack/requirements/+/934295
Change-Id: Ia48842d0e0254bc2185716a3199ec7f810374f5d
As per 2025.1 testing runtime[1], we need to test on Ubuntu
Noble (which will be taken care by tempest and devstack
patches to move base jobs to Noble (depends-On)) and at least single
job to run on Ubutnu Jammy (for smooth upgrade from previous
releases).
This commit keep rbac default job continue running on Jammy
which can be moved to noble in next cycle.
Depends-On: https://review.opendev.org/c/openstack/tempest/+/932156
[1] https://governance.openstack.org/tc/reference/runtimes/2025.1.html
Change-Id: Id1d9282ede1c89ce71db18dccf9a37bd3e058edf
The datetime.utcfromtimestamp() and datetime.utcnow()
are deprecated in Python 3.12.
Replace datetime.utcfromtimestamp() with datetime.fromtimestamp().
Replace datetime.utcnow() with oslo_utils.timeutils.utcnow() or
datetime.now().
This removes glance's in-tree 'delta_seconds' and 'utcnow'
implementation and replaces the delta_seconds implementation
with oslo_utils.timeutils.delta_seconds().
Change-Id: I509594dd29a8e50ad94b3c53e8f55037b3548add
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
This reverts commit 704b24fd67b6d3dee5f1f42f9b793832b4b47bf4.
Reason for revert: We can revert this as the main fix is released now
https://review.opendev.org/c/openstack/releases/+/933578
Change-Id: I013e5a90a4dd5b6ba436b9f57ffe88fdc29eb326
Windows OS support was deprecated in 2024.1 cycle because Winstackers
project was retired[1]. Remove the support now to get rid of os-win
which was also abandoned.
[1] a8bed388f26eb383449b4d040c4da84671587fb9
Change-Id: I737279c93a6231ebf2e8c87810040ce48622f4fc
This allows deployment tooling to easily switch from passing a binary
path to passing a Python module path. We'll use it shortly.
Change-Id: Ia67d3b1b2e80b8b2096cb86ba85f47047e89a3d2
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This is a workaround to set the default volumes quota to 50.
The correct way is to release the openstackclient fix[1].
Until the OSC fix is released, this patch will unblock gate.
[1] https://review.opendev.org/c/openstack/releases/+/933578
Change-Id: Iaafcbd4ff858bf905b51d80bfda89e8a59b235e4
When using Cinder as Glance backend, we can run into an issue
when using the same image to create multiple resources.
Example: creating 10 bootable volumes from an image
This happens because, by default, Image-Volumes (storing the
image) does not allow to be attached multiple times causing
the issue to not being able to use the same image concurrently.
This patch adds a doc section to configure multi-attach volume
types to be used for Image-Volumes to prevent the above issue.
Change-Id: Idcfaffe0a3f1a030ccffd6a5fc5e7b6523ae015a
This has not been true since we merged
3988a9956e40a5b2f739eb8851ccb1d0b431a2e8 .
Closes-Bug: #1668791
Change-Id: I217d998a63d3d31ead0432e9661a422ee1913a88
This code worked around a bug in eventlet[1] that has been fixed in
115103d5608cbe8f15df10e27eba1644f5364e95. The fix has been available in
every eventlet release since v0.27.0.
[1] https://github.com/eventlet/eventlet/issues/592
Change-Id: I1e15e9ff28b4e3ee58804d7a3f3c0162b2761d2e
... because the method may need to user some functionalities which can
be used after CONF instance is initialized and module level import
makes it difficult to guarantee the order.
Closes-Bug: #2081009
Change-Id: Id40ceab2a84bb7047dfd130bf8c1ac4c8073b79b
Add file to the reno documentation build to show release notes for
stable/2024.2.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/2024.2.
Sem-Ver: feature
Change-Id: Ide1e759907ef22a4b25fffbea7538e5af26c340c
The parameter 'name' can be used in the path or request body
in the metadata properties API. Correct three places where the
api-ref is using the in-path name definition where it should be
using the in-body name definition.
Co-authored-by: Brian Rosmaita <rosmaita.fossdev@gmail.com>
Change-Id: I7f64841a2a471f05c208c342d256dbf8560e909f
The 'compressed' container format was added by change I62159315346e
in Train, but apparently we forgot to update the api-ref.
Change-Id: I4f46e7c25606fd6da34aaaada5e40cc2e27915a6
This code was added a few years ago (see
6f63d28d9b8727409fd982d5920846a942b6d43e) to work around a circular import in
eventlet. This has been fixed in evenlet with the 0.22 release (see
commit b756447bab51046dfc6f1e0e299cc997ab343701).
Change-Id: Ia1fc03454b6a36f0280d451647a3cef92e1c6056
os.execlp() does not return if successful. From the documentation[1]:
"These functions all execute a new program, replacing the current
process; they do not return".
[1] https://docs.python.org/3/library/os.html#os.execlp
Change-Id: I03776591f225348ffda5204eddbce24b1c465753
Signed-off-by: Youngjun <yj.yoo@okestro.com>