summaryrefslogtreecommitdiff
path: root/releasenotes
Commit message (Collapse)AuthorAgeFilesLines
* Imported Translations from ZanataOpenStack Proposal Bot2023-05-111-7/+7
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Ic5399869cc57661706a6e8801fcb200fbb526082
* Add force to os-brick disconnect4.4.0Brian Rosmaita2023-05-101-0/+11
| | | | | | | | | In order to be sure that devices are being removed from the host, we should be using the 'force' parameter with os-brick's disconnect_volume() method. Closes-bug: #2004555 Change-Id: I63d09ad9ef465bc154c85a9ea125449c039d1b90
* Update master for stable/2023.1OpenStack Release Bot2023-03-012-0/+7
| | | | | | | | | | | | Add file to the reno documentation build to show release notes for stable/2023.1. Use pbr instruction to increment the minor version number automatically so that master versions are higher than the versions on stable/2023.1. Sem-Ver: feature Change-Id: I9de26e99ebd9ab6bd106c7e0b10347ca572663de
* Imported Translations from ZanataOpenStack Proposal Bot2023-02-101-4/+28
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: If3f612f3ecabcd2610ea0443d3866a001dd82d0a
* Merge "Cinder: Add support to extend attached volumes"4.3.0Zuul2023-02-081-0/+10
|\
| * Cinder: Add support to extend attached volumesRajat Dhasmana2023-01-181-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While creating an image, if we want to extend the volume (to accomodate the image), we need to first detach the volume, perform the extend and attach it again. This is inefficient for backends that support extending attached volumes since we are performing 3 cinder operations (the attachment call includes 3 API calls which sum to a total of 5 API calls for 3 operations) instead of directly extending it which requires only 1 API call to cinder. The support for extending attached volumes was added in cinder microversion 3.42. This patch adds a new boolean config option ``cinder_do_extend_attached`` which allows operators to specify if the cinder backend they are using supports extending attached (in-use) volumes. By default this will be ``false``. Based on the parameter, we will perform the extend operation, online (if cinder_do_extend_attached is true) and offline otherwise. Spec: https://review.opendev.org/c/openstack/glance-specs/+/868901 Depends-On: https://review.opendev.org/c/openstack/glance/+/869021 Depends-On: https://review.opendev.org/c/openstack/cinder/+/869051 Change-Id: I5e70824e9abc5277ea25ba95704b358fe3686037
* | Merge "Rbd: Deprecate unused rados_connect_timeout"Zuul2023-02-081-0/+7
|\ \
| * | Rbd: Deprecate unused rados_connect_timeoutCyril Roelandt2022-08-041-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option determines the value we pass as the "timeout" argument to rados.Rados.connect. Unfortunately, this argument is silently ignored by librados[1]. [1] https://docs.ceph.com/en/latest/rados/api/python/#rados.Rados.connect Closes-Bug: #1983499 Change-Id: I819df987f690c7a8c0a1153ad0e30bd5dbeb7b57
* | | Imported Translations from ZanataOpenStack Proposal Bot2023-02-041-4/+15
| |/ |/| | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I7f90bb35d8de35404a4c5a8c49835ba83faba4f7
* | Refactor/restructure glance cinder storewhoami-rajat2023-01-171-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is an effort to decouple some of the cinder backend specific code (like nfs, scaleio) from the generic logic. The purpose is to make the code modular and any change for a particular cinder backend should not affect the code path of other backends thereby reducing regression. This is also required for another use case of supporting extend of attached volumes added in [1]. Following are the major changes done in this patch: 1) Move cinder store to a new directory 'cinder' and rename 'cinder.py' to 'store.py' (similar to swift) 2) Create new files for nfs and scaleio backends for moving code specific to these backends into their own separate file. This also fixes one bug when using sparse files in nfs and we wait for file size to be equal to volume size (initially done for scaleio/powerflex backend) but this will never happen for nfs sparse files. See bug: 2000584 3) Move cinder tests to 'tests/unit/cinder' directory and add tests for base, nfs and scaleio files. 4) Modify/fix existing tests Closes-Bug: #2000584 [1] https://review.opendev.org/c/openstack/glance_store/+/868742 Depends-On: https://review.opendev.org/c/openstack/glance/+/869021 Change-Id: I26c272b6c503e98fbbafca411d3eec47283bd6fc
* | Imported Translations from ZanataOpenStack Proposal Bot2022-09-161-2/+5
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I6e39ce009fe9602dd63dd0052e8925b63ade3e0f
* | Merge "Update master for stable/zed"Zuul2022-09-122-0/+7
|\ \
| * | Update master for stable/zedOpenStack Release Bot2022-09-062-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: I9745880b98acf910c4f8cf74372a7fdc9ebac582
* | | Imported Translations from ZanataOpenStack Proposal Bot2022-09-061-2/+19
|/ / | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I531c32bd0b9692efc68a3a16ad7f4eb6fa996ce0
* | Imported Translations from ZanataOpenStack Proposal Bot2022-08-241-10/+30
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8dabf5882020d5bc17007f12f1d4afd0e9ecc45c
* | Merge "Swift: Honor *_domain_name parameters"Zuul2022-08-221-0/+7
|\ \
| * | Swift: Honor *_domain_name parametersTakashi Kajinami2022-08-181-0/+7
| |/ | | | | | | | | | | | | | | | | The *_domain_id parmaeters should not have any default. Otherwise keystoneauth ignores the *_domain_name parameters and it requires only *_domain_id parameters are used. Closes-Bug: #1620999 Change-Id: I1f8c9184761313f9fc5fda2f257e52233e0196d1
* | Merge "Imported Translations from Zanata"Zuul2022-08-111-2/+78
|\ \ | |/ |/|
| * Imported Translations from ZanataOpenStack Proposal Bot2022-05-261-2/+78
| | | | | | | | | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I5e4fd429f900c33934ca34afb340f06f174616fd
* | Support os-brick specific lock_path for Cinder4.0.1Gorka Eguileor2022-07-121-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a new feature relevant for the Cinder store, os-brick now supports setting the location of file locks in a different location from the locks of the service. The functionality is intended for HCI deployments and hosts that are running Cinder and Glance using Cinder backend. In those scenarios the service can use a service specific location for its file locks while only sharing the location of os-brick with the other services. To leverage this functionality the new os-brick code is needed and method ``os_brick.setup`` needs to be called once the service configuration options have been loaded. The default value of the os-brick ``lock_path`` is the one set in ``oslo_concurrency``. This patch adds support for this new feature in a backward compatible way so code works even if using an os-brick version that doesn't have this feature. That is the case for many CI jobs that install os-brick from PyPi instead of the code present in master. Change-Id: Ib11d63e3c388e12f145f40247d17030a566b8c5e
* | Remove Python 2 supportliyou012022-05-251-8/+8
|/ | | | | | | | | Python 2 has been deprecated for almost two years, and has not been guaranteed to work with glance_store for a while. This patch removes all traces of six, unicode strings and Python 2 tweaks. Co-Authored-By: Cyril Roelandt <cyril@redhat.com> Change-Id: Ifa78924d7ecf4f2d9a54c677888ab2926530c487
* Update python testing as per zed cycle teting runtime4.0.0Ghanshyam Mann2022-05-101-0/+5
| | | | | | | | | | In Zed cycle, we have dropped the python 3.6/3.7[1] testing and its support. Moving the py36 job to py3 based so that they run on latest supported python 3. Updating the python classifier also to reflect the same. [1] https://governance.openstack.org/tc/reference/runtimes/zed.html Change-Id: Ida582daf7db6fb3cedb3c7e37fc512d094b37c6e
* Merge "Cinder: Correct exception logging during attach"Zuul2022-05-051-0/+6
|\
| * Cinder: Correct exception logging during attachwhoami-rajat2022-04-281-0/+6
| | | | | | | | | | | | | | | | | | | | There is a syntax error in the exception logging when attaching a volume fails in attachment state manager. This patch corrects it and adds a test to guard against similar changes in future. Closes-Bug: #1970698 Change-Id: I43c407046a49bb37631113e2ea65d05450f9365d
* | Correct retry interval during attach volumewhoami-rajat2022-04-181-0/+7
|/ | | | | | | | | | | | | | | | | | | | | | | | | | When we try to simultaneously attach same volume multiple times (multiattach), there are multiple attachments created, suppose attachA and attachB. If attachA marks the volume "reserved" then attachB can't proceed until the volume is in "in-use" or "available" state. We retry until we reach any of these states for which we use the retrying library. The retrying library defaults to 1 second retry[1] (5 times) which causes the original failure as the volume takes time to transition between "reserved" -> "in-use" state. This patch corrects it by adding an exponential retry time and max exponential retry i.e. 1: 2 ** 1 = 2 seconds 2: 2 ** 2 = 4 seconds 3: 2 ** 3 = 8 seconds 4: 2 ** 4 = 16 seconds (but max wait time is 10 seconds) 5: 2 ** 5 = 32 seconds (but max wait time is 10 seconds) [1] https://github.com/rholder/retrying/blob/master/retrying.py#L84 Closes-Bug: #1969373 Change-Id: I0094b044085d7f92b07ea86236de3b6efd7d67ea
* Update master for stable/yogaOpenStack Release Bot2022-02-162-0/+7
| | | | | | | | | | | | 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: I99772281621ebce5a57ddd37cee879d7cc387c47
* Cinder store: Wait for device resize3.0.0whoami-rajat2022-02-071-0/+7
| | | | | | | | | | | | | | | | | | | | | | | When we have an image with size > 1 GB, we follow the following steps to accomodate the image: 1) Detach the volume 2) extend the volume 3) Attach the volume 4) Open the volume device as a file and resume writing the image Sometimes due to several reasons (mostly network related), the size of the device file could mismatch with the actual volume size (or the backend LUN size). This can happen if the extend was performed (i.e. the control path) but it takes the time to reflect that into the mapped device (i.e. the data path). This mismatch can cause the issue "IOError: [Errno 28] No space left on device". To avoid this scenario, we check if the device size is less than the volume size, we wait for the extended LUN to show up in mapped device and then continue the image writing operation. Closes-Bug: #1959913 Change-Id: I206580f6be615ebc5e15b546b9c23728d4116a5d
* Pass valid IP address to os-brickwhoami-rajat2021-12-231-0/+6
| | | | | | | | | | | | | | | | | | | | While fetching connector information the cinder driver of glance-store is passing 'hostname' as IP address whereas it actually needs IP address. This path fetches the IPV4 or IPV6 address from the available 'hostname' and passes it to os-brick. This worked for other cinder backends which don't rely specifically on IP address for initializing connection like fibre channel, nfs etc and even for some iscsi backends since, in some environments, the hostname is same as the ip address. This is not the case always and we should pass the correct IPv4/IPv6 address of the host to avoid this issue. Closes-Bug: #1955668 Change-Id: Ic79815972e654a8bfe2775f57c68cfa0bf115e2f
* [RBD] Clone v2: Image is unusable if deletion failsAbhishek Kekane2021-12-211-0/+13
| | | | | | | | | | | | | | | | | | | | Recently cinder has utilized Ceph clone v2 support for its RBD backend, since then if you attempt to delete an image from glance that has a dependent volume, all future uses of that image will fail in error state. Despite the fact that image itself is still inside of Ceph/Glance. This issue is reproducible if you are using ceph client version greater than 'luminous' To resolve this issue glance RBD driver now checks whether snapshot of original image has any external references before deleting/removing it's snapshot and returns 409 Conflict response if it has any. NOTE: To check this dependency glance osd needs 'read' access to cinder and nova side RBD pool. Closes-Bug: #1954883 Depends-on: https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/819476 Change-Id: If30b7bd7acac148b6f89ce46abbe128c678c90e7
* Imported Translations from ZanataOpenStack Proposal Bot2021-12-111-2/+112
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I8c8283efd0e7bb030b886e4a4e27a29d56e71288
* Update master for stable/xenaOpenStack Release Bot2021-09-102-0/+7
| | | | | | | | | | | | 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: I9bda41a2d9ab44b97a1095600629ae2c048aac04
* Xena cycle Release Notes2.7.0Abhishek Kekane2021-08-181-0/+14
| | | | Change-Id: I595207658e812556d726121c1fe4400668c819ec
* Add volume multiattach handlingwhoami-rajat2021-08-121-0/+12
| | | | | | | | | | | | | | | | We implemented cinder's new attachment API support with patch[1]. It was needed to add multiattach volume handling added with this patch. There is no special configuration change or user interference needed. If a volume is of a multiattach type, then it will be handled as a multiattach volume. [1] https://review.opendev.org/c/openstack/glance_store/+/782200 Implements: blueprint attachment-api-and-multiattach-support Closes-Bug: #1904546 Change-Id: Iffb825492a20fd877476acad05f817b399072f01
* Glance cinder nfs: Block creating qcow2 volumesRajat Dhasmana2021-07-281-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | There's an issue when cinder nfs is configured as glance backend and the image is > 1GB i.e. extend operation is performed on volume. Currently glance writes the qcow2 header in the raw volume and cinder nfs driver used to work on format autodetection which is changed to manual detection here[1] This fixes the extend volume problem for raw volumes, however, if cinder nfs is configured to create qcow2 volumes then we will run into the same problem. This patch blocks creating images when the nfs volume is qcow2. Refactoring work: 1) attachment_delete call is removed in nfs related code as it was already done in the finally block 2) handle_exceptions decorator is removed from volume delete method as it raises BackendException and incase when volume is not found (possibly deleted manually), the image deletion fails so we don't want to raise any error in this case [1] https://review.opendev.org/c/openstack/cinder/+/761152 Closes-Bug: #1901138 Change-Id: I8ce6f36f1cb4b0ed6bcc5f3869fab3bb64fe3390
* Allow any Keystone domain for cinder storePavlo Shchelokovskyy2021-06-031-0/+10
| | | | | | | | | | | | | add two new config options for cinder store - cinder_store_user_domain_name - cinder_store_project_domain_name that allow to set the internal user and project to Keystone domains other that the 'Default' one. Closes-Bug: #1930299 Change-Id: I1d6c07b6c0e7e6a4da9adabaa026f024b64bb029
* Update master for stable/wallabyOpenStack Release Bot2021-03-192-0/+7
| | | | | | | | | | | | 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: I642302a357abe16562a63cd233c1526211970279
* Wallaby cycle Release Notes2.5.0Abhishek Kekane2021-03-011-0/+10
| | | | Change-Id: Ie278638466c3848c18cc353d966d2275370eaca0
* Merge "Cinder store: Use v3 API by default"Zuul2021-03-011-0/+6
|\
| * Cinder store: Use v3 API by defaultTakashi Kajinami2021-02-131-0/+6
| | | | | | | | | | | | | | | | | | | | v2 API of cinder is already deprecated, and the cinder community is now planning to remove it. This change makes cinder store use v3 API instead, which is the current latest version actively maintainced. Closes-Bug: #1915602 Change-Id: I8f374eb1b26ec408c52c6279da79cfe470d59a1c
* | Validate volume type during volume createwhoami-rajat2021-02-161-0/+12
|/ | | | | | | | | | | | | | | | | Currently when configuring multiple cinder stores, glance validates the volume types configured in glance-api.conf during service startup. This check however has a dependency on cinder API service to be up and running. During certain deployment scenarios, it is not always mandatory that cinder is already running when we are starting glance hence this check will fail the glance service hence the deployment This patch removes the startup exceptions and instead logs a warning. Also the check is done during volume create so handling for NotFound exception from cinder is also handled. Change-Id: I468523b947ad6fcff4b074d2ed1cb7a9e52b15ca Closes-Bug: #1915163
* Imported Translations from Zanata2.4.0OpenStack Proposal Bot2020-10-041-3/+73
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: Icd238d1acd2e9e5968399743225525faed2c28d3
* Update master for stable/victoriaOpenStack Release Bot2020-09-102-0/+7
| | | | | | | | | | | | 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: I3468449a517edfac288de349a4079c666a263a05 Sem-Ver: feature
* Merge "Support Cinder multiple stores"Zuul2020-08-251-0/+10
|\
| * Support Cinder multiple storeswhoami-rajat2020-08-241-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for configuring multiple cinder stores. The following changes are part of this patch: 1) location URL format: previously cinder://<volume-id>, the format is now changed to cinder://<store-name>/<volume-id> 2) Check for configured volume types: During initialization of service, all volume types configured in the cinder store(s) will be checked if they exist in deployment or not, the store with the wrong type will be disabled. if cinder store is configured using traditional/old way (i.e. using 'stores' config option) then this validation will not be performed. 3) Update legacy images: This change is partially depedent on the glance changes[1] which trigger updating the URL for legacy images and the cinder store checks the configured stores volume type against the existing image-volume's type and update it respectively. [1] https://review.opendev.org/#/c/742373/ Implements: blueprint multiple-cinder-backend-support Change-Id: I0ba36d1095886fd1d96926af37a3a65a178c004f
* | Handle sparse images in glance_storeVictor Coutellier2020-08-211-0/+15
|/ | | | | | | | | | | | | | | | Add new configuration option ``rbd_thin_provisioning`` and ``filesystem_thin_provisioning`` to rbd and filesystem store to enable or not sparse upload. A sparse file means that we do not actually write null byte sequences but only the data itself at a given offset, the "holes" which can appear will automatically be interpreted by the storage backend as null bytes, and do not really consume your storage. Change-Id: I129e30f490e3920e9093c2b793f89b70ce310a50 Co-Authored-By: Grégoire Unbekandt <gregoire.unbekandt@gmail.com> Partially Implements: blueprint handle-sparse-image
* Merge "Don't allow image creation with encrypted nfs volumes"Zuul2020-06-261-0/+6
|\
| * Don't allow image creation with encrypted nfs volumesRajat Dhasmana2020-06-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With change[1], we will enabled encrypted volume support for cinder nfs driver. Before enabling that, we require handling in cinder consuming projects (like glance_store) to not have unexpected behavior. This patch blocks image creation if the destination volume (in which the image will be written) is an encrypted nfs volume. [1] https://review.opendev.org/#/c/597148/ Closes-Bug: #1884482 Change-Id: I3b4c6782e561f22a7118624e26bf056cd6405a30
* | Release notes for Victoria Milestone 12.1.0Abhishek Kekane2020-06-221-0/+9
|/ | | | Change-Id: I8eadf775a17d9505ed5eafc54d1c4849de6f45f3
* Switch to newer openstackdocstheme and reno versionsAndreas Jaeger2020-05-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. Change pygments_style to 'native' since old theme version always used 'native' and the theme now respects the setting and using 'sphinx' can lead to some strange rendering. Remove docs requirements from lower-constraints, they are not needed during install or test but only for docs building. 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: Iee357adb23ff65e453ac627eaec0b9d7ac245ba6
* Imported Translations from ZanataOpenStack Proposal Bot2020-04-131-5/+100
| | | | | | | For more information about this automatic import see: https://docs.openstack.org/i18n/latest/reviewing-translation-import.html Change-Id: I243a6ca7919b3af029ecf25ca35285cae65d62c5