if volume_id is not correct in connection_info will cause faile when extend volume about existing instance

Bug #2006074 reported by yzp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
yzp

Bug Description

After executing cinder retype, the serial_id of the connection_info is
not equal to the volume_id about existing instance, which makes cinder extend action failed and report an error VolumeNotFound.

yzp (yangzhip)
Changed in nova:
assignee: nobody → yzp (yangzhip)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/872726

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by "yzp <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/nova/+/872726

yzp (yangzhip)
summary: if volume_id is not correct in connection_info will cause faile when
- extend volume
+ extend volume about existing instance
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/nova/+/872728

Revision history for this message
Ilya Popov (ilya-p) wrote :

Hello !

If you want to fix existing VM - you can try to do the following:

First approach:
1. Detach and attach volume to VM (attachment info and bdm will be updated)

Second approach(without detaching disk):
1. Apply fix from https://review.opendev.org/c/openstack/nova/+/807025
2. Retype disk back to the source volume_type and after return it to destination volume_type
3. Extend disk as usual

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.