4.nova检查卷的状态,若volume[‘status‘]!=‘available‘,抛出400异常,异常信息为:status must be ‘available‘,一个典型的错误信息如下:
ERROR (BadRequest): Invalid volume: status must be ‘available‘ (HTTP 400)
若volume[‘status‘]==‘attached‘,抛出ERROR (BadRequest): Invalid volume: already attached (HTTP 400)