NetApp ONTAP driver shows type error exception when replicating FlexGroups
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Low
|
Luisa |
Bug Description
Description
===========
The get_volume_state function accepts two arguments: name and junction_path. However, its been called with a wrong parameter name, flexvol_name, at _wait_volume_
This raises a type error exception on NetApp driver.
Steps to reproduce
==================
[Requires a flexgroup replication environment on OTAP]
* Setup a flexgroup on SVM A
* Setup SVM B as a replica for SVM A
* Create a peer for snapmirror applications between SVM A and SVM B
* Run or restart cinder
Expected result
===============
Replica on SVM B sucessfully created without any errors on cinder-volume log.
Actual result
=============
The replica on SVM is created, but get_volume_state() fails with the following message on cinder-volume log: "got an unexpected keyword argument 'flexvol_name'"
Proposed solution
==================
On cinder/
Changed in cinder: | |
importance: | Undecided → Low |
tags: | added: netapp ontap type-error |
Fix proposed to branch: master /review. opendev. org/c/openstack /cinder/ +/826350
Review: https:/