Bug 1719755 - [RHOSP 14] Create new image volume cache entry when cloning fails
Summary: [RHOSP 14] Create new image volume cache entry when cloning fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Pablo Caruana
QA Contact: Tzach Shefi
Tana
URL:
Whiteboard:
Depends On:
Blocks: 1717727
TreeView+ depends on / blocked
 
Reported: 2019-06-12 13:24 UTC by Pablo Caruana
Modified: 2019-09-03 15:22 UTC (History)
4 users (show)

Fixed In Version: openstack-cinder-13.0.5-4.el7ost
Doc Type: Bug Fix
Doc Text:
With this patch, a new Image cache entry is created when cloning an existing entry fails, as can happen when a cached volume reaches its snapshot limit. This allows the user to maintain the performance advantages of having the image cache.
Clone Of: 1717727
Environment:
Last Closed: 2019-09-03 15:22:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1801595 0 None None None 2019-06-12 13:24:40 UTC
OpenStack gerrit 663514 0 None None None 2019-06-12 13:24:40 UTC
Red Hat Product Errata RHBA-2019:2618 0 None None None 2019-09-03 15:22:29 UTC

Description Pablo Caruana 2019-06-12 13:24:40 UTC
+++ This bug was initially created as a clone of Bug #1717727 +++

Description of problem:

When  enabling image cache feature in cinder, cinder create an image cache volume in storage and create a volume by cloning that image cache volume.

In current RHOSP14, when cinder fails to create an cloned volume from the existing image cache volume, it retrieves image from glance but does never recreate it.

This causes a problem when using XtremIO as cinder backend, as XtremIO has a snapshot limit per volume group, which prevents that cloning when having a  number of volumes already created from the same image cache volume.

There is a bug report on launchpad[1], and the stable/rocky fix is already merged in master [2].

[1] https://bugs.launchpad.net/cinder/+bug/1801595
[2] https://review.opendev.org/#/c/663514/



How reproducible:
Always

Steps to Reproduce:
1. Configure XtremIO cinder backend and image cache enabled
2. Create 100(=xtremio_volumes_per_glance_cache) volumes from the same image
3. Again create some volumes from the same image

Actual results:
- Cinder always retrieves an image from glance

Expected results:
- Cinder creates a new image cache volume and create volumes using it.

Comment 9 errata-xmlrpc 2019-09-03 15:22:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:2618


Note You need to log in before you can comment on or make changes to this bug.