Set backend status when saving backend version of object
[plstackapi.git] / planetstack / openstack_observer / steps / sync_controller_users.py
index d97e647..d7d79f7 100644 (file)
@@ -70,6 +70,7 @@ class SyncControllerUsers(OpenStackSyncStep):
            res = run_template('sync_controller_users.yaml', user_fields,path='controller_users', expected_num=expected_length)
 
             controller_user.kuser_id = res[0]['id']
+            controller_user.backend_status = '1 - OK'
             controller_user.save()
 
     def delete_record(self, controller_user):