openstack4j icon indicating copy to clipboard operation
openstack4j copied to clipboard

MigrationStatus lost

Open hoteam opened this issue 4 years ago • 5 comments

MigrationStatus enums in class org.openstack4j.model.storage.block.Volume is not complete, which losing :DELETING,ERROR,SUCCESS

hoteam avatar Nov 10 '20 03:11 hoteam

Which REST API does this operation refer to ?

bboyHan avatar Nov 10 '20 13:11 bboyHan

‘/volumes/detail’ in class BlockVolumeServiceImpl which convert the response into Volume object . It will occur an exception when the response has DELETING,ERROR,SUCCESS MigrationStatus

hoteam avatar Nov 11 '20 15:11 hoteam

Where can I find all the status of this field. Can you provide a link to the details of this API ?

bboyHan avatar Nov 22 '20 10:11 bboyHan

I am also having issues with missing values from migration status. Openstack doesn't clearly say what are All possible statuses, but please add at least the ones we know exist - None, deleting, error, success. Source: openstack migrate a volume Thanks

simosda avatar Apr 23 '21 10:04 simosda

Hey the link to the correct enum is here: https://github.com/openstack/cinder/blob/393c2e4ad90c05ebf28cc3a2c65811d7e1e0bc18/cinder/objects/fields.py#L204

cpolzer avatar Feb 17 '22 12:02 cpolzer