commit | 5851db49ab77fadc22f40ae4f0f1874d51850319 | [log] [tgz] |
---|---|---|
author | Sapan Bhatia <sapanb@cs.princeton.edu> | Tue Jan 27 03:52:43 2015 +0000 |
committer | Sapan Bhatia <sapanb@cs.princeton.edu> | Tue Jan 27 03:52:43 2015 +0000 |
tree | fec02360fbcc67b7b8f2e28fb109448400c4db2e | |
parent | b3048aa6a2864d29bf34bbb2999f9a14c0d356b5 [diff] [blame] |
Set backend status when saving backend version of object
diff --git a/planetstack/openstack_observer/steps/sync_controller_slices.py b/planetstack/openstack_observer/steps/sync_controller_slices.py index 5440ac9..9e47669 100644 --- a/planetstack/openstack_observer/steps/sync_controller_slices.py +++ b/planetstack/openstack_observer/steps/sync_controller_slices.py
@@ -62,6 +62,7 @@ raise Exception('Could not update quota for %s'%controller_slice.slice.name) controller_slice.tenant_id = tenant_id + controller_slice.backend_status = '1 - OK' controller_slice.save()