Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CA-86883: Detach SR if SR.destroy fails #1037

Merged

Conversation

jeromemaloberti
Copy link
Contributor

CLEARWATER

The storage backend can destroy an SR only if it is attached.
Therefore when xapi wants to destroy an SR, first it attaches it.
When the backend destroys the SR it is no longer attached.

This change adds exception handling so that if the backend fails
to destroy the SR, xapi will detach it.

The storage backend can destroy an SR only if it is attached.
Therefore when xapi wants to destroy an SR, first it attaches it.
When the backend destroys the SR it is no longer attached.

This change adds exception handling so that if the backend fails
to destroy the SR, xapi will detach it.
@thomassa
Copy link
Contributor

This is a mechanically created copy of my pull-request that made the same change in the Master (trunk-ring3) branch: #1030

malcolmcrossley pushed a commit that referenced this pull request Apr 29, 2013
CA-86883: Detach SR if SR.destroy fails
@malcolmcrossley malcolmcrossley merged commit aded660 into xapi-project:clearwater Apr 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants