Bug 1888011
Summary: | When flattening RBD images, cinder-volume losses connectivity to rabbitmq due to client heartbeat timeout | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Eric Harney <eharney> |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
Status: | CLOSED ERRATA | QA Contact: | Tzach Shefi <tshefi> |
Severity: | medium | Docs Contact: | Chuck Copello <ccopello> |
Priority: | medium | ||
Version: | 16.1 (Train) | CC: | abishop, chrisbro, dhill, gcharot, irichart, senrique, tkajinam |
Target Milestone: | z3 | Keywords: | Triaged, ZStream |
Target Release: | 16.1 (Train on RHEL 8.2) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-cinder-15.3.1-1.20200915213430.8181c4b.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-15 18:37:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1885734, 1894303 |
Description
Eric Harney
2020-10-13 19:44:17 UTC
*** Bug 1894303 has been marked as a duplicate of this bug. *** Verified on: openstack-cinder-15.3.1-5.el8ost.noarch Created a Cinder volume volA, filled it with some data. (overcloud) [stack@undercloud-0 ~]$ cinder create 1 --source-volid f135f778-fab3-44d1-901d-22c0e1330919 --name volB+--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2020-11-18T19:24:13.000000 | | description | None | | encrypted | False | | id | 015b6c15-6134-4e3b-a747-157fc7c85ec4 | | metadata | {} | | migration_status | None | | multiattach | False | | name | volB | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 23cfee0f63b44e31a44761d5da636209 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | f135f778-fab3-44d1-901d-22c0e1330919 | | status | creating | | updated_at | None | | user_id | cdb4cc954bc14b1db71b5b14fe87fa2c | | volume_type | tripleo | +--------------------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder create 1 --source-volid 015b6c15-6134-4e3b-a747-157fc7c85ec4 --name volC +--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2020-11-18T19:25:08.000000 | | description | None | | encrypted | False | | id | 2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 | | metadata | {} | | migration_status | None | | multiattach | False | | name | volC | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 23cfee0f63b44e31a44761d5da636209 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | 015b6c15-6134-4e3b-a747-157fc7c85ec4 | | status | creating | | updated_at | None | | user_id | cdb4cc954bc14b1db71b5b14fe87fa2c | | volume_type | tripleo | +--------------------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder create 1 --source-volid 2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 --name volD +--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2020-11-18T19:25:34.000000 | | description | None | | encrypted | False | | id | bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f | | metadata | {} | | migration_status | None | | multiattach | False | | name | volD | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 23cfee0f63b44e31a44761d5da636209 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | 2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 | | status | creating | | updated_at | None | | user_id | cdb4cc954bc14b1db71b5b14fe87fa2c | | volume_type | tripleo | +--------------------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder create 1 --source-volid bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f --name volE +--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2020-11-18T19:25:58.000000 | | description | None | | encrypted | False | | id | 73a45018-6664-491a-b754-9c59be267807 | | metadata | {} | | migration_status | None | | multiattach | False | | name | volE | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 23cfee0f63b44e31a44761d5da636209 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f | | status | creating | | updated_at | None | | user_id | cdb4cc954bc14b1db71b5b14fe87fa2c | | volume_type | tripleo | +--------------------------------+--------------------------------------+ (overcloud) [stack@undercloud-0 ~]$ cinder create 1 --source-volid 73a45018-6664-491a-b754-9c59be267807 --name volF +--------------------------------+--------------------------------------+ | Property | Value | +--------------------------------+--------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2020-11-18T19:26:16.000000 | | description | None | | encrypted | False | | id | 3f9356de-e3ab-4d0b-a2c9-7d02bc26a68c | | metadata | {} | | migration_status | None | | multiattach | False | | name | volF | | os-vol-host-attr:host | None | | os-vol-mig-status-attr:migstat | None | | os-vol-mig-status-attr:name_id | None | | os-vol-tenant-attr:tenant_id | 23cfee0f63b44e31a44761d5da636209 | | replication_status | None | | size | 1 | | snapshot_id | None | | source_volid | 73a45018-6664-491a-b754-9c59be267807 | | status | creating | | updated_at | None | | user_id | cdb4cc954bc14b1db71b5b14fe87fa2c | | volume_type | tripleo | +--------------------------------+--------------------------------------+ Once we passed the depth of 5 clones with volF,we noticed the flatten operation on c-vol. Also per bz verification no errors or tracebacks show up now, which did happen before the fix. C-vol log reports: 2020-11-18 19:22:33.934 7 DEBUG oslo_service.service [req-d64dbea1-34f3-4e6e-a319-ad94e6c21036 - - - - -] backend_defaults.rbd_max_clone_depth = 5 log_opt_values /usr/lib/python3.6/site-packages/oslo_config/cfg.py:2589 [root@controller-2 ~]# grep depth /var/log/containers/cinder/cinder-volume.log 2020-11-18 18:18:56.561 39 INFO cinder.volume.drivers.rbd [req-abc397a1-4c67-4c56-be7f-6456b204876d cdb4cc954bc14b1db71b5b14fe87fa2c 23cfee0f63b44e31a44761d5da636209 - default default] maximum clone depth (1) has been reached - flattening dest volume 2020-11-18 18:20:04.989 39 INFO cinder.volume.drivers.rbd [req-b5fe1c63-69d0-421a-ac6c-068e065bedfb cdb4cc954bc14b1db71b5b14fe87fa2c 23cfee0f63b44e31a44761d5da636209 - default default] maximum clone depth (1) has been reached - flattening dest volume Flatting works, we have no errors or traceback on c-vol log. Ceph backend: [root@controller-2 /]# rbd -p volumes ls -l NAME SIZE PARENT FMT PROT LOCK volume-015b6c15-6134-4e3b-a747-157fc7c85ec4 1 GiB volumes/volume-f135f778-fab3-44d1-901d-22c0e1330919 2 volume-015b6c15-6134-4e3b-a747-157fc7c85ec4 1 GiB volumes/volume-f135f778-fab3-44d1-901d-22c0e1330919 2 yes volume-0a6b6446-4717-453b-b7f6-c92155665a28.deleted 1 GiB 2 volume-2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 1 GiB volumes/volume-015b6c15-6134-4e3b-a747-157fc7c85ec4 2 volume-2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 1 GiB volumes/volume-015b6c15-6134-4e3b-a747-157fc7c85ec4 2 yes volume-3f9356de-e3ab-4d0b-a2c9-7d02bc26a68c 1 GiB volumes/volume-73a45018-6664-491a-b754-9c59be267807 2 volume-73a45018-6664-491a-b754-9c59be267807 1 GiB volumes/volume-bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f 2 volume-73a45018-6664-491a-b754-9c59be267807 1 GiB volumes/volume-bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f 2 yes volume-bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f 1 GiB volumes/volume-2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 2 volume-bc1896a6-6fc0-4f54-a89f-ff0e68ec4b8f 1 GiB volumes/volume-2dbbdd5d-ff22-4fe9-9861-9ca8b39285d8 2 yes volume-f135f778-fab3-44d1-901d-22c0e1330919 1 GiB 2 volume-f135f778-fab3-44d1-901d-22c0e1330919 1 GiB 2 yes 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 (Red Hat OpenStack Platform 16.1.3 bug fix and enhancement 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/RHEA-2020:5413 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days |