nova-manage: Ensure mountpoint is passed when updating attachment
This optional kwarg to the nova.volume.cinder.API.attachment_update
method ends up stashed in the connector passed to c-api and sets the
device associated with the attachment within Cinder. While this being
unset has no real world impact it should be kept the same as the
original attachment for completeness.
The Cinder fixture is extended to mimic the behaviour of
nova.volume.cinder.API.attachment_update prior to calling Cinder
allowing us to assert the value stashed in the connector and attachment
record.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /811713 /opendev. org/openstack/ nova/commit/ d59188d5e2db3d7 d33f9da0c254610 1747da6423
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit d59188d5e2db3d7 d33f9da0c254610 1747da6423
Author: Lee Yarwood <email address hidden>
Date: Wed Sep 29 11:25:18 2021 +0100
nova-manage: Ensure mountpoint is passed when updating attachment
This optional kwarg to the nova.volume. cinder. API.attachment_ update
method ends up stashed in the connector passed to c-api and sets the
device associated with the attachment within Cinder. While this being
unset has no real world impact it should be kept the same as the
original attachment for completeness.
The Cinder fixture is extended to mimic the behaviour of volume. cinder. API.attachment_ update prior to calling Cinder
nova.
allowing us to assert the value stashed in the connector and attachment
record.
Closes-Bug: #1945450 2dd466aae41700f 350d2d34418
Change-Id: Ib2938a407598bf