nova-manage volume_attachment refresh not setting mount_point or mode on the new attachment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Lee Yarwood |
Bug Description
Description
===========
$subject, when refreshing a volume attachment this nova-manage command actually recreates the volume attachment from scratch. Previously it would do so without updating the attachment with the optional mountpoint within the connector.
$ nova-manage volume_attachment refresh 74adb548-
$ openstack volume show 02a27e61-
{
"id": "02a27e61-
"server_id": "74adb548-
"volume_id": "02a27e61-
"device": "na",
"mode": null
}
Steps to reproduce
==================
* Refresh a volume attachment using nova-manage
Expected result
===============
mountpoint/device set on the attachment in cinder.
Actual result
=============
mountpoint/device not set on the attachment in cinder.
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
master
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
libvirt
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
N/A
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
N/A
Logs & Configs
==============
Fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /811713
Review: https:/