NFS update_migrated_volume should print a better message

Bug #1825029 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Eric Harney

Bug Description

try:
    os.rename(current_path, original_path)
except OSError:
    LOG.error('Unable to rename the logical volume '
              'for volume: %s', volume.id)

This should log errno, so it's possible to find out more about the error here.

Tags: drivers nfs
Changed in cinder:
assignee: nobody → Eric Harney (eharney)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.opendev.org/653074
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=326d2bcb9b8dbffc003b07243649dfbce69b3c67
Submitter: Zuul
Branch: master

commit 326d2bcb9b8dbffc003b07243649dfbce69b3c67
Author: Eric Harney <email address hidden>
Date: Tue Apr 16 14:22:52 2019 -0400

    NFS: Log exception when update_migrated_volume fails

    There isn't enough log context here to debug
    some failures, ensure that the OSError exception
    information is logged to provide sufficient info.

    Closes-Bug: #1825029
    Change-Id: Ie499f7d914848b185531f101be49424fe8c64da6

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/cinder 15.0.0.0rc1

This issue was fixed in the openstack/cinder 15.0.0.0rc1 release candidate.

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.