openstack4j
openstack4j copied to clipboard
MigrationStatus lost
MigrationStatus enums in class org.openstack4j.model.storage.block.Volume is not complete, which losing :DELETING,ERROR,SUCCESS
Which REST API does this operation refer to ?
‘/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
Where can I find all the status of this field. Can you provide a link to the details of this API ?
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
Hey the link to the correct enum is here: https://github.com/openstack/cinder/blob/393c2e4ad90c05ebf28cc3a2c65811d7e1e0bc18/cinder/objects/fields.py#L204