Issue Details (XML | Word | Printable)

Key: ABICLOUD-289
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Jaume Devesa
Reporter: Jaume Devesa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
abicloud

Delete a Physical Machine throws an exception. Can not delete its Virtual Machines

Created: 22/Oct/09 02:12 PM   Updated: 26/Oct/09 03:44 PM
Component/s: server
Affects Version/s: abicloud-1.0.0PR2
Fix Version/s: abicloud-1.0.0-RC1

Time Tracking:
Not Specified


 Description  « Hide
Delete a Physical Machine throws an Exception because the query to get all its virtual machines is wrong. Previously, the request was to delete all of its virtual machines, but now we will block the delete:

- We can only delete physical machines if and only if it has not any virtual machine deployed in it!

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jaume Devesa added a comment - 26/Oct/09 03:44 PM
I've changed the policies to delete a Physical Machine (now, if there is any virtual machine deployed, we can not delete the physical one) and Physical Datacenter (if there is any Virtual Datacenter created, we can not delete the physical one). Before it was a kind of 'delete on cascade' where to Delete the physical entities caused to delete the virtual entities.

Now is restrictive.