From 6857fd2d952e5602a227a5f24173c75ba3e70f7b Mon Sep 17 00:00:00 2001 From: John Garbutt Date: Wed, 29 Feb 2012 11:28:12 +0000 Subject: Fixes bug 943188 Enusre when an aggregate is re-created, it is in the created state, not just the state it was when last created. Change-Id: Ie8d63e3d334a872d52d81a9bd66730f08323d5c9 --- nova/compute/api.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/api.py b/nova/compute/api.py index 0aee6dc2f..9c5323911 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -1710,8 +1710,6 @@ class AggregateAPI(base.Base): raise exception.InvalidAggregateAction(action='delete', aggregate_id=aggregate_id, reason='not empty') - values = {'operational_state': aggregate_states.DISMISSED} - self.db.aggregate_update(context, aggregate_id, values) self.db.aggregate_delete(context, aggregate_id) def add_host_to_aggregate(self, context, aggregate_id, host): -- cgit