Bug 1456384
Summary: | Cinder backup using NFS backend will be overwritten if same container is used | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Gorka Eguileor <geguileo> | ||||||
Component: | openstack-cinder | Assignee: | Gorka Eguileor <geguileo> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Avi Avraham <aavraham> | ||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 10.0 (Newton) | CC: | aavraham, cchen, egafford, eharney, geguileo, ikedajnk, kajinamit, kawamurayus, knakai, mfuruta, pgrist, samccann, scohen, skinjo, srevivo, tbarron, vcojot | ||||||
Target Milestone: | z4 | Keywords: | Triaged, ZStream | ||||||
Target Release: | 10.0 (Newton) | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | openstack-cinder-9.1.4-4.el7ost | Doc Type: | Bug Fix | ||||||
Doc Text: |
Cause:
Backups on the NFS backend shared the same "backup" prefix.
Consequence:
If two different backups shared the same container, the backups overwrite each other's data.
Fix:
Generate the backup prefix based on the backup UUID and the volume ID.
Result:
Backup data will no longer get overwritten.
|
Story Points: | --- | ||||||
Clone Of: | 1370932 | Environment: | |||||||
Last Closed: | 2017-09-06 17:16:50 UTC | Type: | Bug | ||||||
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: | 1456381 | ||||||||
Bug Blocks: | 1370932, 1456387 | ||||||||
Attachments: |
|
Comment 1
Red Hat Bugzilla Rules Engine
2017-05-29 09:38:24 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release. The fix was verified on RHOS10 system The relevant rpm packages ware upgraded manually on RHOS10 system tests ware performed as described in the bug description 3 backup made and each backup been restored and the volume content was check to be as is at the time of the backup created. Many thanks Avi. This one is approved to go out as a hotfix on OSP10 and I will start the process now. Created attachment 1314732 [details]
log file from bug testing
Created attachment 1314739 [details]
volume log
Bug was successfully verified according to test case RHELOSP-27027 Setup Cinder backend LVM and backup backend is NFS rpm version: [root@controller-0 ~]# rpm -q openstack-cinder openstack-cinder-9.1.4-6.el7ost.noarch 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-2017:2660 |