volumes may be mounted using outdated sources with the Quobyte driver

Bug #1828993 reported by Silvan Kaiser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Silvan Kaiser

Bug Description

Changes to the 'quobyte_volume_url' parameter of the Cinder Quobyte driver may result in the Cinder driver trying to mount outdated URLs when re-exporting existing volumes.
This may occur because the outdated quobyte_volume_url is stored with the volume. While the driver initialization correctly uses the parameter from the config file, the remotefs Driver implementation, used for re-exporting, takes the value from the database.
Normally this does not cause issues because the corresponding mount is already up and running due to the driver initialization. However if the mount detection fails a second mount attempt using the outdated url is done.

Tags: quobyte
Silvan Kaiser (2-silvan)
Changed in cinder:
assignee: nobody → Silvan Kaiser (2-silvan)
Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/659265
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=674b86a5da2cfb8b294eb3296f36d5ffbb86ed4f
Submitter: Zuul
Branch: master

commit 674b86a5da2cfb8b294eb3296f36d5ffbb86ed4f
Author: Silvan Kaiser <email address hidden>
Date: Wed May 15 12:58:30 2019 +0200

    Always use the current volume URL in the Quobyte driver

    Ensure all mounts use the currently configured
    quobyte_volume_url setting.

    Closes-Bug: #1828993

    Change-Id: I109ab9b835be7bb9dbebc2d8973bad38723a93bd

Changed in cinder:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.