Cannot retype volume of lvm to volume of fujitsu

Bug #1983237 reported by zhaoleilc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Low
Unassigned

Bug Description

Description
===========
The volume of lvm cannot be retyped to volume of fujitsu
since there are values in provider_location field for both
lvm and fujitsu volumes but fujitsu drivers cannot evaluate
provider_location value of volume of lvm.

Steps to reproduce
==================
1. create a volume of lvm
2. retype that volume to fujitsu type by performing retype operation
with on-demand option for migration-policy argument.

Expected result
===============
Succeed in retyping.

Actual result
=============
Fail to retype and this volume still belongs to lvm type.

Environment
===========
The rocky branch of openstack.

Logs & Configs
==============
Traceback (most recent call last):
File "/var/lib/openstack/lib/pytnon3.8/site-packages/oslo_messaging/rpc/server.py", line 165, in _process_incoming
res = self.dispatcher.dispatch(message)
File M/var/lib/openstack/lib/pytion3.8/site-packages/oslo_messaging/rpc/dispatcher.py", line 309, in dispatch return self._do_dispatch(endpoint, method, ctxt, args)
File '7var/lib/openstack/lib/pytaon3.8/site-packages/oslo_messaging/rpc/dispatcher.py"» line 229, in _do_dispatch result = func(ctxt, **new_args)
File "/var/lib/opens•tack/lib/pytion3.8/site-packages/cinder/volun»e/manager.py", line 4140, in update_migrated_volume model_update = self.driver.update_migrated_volume(ctxt,
File "/var/lib/openstack/lib/pytnon3.8/site-packages/cinder/volume/drivers/fujitsu/eternuS—dx/eternus—dx—fc.py", line 414, in update_migrated_volume n»odel_upda te = self, common. update_migrated_volume (
File M/var/lib/openstack/lib/pytion3.8/si•te-packages/cinder7volume/drivers/fujitsu/eternus_dx/eternus_dx_common.py", line 3728, in update_migrated_volume src_location = eval(volume['provider_location,])
File "<string>", line 1
100.200.8.4:3260,1 iqn.2010-10.org.openstack:Volume-c651e8c7-b2f8-4e95-ba2f-f9ba2a252b9f 1

Changed in cinder:
importance: Undecided → Low
tags: added: drivers fujitsu lvm retype
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.