I want to confirm the correct work flow for detaching a volume, Both nova
and cinder (unpublished, available through cinder.volumes.detach) provides
detach volume API. Only nova seems to have correct work flow in terms of
detaching a volume i.e.
    1) detaches the volume from the VM (libvirt.volume_detach)
    2) Informs Cinder to do Cinder-side detach
    3) delete BlockDeviceMapping from Nova DB

On the other hand cinder just modifies cinder DB entries and let's the
driver handle the detaching the volume. No API call to nova to let it know
about the volume detaching.

- Does that mean nova is the only work flow to use to correctly detach a
volume from instance?
- And cinder detach API serves only to cleanup internal state in the DB and
cinder driver?

TIA
Srini
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to