Issue Details (XML | Word | Printable)

Key: ABICLOUD-189
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Pedro Navarro Pérez
Reporter: Pedro Navarro Pérez
Votes: 0
Watchers: 0
Operations

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

The physical resources consumed by the virtual machine when a node is deleted when the virtual app is running are not roll back

Created: 17/Sep/09 12:07 PM   Updated: 19/Oct/09 12:31 PM
Component/s: server
Affects Version/s: abiCloud 0.6.1
Fix Version/s: abicloud-1.0.0PR

Time Tracking:
Not Specified

Environment: VirtualApplianceCommand#editVirtualAppliance


 Description  « Hide
The physical resources consumed by the virtual machine when a node is deleted when the virtual app is running are not roll back.

How to detect it:

1. Create a virtual app, drag a virtual image
2. Power on the virtual app
3. Add another virtual image
4. Delete one virtual image
5. Check the phisical machine database and inspect the Xused resource tables

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Xavier Fernandez added a comment - 09/Oct/09 07:06 AM
This issue must be solved


I have a proposal (To improve it)

I think that for used resource we haven't to + or - the used resources.

Maybe is better to execute this query when we modify/create/delete a vm or vappliance (Check the disponibility)

select ram, cpu, hd from vm where hypervisor = x and state!= not deployed (Not deployed it's not necessary but is to assure)

Update physicalMachine set ramused = ram, cpuused=cpu, hdused = hd where hypervisor = x


We will assure to update correctly the value or solve a data inconsistency