'Delete a volume, bypassing the check that it must be available.'

@args('volume_id', help='Volume    ID    to    be    deleted')
def delete(self, volume_id):

    ctxt = context.get_admin_context()
    volume = objects.Volume.get_by_id(ctxt, volume_id)
    host = (vutils.extract_host(volume.host) if volume.host else None)
    if (not host):
        print(_('Volume    not    yet    assigned    to    host.'))
        print(_('Deleting    volume    from    database    and    skipping    rpc.'))
        volume.destroy()
        return
    if (volume.status == 'in-use'):
        print(_('Volume    is    in-use.'))
        print(_('Detach    volume    from    instance    and    then    try    again.'))
        return
    cctxt = self._rpc_client().prepare(server=host)
    cctxt.cast(ctxt, 'delete_volume', volume_id=volume.id, volume=volume)
