SVC Retype issue between different iogrps
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
In Progress
|
Undecided
|
Sharath Kacham |
Bug Description
When retype is tried between 2 iogrps and it fails during addvdiskaccess - the retype fails but the volume still remains in the target iogrp because of movevdisk done earlier.
I would suggest to do movevdisk and addvdiskaccess again for the old iogrp if retype fails
during addvdiskaccess to the target iogrp.
One of the example of error that I obtained during addvdiskaccess is:
cinder.
command: ['svctask', 'addvdiskaccess', '-iogrp', '1', '"volume-
stdout:
stderr: CMMVC8997E The host does not belong to one or more of the IO groups specified or inferred.
Now, after the above error is obtained - the volume has already moved to another iogrp - iogrp1 with the movevdisk command but the access is still not done for that volume to that iogrp. This leaves the volume in an unstable state. So, proper error handling is needed here.
Changed in cinder: | |
assignee: | nobody → Ankit Arora (aarora06) |
assignee: | Ankit Arora (aarora06) → nobody |
Fix proposed to branch: master /review. opendev. org/755241
Review: https:/